![]() |
VR-Forces Development_Version Class Documentation
|
Lua object class which represents a feature navigation task. More...

Public Types | |
| typedef std::vector< DtLocation3D > | Points |
Public Member Functions | |
| DtLuaPathJob () | |
| For creating when deserializing. | |
| ~DtLuaPathJob () | |
| DTOR. | |
| luabind::object | getObject (lua_State *L, int &index, std::string &message) |
| Retrieve value. | |
| void | addMessage (DtAlgorithmManager::Severity, std::string) |
| Sets the output message in a thread-safe manner. | |
| DtString | serialize () |
| The following characters are reserved and cannot be used in serialization: '|', ':'. | |
| bool | deserialize (const DtString &) |
| This function should take the string that was serialized via serialize() and fill this object with the correct data. | |
| DtString | objectType () const |
| Should return the string name of this object. | |
| boost::shared_ptr< DtLuaPathJob > | shared_from_this () |
| boost::shared_ptr< const DtLuaPathJob > | shared_from_this () const |
Public Member Functions inherited from DtLuaAsyncJob | |
| void | init (void *userData) |
| Called by framework with userData set to the DtSimManager. | |
Public Member Functions inherited from DtAsciiSerializable | |
| DtAsciiSerializable () | |
| The implementer of this interface should be sure to create a creator function to create an empty object that returns a pointer to this interface. | |
| DtAsciiSerializable (const DtAsciiSerializable &orig) | |
| virtual | ~DtAsciiSerializable () |
| virtual std::string | objectTypeC () const |
| Returns a std::string version of the objectType. | |
Static Public Member Functions | |
| static boost::shared_ptr < DtLuaPathJob > | Make (DtSimManager *mgr, DtString obstacleType, DtString pathType, const DtLocation3D &start, const DtLocation3D &dest, double buffer) |
| static DtAsciiSerializable * | creator () |
| DtAsciiSerializable functions. | |
Protected Types | |
| typedef DtMutex | Mutex |
Protected Member Functions | |
| DtLuaPathJob (DtSimManager *mgr, DtString obstacles, DtString paths, const DtLocation3D &start, const DtLocation3D &dest, double buffer) | |
| For creating from lua call. | |
| void | start () |
| void | run (const DtAlgorithmManager &mgr=DtAlgorithmManager()) |
| void | taskComplete () |
| Called by task object whenever it is done. | |
Protected Member Functions inherited from DtLuaAsyncJob | |
| DtLuaAsyncJob () | |
| DtLuaAsyncJob (DtSimManager *) | |
Protected Member Functions inherited from DtObjectDebugger< DtLuaAsyncJob > | |
| DtObjectDebugger () | |
| DtObjectDebugger (const DtObjectDebugger &) | |
| ~DtObjectDebugger () | |
Protected Attributes | |
| Mutex | myMutex |
| std::string | myObstaclesType |
| std::string | myPathType |
| DtLocation3D | myStart |
| DtLocation3D | myDest |
| double | myBuffer |
| boost::scoped_ptr< Points > | myPoints |
| boost::shared_ptr < DtAsyncJobMapEntry > | myJobEntry |
| std::string | myMessage |
Protected Attributes inherited from DtLuaAsyncJob | |
| DtSimManager * | mySimManager |
Friends | |
| class | PathTask |
Lua object class which represents a feature navigation task.
| typedef std::vector<DtLocation3D> DtLuaPathJob::Points |
|
protected |
| DtLuaPathJob::DtLuaPathJob | ( | ) |
For creating when deserializing.
| DtLuaPathJob::~DtLuaPathJob | ( | ) |
DTOR.
|
protected |
For creating from lua call.
|
static |
|
virtual |
Retrieve value.
Implements DtLuaAsyncJob.
| void DtLuaPathJob::addMessage | ( | DtAlgorithmManager::Severity | , |
| std::string | |||
| ) |
Sets the output message in a thread-safe manner.
|
static |
DtAsciiSerializable functions.
|
virtual |
The following characters are reserved and cannot be used in serialization: '|', ':'.
Implements DtAsciiSerializable.
This function should take the string that was serialized via serialize() and fill this object with the correct data.
Implements DtAsciiSerializable.
|
virtual |
Should return the string name of this object.
The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.
Implements DtAsciiSerializable.
| boost::shared_ptr<DtLuaPathJob> DtLuaPathJob::shared_from_this | ( | ) |
| boost::shared_ptr<const DtLuaPathJob> DtLuaPathJob::shared_from_this | ( | ) | const |
|
protected |
|
protected |
|
protected |
Called by task object whenever it is done.
|
friend |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |