|
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 | ||||||||||
Interface implemented by all telecommand loaders. The telecommand loader is responsible for loading telecommands into the telecommand manager. The loading mechanism cannot be specified by the framework as it is application dependent. For this reason, telecommand loaders are represented by an abstract interface.
A typical telecommand loader performs the following actions in a telecommand loading cycle: 1) the telecommand (its data and\or its code) is retrieved from an input device and packaged as an object of type Telecommand; 2) the telecommand is loaded into the telecommand manager through a call to the latterīs loadTelecommand method.
The loading of telecommands may involve the dynamic allocation of resources that have to be released after the telecommand has been executed. For this reason, the interface defines a release() method that must be called by the telecommand manager after it has executed a telecommand.
The telecommand loader is an active object and telecommand loading might be triggered by an interrupt (indicating the arrival of a new telecommand) or it might be activated periodically by a scheduler.
Copyright: see the Copyright Notice.
| Method Summary | |
TelecommandManager |
getTelecommandManager()
|
void |
release(int TelecommandId)
Release resource allocated to the telecommand with given identifier. |
void |
release(Telecommand telecommand)
Release resources allocated to argument telecommand. |
void |
releaseAll()
Release all resources allocated to the currently loaded telecommands. |
void |
setTelecommandManager(TelecommandManager m)
A telecommand loader needs a reference to the telecommand manager in order to be able to add the newly-loaded telecommands to its list of pending telecommands. |
| Methods inherited from interface RtjAocsFramework.OperatingSystemObjects.ActiveObject |
initialize, runOneCycle, terminate |
| Method Detail |
public void release(int TelecommandId)
public void release(Telecommand telecommand)
release(int)public void releaseAll()
release(int)public void setTelecommandManager(TelecommandManager m)
public TelecommandManager getTelecommandManager()
setTelecommandManager(TelecommandManager)
|
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 | ||||||||||