![]() |
VR-Forces Development_Version Class Documentation
|
The DtStealthCommand is an instance of a stealth command and variables that are used to satisfy the stealth command. More...
Public Member Functions | |
| DtStealthCommand () | |
| default constructor | |
| DtStealthCommand (const DtStealthCommand &) | |
| copy constructor | |
| virtual | ~DtStealthCommand () |
| destructor | |
| DtStealthCommand & | operator= (const DtStealthCommand &orig) |
| assignment operator: assigns value only | |
| virtual bool | variable (const std::string &s, DtScriptedTaskVariable &var) const |
| Returns the variable associated with the given variable. | |
| virtual void | setStealthCommand (const DtString &) |
| const DtString & | stealthCommand () const |
| virtual void | setDisplayName (const DtString &) |
| const DtString & | displayName () const |
| virtual char * | setToNet (char *buffer) const |
| virtual const char * | setFromNet (const char *buffer) |
| virtual int | netRepSize () const |
| virtual void | setVariables (const std::vector< DtScriptedTaskVariable > &) |
| virtual void | addVariable (const DtScriptedTaskVariable &) |
| virtual void | insertVariableBefore (const DtScriptedTaskVariable &, const std::string &variable) |
| virtual void | insertVariableBefore (const DtScriptedTaskVariable &, int i) |
| virtual void | removeVariable (const std::string &) |
| virtual void | removeVariable (int) |
| virtual std::vector < DtScriptedTaskVariable > | variables () const |
| virtual DtRwVariableBindings * | defaultVariableBindings () const |
| Returns a variable binding list of all the variables default values. | |
| virtual void | setupDefaultsFromBindings (const DtRwVariableBindings &) |
| Sets the default variables from the bindings. | |
Protected Attributes | |
| DtString | myStealthCommand |
| DtString | myDisplayName |
| std::vector< std::string > | myVariables |
The DtStealthCommand is an instance of a stealth command and variables that are used to satisfy the stealth command.
This is only the object that defines the command – it does not execute it
| DtStealthCommand::DtStealthCommand | ( | ) |
default constructor
| DtStealthCommand::DtStealthCommand | ( | const DtStealthCommand & | ) |
copy constructor
|
virtual |
destructor
| DtStealthCommand& DtStealthCommand::operator= | ( | const DtStealthCommand & | orig | ) |
assignment operator: assigns value only
|
virtual |
Stealth command accessors
|
inline |
Stealth command accessors
|
virtual |
Display name accessors
|
inline |
Display name accessors
Display name accessors
|
virtual |
Display name accessors
|
virtual |
Returns the variable associated with the given variable.
If no variable of that name returns false
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Accessor for the variables that are part of this scripted task. The variables will be referenced by their bound name. The order in which they appear in the UI will be the order in which they appear in the variables list
|
virtual |
Returns a variable binding list of all the variables default values.
This is to be considered a read-only view into the default values. You must also free the return pointer when you are done with it
|
virtual |
Sets the default variables from the bindings.
|
protected |
|
protected |
|
protected |