Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CC_TelecommandFactory Class Reference
[Telecommand Management]

#include <CC_TelecommandFactory.h>

Inheritance diagram for CC_TelecommandFactory:

CC_RootObject List of all members.

Detailed Description

Dynamic factory for components of type: Telecommand.

A dynamic factory is a component that manages a pool of instances of components of a certain type. Clients of the factory can require one of these instances at run-time. After the factory hands over a component instance to its client, the instance is marked as "in use" and cannot be given to any other clients. When the requesting client has finished using the instance, it should release it by marking it as "no longer in use". This will allow the factory to make it available to other clients that request it. The "in use" status of the component instances is controlled through method setInUse declared on the component instances.

A dynamic factory is configured in two steps. The first step is performed by the factory constructor when the internal data structures to hold the component instances are created. The second step is performed during application initialization when the component instances are loaded in the factory. Reconfiguration at run time during normal application operation is not allowed.

Dynamic factories are implemented as singletons. They can exist in one single instance that can be accessed through the getInstance method. The one single instance of the class is created the first time that method getInstance is called. In order to avoid possible disruptions of real-time behaviour, applications should ensure that this method has been called at least once before the application enters its operational phase.

This factory manages the following component instances:<ul> Number of instances of type DC_DummyPUSTelecommand: 1 Number of instances of type DC_DummyTelecommand: 2 Number of instances of type DC_PUSControlDataReporting: 1 Number of instances of type DC_PUSDefineDataReporting: 1 Number of instances of type DC_PUSDumpMemoryAbsolute: 1 Number of instances of type DC_PUSDumpMemoryOffset: 1 Number of instances of type DC_PUSMemoryLoadAbsolute: 2 Number of instances of type DC_PUSMemoryLoadOffset: 1 Number of instances of type DC_TestPUSTelecommand: 3 The code for this class was automatically generated by an XSL program processing the XML-based application model.

See also:
Telecommand
Author:
Automatically Generated Class
Version:
1.0

Definition at line 69 of file CC_TelecommandFactory.h.

Public Member Functions

virtual bool isObjectConfigured ()
 Check that all component instances required by the factory have been loaded.

void setTelecommand (unsigned int i, DC_DummyPUSTelecommand *pItem)
 Load one instance of type DC_DummyPUSTelecommand in the factory.

unsigned int getNumberDummyPUSTelecommand (void)
 Return the number of component instances of type DC_DummyPUSTelecommand that are currently allocated.

unsigned int getCapacityDummyPUSTelecommand (void)
 Return the number of component instances of type DC_DummyPUSTelecommand that are in the factory.

DC_DummyPUSTelecommandallocateDummyPUSTelecommand ()
 Allocate one instance of type DC_DummyPUSTelecommand.

bool isFreeDummyPUSTelecommand ()
 Check whether a non-allocated component instance of type DC_DummyPUSTelecommand is available within the factory.

void setTelecommand (unsigned int i, DC_DummyTelecommand *pItem)
 Load one instance of type DC_DummyTelecommand in the factory.

unsigned int getNumberDummyTelecommand (void)
 Return the number of component instances of type DC_DummyTelecommand that are currently allocated.

unsigned int getCapacityDummyTelecommand (void)
 Return the number of component instances of type DC_DummyTelecommand that are in the factory.

DC_DummyTelecommandallocateDummyTelecommand ()
 Allocate one instance of type DC_DummyTelecommand.

bool isFreeDummyTelecommand ()
 Check whether a non-allocated component instance of type DC_DummyTelecommand is available within the factory.

void setTelecommand (unsigned int i, DC_PUSControlDataReporting *pItem)
 Load one instance of type DC_PUSControlDataReporting in the factory.

unsigned int getNumberPUSControlDataReporting (void)
 Return the number of component instances of type DC_PUSControlDataReporting that are currently allocated.

unsigned int getCapacityPUSControlDataReporting (void)
 Return the number of component instances of type DC_PUSControlDataReporting that are in the factory.

DC_PUSControlDataReportingallocatePUSControlDataReporting (unsigned int MaxNumberSID)
 Allocate one instance of type DC_PUSControlDataReporting.

bool isFreePUSControlDataReporting (unsigned int MaxNumberSID)
 Check whether a non-allocated component instance of type DC_PUSControlDataReporting is available within the factory.

void setTelecommand (unsigned int i, DC_PUSDefineDataReporting *pItem)
 Load one instance of type DC_PUSDefineDataReporting in the factory.

unsigned int getNumberPUSDefineDataReporting (void)
 Return the number of component instances of type DC_PUSDefineDataReporting that are currently allocated.

unsigned int getCapacityPUSDefineDataReporting (void)
 Return the number of component instances of type DC_PUSDefineDataReporting that are in the factory.

DC_PUSDefineDataReportingallocatePUSDefineDataReporting (unsigned int NumberOfRawData)
 Allocate one instance of type DC_PUSDefineDataReporting.

bool isFreePUSDefineDataReporting (unsigned int NumberOfRawData)
 Check whether a non-allocated component instance of type DC_PUSDefineDataReporting is available within the factory.

void setTelecommand (unsigned int i, DC_PUSDumpMemoryAbsolute *pItem)
 Load one instance of type DC_PUSDumpMemoryAbsolute in the factory.

unsigned int getNumberPUSDumpMemoryAbsolute (void)
 Return the number of component instances of type DC_PUSDumpMemoryAbsolute that are currently allocated.

unsigned int getCapacityPUSDumpMemoryAbsolute (void)
 Return the number of component instances of type DC_PUSDumpMemoryAbsolute that are in the factory.

DC_PUSDumpMemoryAbsoluteallocatePUSDumpMemoryAbsolute (unsigned int NumberOfRawData)
 Allocate one instance of type DC_PUSDumpMemoryAbsolute.

bool isFreePUSDumpMemoryAbsolute (unsigned int NumberOfRawData)
 Check whether a non-allocated component instance of type DC_PUSDumpMemoryAbsolute is available within the factory.

void setTelecommand (unsigned int i, DC_PUSDumpMemoryOffset *pItem)
 Load one instance of type DC_PUSDumpMemoryOffset in the factory.

unsigned int getNumberPUSDumpMemoryOffset (void)
 Return the number of component instances of type DC_PUSDumpMemoryOffset that are currently allocated.

unsigned int getCapacityPUSDumpMemoryOffset (void)
 Return the number of component instances of type DC_PUSDumpMemoryOffset that are in the factory.

DC_PUSDumpMemoryOffsetallocatePUSDumpMemoryOffset (unsigned int NumberOfRawData)
 Allocate one instance of type DC_PUSDumpMemoryOffset.

bool isFreePUSDumpMemoryOffset (unsigned int NumberOfRawData)
 Check whether a non-allocated component instance of type DC_PUSDumpMemoryOffset is available within the factory.

void setTelecommand (unsigned int i, DC_PUSMemoryLoadAbsolute *pItem)
 Load one instance of type DC_PUSMemoryLoadAbsolute in the factory.

unsigned int getNumberPUSMemoryLoadAbsolute (void)
 Return the number of component instances of type DC_PUSMemoryLoadAbsolute that are currently allocated.

unsigned int getCapacityPUSMemoryLoadAbsolute (void)
 Return the number of component instances of type DC_PUSMemoryLoadAbsolute that are in the factory.

DC_PUSMemoryLoadAbsoluteallocatePUSMemoryLoadAbsolute (unsigned int MaxNumberData, unsigned int MaxNumberBlocks)
 Allocate one instance of type DC_PUSMemoryLoadAbsolute.

bool isFreePUSMemoryLoadAbsolute (unsigned int MaxNumberData, unsigned int MaxNumberBlocks)
 Check whether a non-allocated component instance of type DC_PUSMemoryLoadAbsolute is available within the factory.

void setTelecommand (unsigned int i, DC_PUSMemoryLoadOffset *pItem)
 Load one instance of type DC_PUSMemoryLoadOffset in the factory.

unsigned int getNumberPUSMemoryLoadOffset (void)
 Return the number of component instances of type DC_PUSMemoryLoadOffset that are currently allocated.

unsigned int getCapacityPUSMemoryLoadOffset (void)
 Return the number of component instances of type DC_PUSMemoryLoadOffset that are in the factory.

DC_PUSMemoryLoadOffsetallocatePUSMemoryLoadOffset (unsigned int MaxNumberData, unsigned int MaxNumberBlocks)
 Allocate one instance of type DC_PUSMemoryLoadOffset.

bool isFreePUSMemoryLoadOffset (unsigned int MaxNumberData, unsigned int MaxNumberBlocks)
 Check whether a non-allocated component instance of type DC_PUSMemoryLoadOffset is available within the factory.

void setTelecommand (unsigned int i, DC_TestPUSTelecommand *pItem)
 Load one instance of type DC_TestPUSTelecommand in the factory.

unsigned int getNumberTestPUSTelecommand (void)
 Return the number of component instances of type DC_TestPUSTelecommand that are currently allocated.

unsigned int getCapacityTestPUSTelecommand (void)
 Return the number of component instances of type DC_TestPUSTelecommand that are in the factory.

DC_TestPUSTelecommandallocateTestPUSTelecommand ()
 Allocate one instance of type DC_TestPUSTelecommand.

bool isFreeTestPUSTelecommand ()
 Check whether a non-allocated component instance of type DC_TestPUSTelecommand is available within the factory.


Static Public Member Functions

CC_TelecommandFactorygetInstance (void)
 Get the single instance of this singleton class.


Protected Member Functions

 CC_TelecommandFactory (void)
 Instantiate the factory component.


Constructor & Destructor Documentation

CC_TelecommandFactory::CC_TelecommandFactory void   )  [protected]
 

Instantiate the factory component.

The class identifier is set and the internal data structures to hold the component instances managed by the factory are created. This constructor is defined to be protected because this is a singleton class.

Definition at line 29 of file CC_TelecommandFactory.cpp.


Member Function Documentation

DC_DummyPUSTelecommand * CC_TelecommandFactory::allocateDummyPUSTelecommand  ) 
 

Allocate one instance of type DC_DummyPUSTelecommand.

This method scans all the entries in the factory of type DC_DummyPUSTelecommand and returns the first one which is not in use. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Returns:
the allocated component instance or null if no free instances were found

Definition at line 179 of file CC_TelecommandFactory.cpp.

DC_DummyTelecommand * CC_TelecommandFactory::allocateDummyTelecommand  ) 
 

Allocate one instance of type DC_DummyTelecommand.

This method scans all the entries in the factory of type DC_DummyTelecommand and returns the first one which is not in use. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Returns:
the allocated component instance or null if no free instances were found

Definition at line 219 of file CC_TelecommandFactory.cpp.

DC_PUSControlDataReporting * CC_TelecommandFactory::allocatePUSControlDataReporting unsigned int  MaxNumberSID  ) 
 

Allocate one instance of type DC_PUSControlDataReporting.

This method scans all the entries in the factory of type DC_PUSControlDataReporting and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: MaxNumberSID. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
MaxNumberSID minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 259 of file CC_TelecommandFactory.cpp.

DC_PUSDefineDataReporting * CC_TelecommandFactory::allocatePUSDefineDataReporting unsigned int  NumberOfRawData  ) 
 

Allocate one instance of type DC_PUSDefineDataReporting.

This method scans all the entries in the factory of type DC_PUSDefineDataReporting and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: NumberOfRawData. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 301 of file CC_TelecommandFactory.cpp.

DC_PUSDumpMemoryAbsolute * CC_TelecommandFactory::allocatePUSDumpMemoryAbsolute unsigned int  NumberOfRawData  ) 
 

Allocate one instance of type DC_PUSDumpMemoryAbsolute.

This method scans all the entries in the factory of type DC_PUSDumpMemoryAbsolute and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: NumberOfRawData. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 343 of file CC_TelecommandFactory.cpp.

DC_PUSDumpMemoryOffset * CC_TelecommandFactory::allocatePUSDumpMemoryOffset unsigned int  NumberOfRawData  ) 
 

Allocate one instance of type DC_PUSDumpMemoryOffset.

This method scans all the entries in the factory of type DC_PUSDumpMemoryOffset and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: NumberOfRawData. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 385 of file CC_TelecommandFactory.cpp.

DC_PUSMemoryLoadAbsolute * CC_TelecommandFactory::allocatePUSMemoryLoadAbsolute unsigned int  MaxNumberData,
unsigned int  MaxNumberBlocks
 

Allocate one instance of type DC_PUSMemoryLoadAbsolute.

This method scans all the entries in the factory of type DC_PUSMemoryLoadAbsolute and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: MaxNumberData, MaxNumberBlocks. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
MaxNumberData minimum value for a component configuration parameter
MaxNumberBlocks minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 427 of file CC_TelecommandFactory.cpp.

DC_PUSMemoryLoadOffset * CC_TelecommandFactory::allocatePUSMemoryLoadOffset unsigned int  MaxNumberData,
unsigned int  MaxNumberBlocks
 

Allocate one instance of type DC_PUSMemoryLoadOffset.

This method scans all the entries in the factory of type DC_PUSMemoryLoadOffset and returns the first one which is not in use. In addition to verifyin that the returned component is not in use, this method also performs a check on the value of the component configuration parameters. The folloging configuration parameters are checked: MaxNumberData, MaxNumberBlocks. This method has a parameter matching each component configuration parameter. A component instance is returned only if the value of the component configuration parameter is greater than or equal to the method parameter. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Parameters:
MaxNumberData minimum value for a component configuration parameter
MaxNumberBlocks minimum value for a component configuration parameter
Returns:
the allocated component instance or null if no free instances were found

Definition at line 471 of file CC_TelecommandFactory.cpp.

DC_TestPUSTelecommand * CC_TelecommandFactory::allocateTestPUSTelecommand  ) 
 

Allocate one instance of type DC_TestPUSTelecommand.

This method scans all the entries in the factory of type DC_TestPUSTelecommand and returns the first one which is not in use. Before being returned to the caller, the status of the component instance is changed to: "in use". A client that receives a component instance through a call to this method, should release the instance when it no longer needs it. This can be done by calling method setInUse(false) on the component itself.

If no free component instances are found, then the method returns null. Note that no event report is generated to record the failure to allocate a component instance. Event reporting is the responsibility of the caller.

Returns:
the allocated component instance or null if no free instances were found

Definition at line 515 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityDummyPUSTelecommand void   ) 
 

Return the number of component instances of type DC_DummyPUSTelecommand that are in the factory.

The value returned is the maximum number of component instances of type DC_DummyPUSTelecommand that can be allocated.

Returns:
the total number of component instances in the factory of type DC_DummyPUSTelecommand

Definition at line 174 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityDummyTelecommand void   ) 
 

Return the number of component instances of type DC_DummyTelecommand that are in the factory.

The value returned is the maximum number of component instances of type DC_DummyTelecommand that can be allocated.

Returns:
the total number of component instances in the factory of type DC_DummyTelecommand

Definition at line 214 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSControlDataReporting void   ) 
 

Return the number of component instances of type DC_PUSControlDataReporting that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSControlDataReporting that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSControlDataReporting

Definition at line 254 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSDefineDataReporting void   ) 
 

Return the number of component instances of type DC_PUSDefineDataReporting that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSDefineDataReporting that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSDefineDataReporting

Definition at line 296 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSDumpMemoryAbsolute void   ) 
 

Return the number of component instances of type DC_PUSDumpMemoryAbsolute that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSDumpMemoryAbsolute that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSDumpMemoryAbsolute

