![]() |
VR-Forces 4.3.1 Class Documentation
|
Class which builds tasks dynamically based on a set of parameters passed in from a Lua Script call. More...
Classes | |
| struct | RwParamInfo |
| Structure used in myFindParamFcnMap to store info on various RW types used as parameters in tasks and sets. More... | |
Public Member Functions | |
| DtTaskSetBuilder (const DtScriptedTaskManager *scriptedTaskManager) | |
| virtual DtSimTask * | buildTask (const DtString &taskType, luabind::object const ¶meters) |
| virtual DtSetDataRequest * | buildSet (const DtString &setType, luabind::object const ¶meters) |
Protected Types | |
| typedef bool(* | findParamFcn )(const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| Function signature for all findParam functions used to get a param of a particular type and fill it in to result. | |
| typedef DtString(* | printRwFcn )(DtReaderWriter *rw) |
| typedef std::map< DtString, RwParamInfo > | DtParamFcnMap |
Protected Member Functions | |
| virtual DtReaderWriter * | scriptedTaskVariableToReaderWriter (const DtScriptedTaskVariable &variable, luabind::object const ¶meters) |
| virtual bool | fillInParameter (DtReaderWriter *rw, luabind::object const ¶meters, DtString &usedParam) |
| DtString | paramDetailsString (DtReaderWriter *rw, bool longForm) |
| virtual DtString | availableParamsString (DtReaderWriter *taskOrSet, bool longForm=false) |
| virtual DtSetDataRequest * | buildSetReactiveTaskEnabled (luabind::object const ¶meters) |
| Special processing function for the DtSetReactiveTaskEnabled set data request. | |
| DtString | convertToLuaSymbol (const DtString &inputString) |
| Converts a string to a lua symbol compatible string, changing '-' to '_' and other operations. | |
Static Protected Member Functions | |
| static bool | findPropertyParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findStringParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findAnimationModelParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findIntParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findDoubleParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findBoolParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findVectorParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findOffsetVectorParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findLifeformPostureParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findLifeformWeaponStateParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findAggregateStateParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findForceTypeParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findNLengthStringVectorParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findStringListParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findEntityTypeParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
| static bool | findKeyValueListParam (const DtString ¶mName, luabind::object const ¶meters, DtReaderWriter *result, const DtScriptedTaskManager *) |
Protected Attributes | |
| const DtScriptedTaskManager * | myScriptedTaskManager |
| DtParamFcnMap | myFindParamFcnMap |
| std::set< DtString > | myParamsIgnored |
| List of parameters that are ignored. | |
Private Member Functions | |
| DtTaskSetBuilder () | |
| Not implemented. | |
| DtTaskSetBuilder (const DtTaskSetBuilder &orig) | |
| Not implemented. | |
| DtTaskSetBuilder & | operator= (const DtTaskSetBuilder &orig) |
| Not implemented. | |
Class which builds tasks dynamically based on a set of parameters passed in from a Lua Script call.
|
protected |
Function signature for all findParam functions used to get a param of a particular type and fill it in to result.
|
protected |
|
protected |
|
private |
Not implemented.
|
private |
Not implemented.
| DtTaskSetBuilder::DtTaskSetBuilder | ( | const DtScriptedTaskManager * | scriptedTaskManager | ) |
|
private |
Not implemented.
|
virtual |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
| usedParam | The name in the lua table that was used to fill in the parameter, if successful. |
|
protected |
| longForm | If true, a more verbose full line is returned for each parameter. |
|
protectedvirtual |
| longForm | If true, a more verbose multi-line string will be produced. |
|
protectedvirtual |
Special processing function for the DtSetReactiveTaskEnabled set data request.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
Converts a string to a lua symbol compatible string, changing '-' to '_' and other operations.
|
protected |
|
protected |
|
protected |
List of parameters that are ignored.