#include <SIG_CommandParameters.h>
Public Methods | |
SIG_CommandParameters (void) | |
Standard constructor. More... | |
SIG_CommandParameters (QTextStream & tx) | |
A constructor that reads the objects values from a stream. More... | |
~SIG_CommandParameters (void) | |
Destructor. More... | |
void | setDuration (double duration) |
Sets the run time duration of the command. More... | |
double | getDuration (void) const |
Returns the run time duration of the command. More... | |
void | writeToFileTransfer (QTextStream & tx) const |
Streaming function. More... | |
Private Attributes | |
double | duration |
This is the amount of time, the commands needs to be executed properly. More... |
Definition at line 16 of file SIG_CommandParameters.h.
|
Standard constructor. Default values are a duration of 1 microsecond. Definition at line 5 of file SIG_CommandParameters.cpp. |
|
A constructor that reads the objects values from a stream. It is used when loading a compiled robot from file or when propagating a robot through the network. Definition at line 9 of file SIG_CommandParameters.cpp. |
|
Destructor.
Definition at line 21 of file SIG_CommandParameters.cpp. |
|
Returns the run time duration of the command.
Definition at line 29 of file SIG_CommandParameters.cpp. |
|
Sets the run time duration of the command.
Definition at line 24 of file SIG_CommandParameters.cpp. |
|
Streaming function. This will be used when saving to file or propagating through a network. Definition at line 34 of file SIG_CommandParameters.cpp. |
|
This is the amount of time, the commands needs to be executed properly. This is given in seconds. Of course this does not apply to adjustable delay commands. Definition at line 25 of file SIG_CommandParameters.h. |