Definition at line 338 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSDumpMemoryOffset void   ) 
 

Return the number of component instances of type DC_PUSDumpMemoryOffset that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSDumpMemoryOffset that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSDumpMemoryOffset

Definition at line 380 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSMemoryLoadAbsolute void   ) 
 

Return the number of component instances of type DC_PUSMemoryLoadAbsolute that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSMemoryLoadAbsolute that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSMemoryLoadAbsolute

Definition at line 422 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityPUSMemoryLoadOffset void   ) 
 

Return the number of component instances of type DC_PUSMemoryLoadOffset that are in the factory.

The value returned is the maximum number of component instances of type DC_PUSMemoryLoadOffset that can be allocated.

Returns:
the total number of component instances in the factory of type DC_PUSMemoryLoadOffset

Definition at line 466 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getCapacityTestPUSTelecommand void   ) 
 

Return the number of component instances of type DC_TestPUSTelecommand that are in the factory.

The value returned is the maximum number of component instances of type DC_TestPUSTelecommand that can be allocated.

Returns:
the total number of component instances in the factory of type DC_TestPUSTelecommand

Definition at line 510 of file CC_TelecommandFactory.cpp.

CC_TelecommandFactory * CC_TelecommandFactory::getInstance void   )  [static]
 

Get the single instance of this singleton class.

If the instance does not yet exist, it is created.

Definition at line 152 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberDummyPUSTelecommand void   ) 
 

Return the number of component instances of type DC_DummyPUSTelecommand that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 166 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberDummyTelecommand void   ) 
 

Return the number of component instances of type DC_DummyTelecommand that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 206 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSControlDataReporting void   ) 
 

Return the number of component instances of type DC_PUSControlDataReporting that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 246 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSDefineDataReporting void   ) 
 

Return the number of component instances of type DC_PUSDefineDataReporting that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 288 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSDumpMemoryAbsolute void   ) 
 

Return the number of component instances of type DC_PUSDumpMemoryAbsolute that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 330 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSDumpMemoryOffset void   ) 
 

Return the number of component instances of type DC_PUSDumpMemoryOffset that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 372 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSMemoryLoadAbsolute void   ) 
 

Return the number of component instances of type DC_PUSMemoryLoadAbsolute that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 414 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberPUSMemoryLoadOffset void   ) 
 

Return the number of component instances of type DC_PUSMemoryLoadOffset that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 458 of file CC_TelecommandFactory.cpp.

unsigned int CC_TelecommandFactory::getNumberTestPUSTelecommand void   ) 
 

Return the number of component instances of type DC_TestPUSTelecommand that are currently allocated.

A component instance is allocated if its "in use" status is equal to: "component is in use".

Returns:
the number of allocated component instances

Definition at line 502 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreeDummyPUSTelecommand  ) 
 

Check whether a non-allocated component instance of type DC_DummyPUSTelecommand is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_DummyPUSTelecommand
Returns:
true if free instances of type DC_DummyPUSTelecommand are available, false otherwise

Definition at line 189 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreeDummyTelecommand  ) 
 

Check whether a non-allocated component instance of type DC_DummyTelecommand is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_DummyTelecommand
Returns:
true if free instances of type DC_DummyTelecommand are available, false otherwise

Definition at line 229 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSControlDataReporting unsigned int  MaxNumberSID  ) 
 

Check whether a non-allocated component instance of type DC_PUSControlDataReporting is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSControlDataReporting
Parameters:
MaxNumberSID minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSControlDataReporting are available, false otherwise

Definition at line 270 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSDefineDataReporting unsigned int  NumberOfRawData  ) 
 

Check whether a non-allocated component instance of type DC_PUSDefineDataReporting is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSDefineDataReporting
Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSDefineDataReporting are available, false otherwise

Definition at line 312 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSDumpMemoryAbsolute unsigned int  NumberOfRawData  ) 
 

Check whether a non-allocated component instance of type DC_PUSDumpMemoryAbsolute is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSDumpMemoryAbsolute
Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSDumpMemoryAbsolute are available, false otherwise

Definition at line 354 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSDumpMemoryOffset unsigned int  NumberOfRawData  ) 
 

Check whether a non-allocated component instance of type DC_PUSDumpMemoryOffset is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSDumpMemoryOffset
Parameters:
NumberOfRawData minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSDumpMemoryOffset are available, false otherwise

Definition at line 396 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSMemoryLoadAbsolute unsigned int  MaxNumberData,
unsigned int  MaxNumberBlocks
 

Check whether a non-allocated component instance of type DC_PUSMemoryLoadAbsolute is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSMemoryLoadAbsolute
Parameters:
MaxNumberData minimum value for a component configuration parameter
MaxNumberBlocks minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSMemoryLoadAbsolute are available, false otherwise

Definition at line 439 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreePUSMemoryLoadOffset unsigned int  MaxNumberData,
unsigned int  MaxNumberBlocks
 

Check whether a non-allocated component instance of type DC_PUSMemoryLoadOffset is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_PUSMemoryLoadOffset
Parameters:
MaxNumberData minimum value for a component configuration parameter
MaxNumberBlocks minimum value for a component configuration parameter
Returns:
true if free instances of type DC_PUSMemoryLoadOffset are available, false otherwise

Definition at line 483 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isFreeTestPUSTelecommand  ) 
 

Check whether a non-allocated component instance of type DC_TestPUSTelecommand is available within the factory.

If this method return true, then the corresponding allocate method is guaranteed to return a non-null value. The method parameters are used as in the corresponding allocate method.

See also:
#allocateDC_TestPUSTelecommand
Returns:
true if free instances of type DC_TestPUSTelecommand are available, false otherwise

Definition at line 525 of file CC_TelecommandFactory.cpp.

bool CC_TelecommandFactory::isObjectConfigured  )  [virtual]
 

Check that all component instances required by the factory have been loaded.

Returns:
true if the component is configured, false otherwise

Reimplemented from CC_RootObject.

Definition at line 80 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_TestPUSTelecommand pItem
 

Load one instance of type DC_TestPUSTelecommand in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_TestPUSTelecommand. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 495 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSMemoryLoadOffset pItem
 

Load one instance of type DC_PUSMemoryLoadOffset in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSMemoryLoadOffset. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 451 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSMemoryLoadAbsolute pItem
 

Load one instance of type DC_PUSMemoryLoadAbsolute in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSMemoryLoadAbsolute. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 407 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSDumpMemoryOffset pItem
 

Load one instance of type DC_PUSDumpMemoryOffset in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSDumpMemoryOffset. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 365 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSDumpMemoryAbsolute pItem
 

Load one instance of type DC_PUSDumpMemoryAbsolute in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSDumpMemoryAbsolute. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 323 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSDefineDataReporting pItem
 

Load one instance of type DC_PUSDefineDataReporting in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSDefineDataReporting. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 281 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_PUSControlDataReporting pItem
 

Load one instance of type DC_PUSControlDataReporting in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_PUSControlDataReporting. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 239 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_DummyTelecommand pItem
 

Load one instance of type DC_DummyTelecommand in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_DummyTelecommand. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 199 of file CC_TelecommandFactory.cpp.

void CC_TelecommandFactory::setTelecommand unsigned int  i,
DC_DummyPUSTelecommand pItem
 

Load one instance of type DC_DummyPUSTelecommand in the factory.

The component instances managed by the factory are internally stored in an array. This method loads the i-th element of the array. The argument i should lie in the interval [0,N-1] where N is the number of component instances of type DC_DummyPUSTelecommand. The value of N is defined by the class constructor.

The "in use" status of a newly loaded component is initialized to: "component is not in use".

This is an initialization method that should only be called during the application configuration phase.

Parameters:
i the index in the internal array
pItem the component instance

Definition at line 159 of file CC_TelecommandFactory.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved