#include <PUSTcManoeuvre.h>
Inheritance diagram for PUSTcManoeuvre:
A PUS telecommand manoeuvre models the manoeuvre-like actions associated to a PUS telecommand. The OBS Framework implements a telecommand as a form of punctual action that is executed in one-shot mode (i.e. its execution terminates in the same cycle in which it begins). The Packet Utilization Standard (PUS) instead allows for actions to be associated to a telecommand that must be executed over an interval of time. This class models this type of actions as a form of manoeuvre. A manoeuvre of this type would normally be launched by a PUS telecommand.
This class adds to its base class the following attributes that describe the telecommand that launches the manoeuvre:
A PUS telecommand manoeuvre is normally loaded into the manoeuvre manager by a PUS telecommand. The PUS telecommand should configured the PUS manoeuvre as follows:<ul> It should set its telecommand identifier attribute It should set its execution start acknowledge flag It should set its progress acknowledge flag It should set its completion acknowledge flag The above configuration actions can be performed in any order.
Definition at line 59 of file PUSTcManoeuvre.h.
Public Member Functions | |
PUSTcManoeuvre (void) | |
Instantiate a PUS telecommand manoeuvre component. | |
bool | isStartAckRequired (void) const |
Return true if acknowledgement of manoeuvre execution start is required. | |
bool | isProgressAckRequired (void) const |
Return true if acknowledgement of manoeuvre execution progress is required. | |
bool | isCompletionAckRequired (void) const |
Return the true if acknowledgement of manoeuvre execution completion is required. | |
void | setStartAckFlag (bool startAckFlag) |
Set the value of the start acknowledge flag. | |
void | setCompletionAckFlag (bool completionAckFlag) |
Set the value of the completion acknowledge flag. | |
void | setProgressAckFlag (bool progressAckFlag) |
Set the value of the progress acknowledge flag. | |
virtual TD_TelecommandId | getTelecommandId (void) const |
Getter method for the identifier of the telecommand that launched this manoeuvre. | |
virtual void | setTelecommandId (TD_TelecommandId tcIdentifier) |
Setter method for the identifier of the telecommand that launched this manoeuvre. | |
Protected Member Functions | |
virtual void | generateProgressEvent (void) |
This method generates an event of type EVT_MAN_PROGRESS (manoeuvre progress event report). |
|
Instantiate a PUS telecommand manoeuvre component. The acknoweldge flags are set to false ("no acknowledge is required") and the telecommand identifier is set to an illegal value to signify that the component is not yet configured. Definition at line 16 of file PUSTcManoeuvre.cpp. |
|
This method generates an event of type EVT_MAN_PROGRESS (manoeuvre progress event report).
Some applications require that telemetry packets be generated to mark the advancement of the execution of the actions associated to a PUS telecommand. This method is intended as a facility to be called by concrete subclasses at points where generation of an execution progress report is required. It would typically be called from inside the implementation of method
Definition at line 23 of file PUSTcManoeuvre.cpp. |
|
Getter method for the identifier of the telecommand that launched this manoeuvre.
Definition at line 51 of file PUSTcManoeuvre.cpp. |
|
Return the true if acknowledgement of manoeuvre execution completion is required. This flag should normally have the same value as the completion acknowledgement flag of the telecommand that triggered the execution of this manoeuvre.
Definition at line 35 of file PUSTcManoeuvre.cpp. |
|
Return true if acknowledgement of manoeuvre execution progress is required. This flag should normally have the same value as the progress acknowledgement flag of the telecommand that triggered the execution of this manoeuvre.
Definition at line 31 of file PUSTcManoeuvre.cpp. |
|
Return true if acknowledgement of manoeuvre execution start is required. This flag should normally have the same value as the execution start acknowledgement flag of the telecommand that triggered the execution of this manoeuvre.
Definition at line 27 of file PUSTcManoeuvre.cpp. |
|
Set the value of the completion acknowledge flag.
Definition at line 43 of file PUSTcManoeuvre.cpp. |
|
Set the value of the progress acknowledge flag.
Definition at line 47 of file PUSTcManoeuvre.cpp. |
|
Set the value of the start acknowledge flag.
Definition at line 39 of file PUSTcManoeuvre.cpp. |
|
Setter method for the identifier of the telecommand that launched this manoeuvre.
Definition at line 55 of file PUSTcManoeuvre.cpp. |