Real-Time Java AOCS Framework v1.0 API Specification

RtjAocsFramework.UnitManagement
Interface UnitCommand

All Known Implementing Classes:
ResetCommand, TestAnalogActuatorCommand, TestAnalogSensorCommand

public interface UnitCommand

The UnitCommand intefrace provides a general approch for implementation commands of any external units.

Copyright: see the Copyright Notice.

Version:
1.0
Author:
Vaclav Cechticky (IfA ETHZ), Alessandro Pasetti (University of Konstanz)
See Also:
Unit Framelet Document

Method Summary
 void execute()
          A call of this method causes that the actions associated to the commnad will be executed.
 boolean getIterationFlag()
          Return a value of the iteration flag.
 void setIterationFlag(boolean iFlag)
          Set a value of the iteration flag.
 

Method Detail

execute

public void execute()
A call of this method causes that the actions associated to the commnad will be executed.


getIterationFlag

public boolean getIterationFlag()
Return a value of the iteration flag.

Returns:
the false value if the the commnad is executed only once, the true value if is executed at each UnitManager invocation

setIterationFlag

public void setIterationFlag(boolean iFlag)
Set a value of the iteration flag.

Parameters:
iFlag - value of the iteration flag, the false value if the the commnad has to be executed only once, the true value if is executed at each UnitManager invocation

Real-Time Java AOCS Framework v1.0 API Specification

Real-Time Java AOCS Framework project home page

Automatic Control Laboratory, ETH Zuerich
Physikstrasse 3
CH-8092 Zuerich, Switzerland