Public Member Functions |
| | DtScriptedTask () |
| virtual | ~DtScriptedTask () |
| virtual bool | init ()=0 |
| | Initializer.
|
| virtual const DtString & | scriptId () const =0 |
| | Script id.
|
| virtual void | setScriptId (const DtString &)=0 |
| virtual DtRwVariableBindings & | variables ()=0 |
| | Access to variables.
|
virtual const
DtRwVariableBindings & | variables () const =0 |
| virtual DtRwVariableBindings & | variableDataTypes ()=0 |
| | Access to the data types that represent the variables.
|
virtual const
DtRwVariableBindings & | variableDataTypes () const =0 |
| virtual DtString | allVariablesStringRep (const DtString &scriptName="") const =0 |
| virtual void | setValue (const DtString &variableName, bool, const char *type=DtScriptedTaskCheckBoxVariable) |
| | {@ Convenience methods that will allow for the adding and retrieving values that are valid for this scripted task
|
| virtual void | setValue (const DtString &variableName, int, const char *type=DtScriptedTaskIntegerVariable) |
| virtual void | setValue (const DtString &variableName, double, const char *type=DtScriptedTaskDoubleVariable) |
| virtual void | setValue (const DtString &variableName, const std::string &, const char *type=DtScriptedTaskStringVariable) |
| virtual void | setValue (const DtString &variableName, const DtString &, const char *type=DtScriptedTaskStringVariable) |
| virtual void | setValue (const DtString &variableName, const char *, const char *type=DtScriptedTaskStringVariable) |
| virtual void | setValue (const DtString &variableName, const DtUUID &, const char *type=DtScriptedTaskSimulationObjectVariable) |
| virtual void | setValue (const DtString &variableName, const DtVector &, const char *type=DtScriptedTaskLocationVariable) |
| virtual void | setValue (const DtString &variableName, const DtEntityType &, const char *type=DtScriptedTaskEntityTypeVariable) |
| virtual void | setValue (const DtString &variableName, const DtTaitBryan &, const char *type=DtScriptedTaskOrientationVariable) |
| virtual void | setValue (const DtString &variableName, const DtRwOffsetVectorList &) |
| virtual void | setValue (const DtString &variableName, const DtRwVectorList &) |
| virtual void | setValue (const DtString &variableName, const std::vector< DtUUID > &) |
| virtual void | setValue (const DtString &variableName, const std::vector< DtVector > &) |
| virtual void | setValue (const DtString &variableName, const std::map< DtString, int > &) |
| virtual void | setValue (const DtString &variableName, const std::map< DtString, double > &) |
| virtual void | setValue (const DtString &variableName, const std::map< DtString, DtString > &) |
| virtual void | setLocation (const DtString &variableName, const DtVector &) |
| | Since there are multiple types that take a vector, overload with different types that will be set.
|
| virtual void | setLocationWithoutAltitude (const DtString &variableName, const DtVector &) |
| virtual void | setOffset (const DtString &variableName, const DtRwOffsetVector &) |
| virtual void | setTime (const DtString &variableName, double) |
| virtual void | setDateTime (const DtString &variableName, double) |
| virtual void | setRange (const DtString &variableName, double) |
| virtual void | setAltitude (const DtString &variableName, double) |
| virtual void | setHeading (const DtString &variableName, double) |
| virtual void | setValue (const DtString &variableName, const DtReaderWriter &, const char *scriptedTaskType) |
| | The reader/writer value will be cloned and added to the variables with the given variable name and the scripted task variable type (see vrfScriptedTaskConstants.h)
|
| template<typename RWValue , typename AssignType > |
| void | setValue (const DtString &variableName, AssignType value, const char *type) |
| | General template assignment that will create a new instance of a reader/writer and assign a value to it.
|
| template<typename T > |
| boost::optional< T > | getValue (const DtString &variableName) const |
| virtual const DtReaderWriter * | getValueRW (const DtString &name) const |
| | Returns the base reader/writer value.
|
| virtual DtReaderWriter * | getValueRW (const DtString &name) |
|
| virtual int | netRepSize () const =0 |
| | Returns the size of the full network representation (control object name included) padded to an 8-byte boundary.
|
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize)=0 |
| | Fills in the task from the network buffer.
|
| virtual char * | setToNet (char *)=0 |
The DtScriptedTaskTask will encapsulate the variables defined by a scripted task in the variable bindings object.
The variable bindings will contain the variable name, the type of object and the variables value. This class will also contain the script id of the script that should be run with these valuesMinimal set of items a scripted task (or set) must implement to be considered a scripted task/set