|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.Factories.UnitFactory
|
+--JbedSmmApplication.Factories.TestSmmUnitFactory
Factory for unit management components of the SMM prototype application deployed on a desktop. This factory provides a method to create the unit mode managers, analog sensor, and analog actuator.
Copyright: see the Copyright Notice.
| Constructor Summary | |
TestSmmUnitFactory()
Create an application specific unit factory, initialize the sizes of the unit trigger lists, and initialize the sizes of the command lists in the unit managers. |
|
| Method Summary | |
TestSmmAnalogActuator |
getAnalogActuator()
Return the analog actuator. |
TestSmmAnalogSensor |
getAnalogSensor()
Return the analog sensor. |
ModeManager |
getModeManager(int n)
Return the n-th unit mode manager as an instance of type ModeManager. |
UnitModeManager |
getUnitModeManager(int n)
Return the n-th unit mode manager as an instance of type UnitModeManager. |
void |
makeAnalogActuator(DataSource actuatorData,
RecoveryAction recoveryAction)
Make and configure the test actuator. |
void |
makeAnalogSensor(DataSink sensorData,
RecoveryAction recoveryAction)
Make and configure the test sensor. |
void |
makeModeManager(ModeManager master,
ModeChangeAction mca)
The method creates and configures the unit mode managers. |
| Methods inherited from class RtjAocsFramework.Factories.UnitFactory |
getUnitManager, getUnitTriggerStrategy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestSmmUnitFactory()
| Method Detail |
public void makeModeManager(ModeManager master,
ModeChangeAction mca)
master - the master mode manager that is tracked by the unit mode
managers (the same for all unit mode managers)mca - the mode change action that is associated to the unit mode
managers (the same for all unit mode managers)public ModeManager getModeManager(int n)
public UnitModeManager getUnitModeManager(int n)
public void makeAnalogSensor(DataSink sensorData,
RecoveryAction recoveryAction)
sensorData - the data item where acquired data will be stored
public void makeAnalogActuator(DataSource actuatorData,
RecoveryAction recoveryAction)
actuatorData - the data item whose values will be used by actuatorpublic TestSmmAnalogActuator getAnalogActuator()
public TestSmmAnalogSensor getAnalogSensor()
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||