![]() |
VR-Forces 4.10 Class Documentation
|
The scripted objects movement manager contains a list of all objects that can be scheduled for scripted movement. More...
Public Types | |
| typedef std::map< std::string, DtScriptedMovementObject > | ScriptedMovementObjects |
Public Member Functions | |
| DtScriptedObjectsMovementManager (DtSimManager *) | |
| CTOR. More... | |
| virtual | ~DtScriptedObjectsMovementManager () |
| DTOR. More... | |
| virtual DtSimManager * | simManager () const |
| virtual void | removeAllScriptedMovementObjects () |
| Removes all the current scripted movement objects from the manager. More... | |
| virtual bool | loadScriptedMovementObjects (const DtFilename &dir, bool append=false) |
| Reads all the mtl files from the given directory and adds any scripted movement objects it finds into the manager. More... | |
| virtual void | addScriptedMovementObject (const DtScriptedMovementObject &) |
| Adds a new scripted movement object into the manager. If named object exists, replaces. More... | |
| virtual bool | removeScriptedMovementObject (const std::string &) |
| Removes the named scripted movement object. More... | |
| virtual const ScriptedMovementObjects & | scriptedMovementObjects () const |
| Returns the list of scripted movement objects. More... | |
| virtual void | setScriptedMovementObjects (const ScriptedMovementObjects &) |
| Sets the scripted movement objects. More... | |
| virtual bool | scriptedMovementObject (const std::string &objectToFind, DtScriptedMovementObject &object) const |
| Fills in the scripted movement object for the specified object an returns true if the object is found. More... | |
| virtual DtString | fileConfigurationFor (const std::string &uniqueId) const |
| Given the file configuration unique id, looks up movement file configuration and then sees if that unique id exists. More... | |
Protected Types | |
| typedef std::map< std::string, DtScriptedMovementFileConfiguration > | MovementFileConfigurations |
Protected Member Functions | |
| virtual void | processScriptedMovementObjectsRequest (DtSimMessage *msg) |
Static Protected Member Functions | |
| static void | scriptedMovementObjectsRequestCallback (DtSimMessage *msg, void *usr) |
| Callback for request for fly out files. More... | |
Protected Attributes | |
| DtSimManager * | mySimManager |
| ScriptedMovementObjects | myScriptedMovementObjects |
| MovementFileConfigurations | myMovementFileConfigurations |
Private Member Functions | |
| DtScriptedObjectsMovementManager (const DtScriptedObjectsMovementManager &orig) | |
| copy constructor More... | |
| DtScriptedObjectsMovementManager & | operator= (const DtScriptedObjectsMovementManager &orig) |
| assignment operator More... | |
The scripted objects movement manager contains a list of all objects that can be scheduled for scripted movement.
| typedef std::map<std::string, DtScriptedMovementObject> DtScriptedObjectsMovementManager::ScriptedMovementObjects |
|
protected |
| DtScriptedObjectsMovementManager::DtScriptedObjectsMovementManager | ( | DtSimManager * | ) |
CTOR.
|
virtual |
DTOR.
|
private |
copy constructor
|
private |
assignment operator
|
virtual |
|
virtual |
Removes all the current scripted movement objects from the manager.
|
virtual |
Reads all the mtl files from the given directory and adds any scripted movement objects it finds into the manager.
The final flag being true will append items. Returns true if any objects were loaded from the directory
|
virtual |
Adds a new scripted movement object into the manager. If named object exists, replaces.
|
virtual |
Removes the named scripted movement object.
|
virtual |
Returns the list of scripted movement objects.
|
virtual |
Sets the scripted movement objects.
|
virtual |
Fills in the scripted movement object for the specified object an returns true if the object is found.
|
virtual |
Given the file configuration unique id, looks up movement file configuration and then sees if that unique id exists.
If it does, returns the string representation of the movement file configuration, else returns the id passed in
|
staticprotected |
Callback for request for fly out files.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |