|
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.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--RtjAocsFramework.UnitManagement.UnitTriggerStrategy
Abstract class UnitTriggerStrategy provides a list of references to UnitFunctional or UnitHousekeeping objects and abstract operations for data acquisition, data sending or synchronization that needs to be performed upon them. Also provides operations to add and remove items in the lists.
Copyright: see the Copyright Notice. Change Record: Version 1.1: changed method names as follows:
setFunctionalInList -> setFunctionalInListSize setFunctionalOutList -> setFunctionalOutListSize setHousekeepingInList -> setHousekeepingInListSizeDone by A. Pasetti on 17.02.03
| Field Summary | |
protected UnitFunctionalList |
unitFcInList
The list of objects type unit that are interested to provide functional input data |
protected UnitFunctionalList |
unitFcOutList
The list of objects type unit that are interested to provide functional output data |
protected UnitHousekeepingList |
unitHkList
The list of objects type unit that are interested to provide housekeeping data |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
UnitTriggerStrategy()
Create a new UnitManager object. |
|
| Method Summary | |
void |
addFunctionalUnitIn(UnitFunctional u)
Load an unit to the functional input data list. |
void |
addFunctionalUnitOut(UnitFunctional u)
Load an unit to the functional output data list. |
void |
addHousekeepingUnit(UnitHousekeeping u)
Load an unit to the housekeeping data list. |
abstract void |
executeFcInStrategy()
Perform operations on UnitFunctional objects stored in a dedicated list. |
abstract void |
executeFcOutStrategy()
Perform operations on UnitFunctional objects stored in a dedicated list. |
abstract void |
executeHkStrategy()
Perform operations on UnitHousekeeping objects stored in a dedicated list. |
boolean |
isConfigured()
Check the configuration of the super class, lists with of units that are responsible for data acquisition, data sending, and housekeeping data. |
void |
removeFunctionalUnitIn(UnitFunctional u)
Unload an unit from the functional input data list. |
void |
removeFunctionalUnitOut(UnitFunctional u)
Unload an unit from the functional output data list. |
void |
removeHousekeepingUnit(UnitHousekeeping u)
Unload an unit from the housekeeping data list. |
void |
reset()
Reset super object state and performs a local reset. |
void |
resetConfiguration()
Reset configuration of the super object and performs the local reset of the configuration. |
void |
setFunctionalInListSize(int listSize)
UnitTriggerSrategy must be statically configured prior to initializing an individual UnitTriggerSrategy. |
void |
setFunctionalOutListSize(int listSize)
UnitTriggerSrategy must be statically configured prior to initializing an individual UnitTriggerSrategy. |
void |
setHousekeepingInListSize(int listSize)
UnitTriggerSrategy must be statically configured prior to initializing an individual UnitTriggerSrategy. |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected UnitFunctionalList unitFcInList
protected UnitFunctionalList unitFcOutList
protected UnitHousekeepingList unitHkList
| Constructor Detail |
public UnitTriggerStrategy()
| Method Detail |
public boolean isConfigured()
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic void reset()
reset in interface Resettablereset in class AocsObjectpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic void setFunctionalInListSize(int listSize)
listSize - the number of unit supported by this UnitTriggerSrategypublic void setFunctionalOutListSize(int listSize)
listSize - the number of unit supported by this UnitTriggerSrategypublic void setHousekeepingInListSize(int listSize)
listSize - the number of unit supported by this UnitTriggerSrategypublic void addFunctionalUnitIn(UnitFunctional u)
u - an unit to loadpublic void addFunctionalUnitOut(UnitFunctional u)
u - an unit to loadpublic void addHousekeepingUnit(UnitHousekeeping u)
u - an unit to loadpublic void removeFunctionalUnitIn(UnitFunctional u)
u - an unit to unloadpublic void removeFunctionalUnitOut(UnitFunctional u)
u - an unit to unloadpublic void removeHousekeepingUnit(UnitHousekeeping u)
u - an unit to loadpublic abstract void executeHkStrategy()
public abstract void executeFcInStrategy()
public abstract void executeFcOutStrategy()
|
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 | ||||||||||