|
| | DtSpawnSinkManager (DtSimManager *simManager) |
| | constructor More...
|
| |
| virtual | ~DtSpawnSinkManager () |
| | destructor More...
|
| |
| virtual bool | init () |
| |
| virtual bool | loadTemplates (const DtFilename &filename, bool sendUpdate=true) |
| | Load spawn templates from scenario file. More...
|
| |
| virtual const DtRwSpawnDataList * | spawnTemplates () const |
| | Accessor for spawn template list. More...
|
| |
| virtual DtRwSpawnData * | findSpawnDataByUUID (const DtUUID &uuid) |
| |
| virtual void | updateSpawnSinkTemplates (const DtRwSpawnDataList &spawnDataList) |
| |
| virtual void | preScenarioImport (DtScenario &scenario) |
| |
| virtual void | postScenarioImport (const DtScenario &scenario) |
| |
| virtual DtUUID | uuidForTemplateName (const DtString &templateName) const |
| |
| virtual bool | addSpawnPoint (const DtUUID &templateUuid, const DtUUID &spawnPointUuid) |
| | Returns true if added to the template. More...
|
| |
| virtual void | removeSpawnPoint (const DtUUID &templateUuid, const DtUUID &spawnPointUuid) |
| |
| virtual void | resetManagerTemplates (const DtRwSpawnDataList &templates, const DtFilename &templateFilename, bool sendUpdates=true) |
| | This function is called by both the postScenarioLoad and postScenarioRewind callbacks to reset the templates in the manager. More...
|
| |
| virtual void | clearTemplates () |
| |
| virtual void | sendSpawnListMessage (const DtSimulationAddress &recipient, bool initialSend=false) |
| | Sends a spawn list message (i.e., the names and descriptions of all the templates in the myTempate list) to the indicated address. More...
|
| |
| virtual void | renameSpawnPoint (DtVrfObject *spawnEntity, const DtString &oldTemplateName, const DtString &newTemplateName) |
| |
| virtual void | renameSinkPoint (DtVrfObject *spawnEntity, const DtString &oldTemplateName, const DtString &newTemplateName) |
| |
| virtual void | removeSpawnTemplateAsParentOfSinkPoint (const DtUUID &templateUUID, const DtUUID &sinkPoint) |
| |
| virtual void | addSpawnTemplateAsParentOfSinkPoint (const DtUUID &templateUUID, const DtUUID &sinkPoint) |
| |
| virtual void | upgradeTemplates (const DtRwSpawnDataList &templates, bool andRename=false) |
| |
| virtual void | removeNameMappings (const DtRwSpawnDataList &templates) |
| |
| virtual void | resolveUnmatchedSpawnPoints () |
| |
| virtual const DtRwSpawnDataList & | templates () |
| |
| virtual void | addClearTemplateUUIDEntry (DtClearTemplateUUIDFunction fcn, void *userData) |
| |
| virtual void | removeClearTemplateUUIDEntry (DtClearTemplateUUIDFunction fcn, void *userData) |
| |
| virtual void | addRefreshSpawnDataEntry (DtRefreshSpawnDataFunction fcn, void *userData) |
| |
| virtual void | removeRefreshSpawnDataEntry (DtRefreshSpawnDataFunction fcn, void *userData) |
| |
| virtual DtUUID | uuidBasedOnName (const DtList &templateList, const DtString &) const |
| | Create a UUID based on the name. This will not be random as this needs to be coordinated on multiple back-ends. More...
|
| |
|
| DtSimManager * | mySimManager |
| |
| DtRwSpawnDataList | myTemplates |
| | pointer to the sim manager More...
|
| |
| DtRwSpawnDataList | myCurrentTemplates |
| |
| DtNoArgumentCallbackList | myClearTemplatesCallbackList |
| |
| DtNoArgumentCallbackList | myRefreshSpawnDataCallbackList |
| |
boost::unordered_map
< DtRwSpawnData *, DtString > | myCurrentUUIDsOnImport |
| |
| bool | myTemplatesModified |
| |
| PointByTemplate | mySpawnPoints |
| |
| PointByTemplate | mySinkPoints |
| |
| WaitingForSinkPoints | myWaitingForSinkPoints |
| |
| std::map< DtString, DtString > | myNewSpawnNameToOldSpawnNameMap |
| |
| virtual void | processRequestSpawnList (DtSimMessage *msg) |
| |
| static void | requestSpawnListCallback (DtSimMessage *msg, void *usr) |
| | Message handlers. More...
|
| |
| virtual void | preocesSpawnTemplateList (DtSimMessage *msg) |
| |
| static void | spawnTemplateListCallback (DtSimMessage *msg, void *usr) |
| | When a template list is received (and we are not the sender) and this is an initial send, replace the template list with the supplied list. More...
|
| |
| virtual void | processAddSinkPoint (DtSimMessage *msg) |
| |
| static void | addSinkPointCallback (DtSimMessage *msg, void *usr) |
| | Respond to a request to add a sink point (by name) to a spawn template. More...
|
| |
| virtual void | processRequestSpawnData (DtSimMessage *msg) |
| |
| static void | requestSpawnDataCallback (DtSimMessage *msg, void *usr) |
| | Respond to a request to send the spawn data for a given template. More...
|
| |
| virtual void | processUpdateSpawnTemplate (DtSimMessage *msg) |
| |
| static void | updateSpawnTemplateCallback (DtSimMessage *msg, void *usr) |
| | Respond to a request to update the data in a template. More...
|
| |
| virtual void | processCreateTemplate (DtSimMessage *msg) |
| |
| static void | createTemplateCallback (DtSimMessage *msg, void *usr) |
| | Respond to a request to create a template. More...
|
| |
| virtual void | processDeleteSpawnTemplate (DtSimMessage *msg) |
| |
| static void | deleteSpawnTemplateCallback (DtSimMessage *msg, void *usr) |
| | Respond to a request to delete a template. More...
|
| |
| virtual void | processObjectRemoved (const DtVrfObject *object) |
| |
| static void | objectRemovedCallback (const DtVrfObject *object, void *usr) |
| | Respond to a notification that an object has been removed. More...
|
| |
| virtual void | processAddSpawnPoint (const DtVrfObject *object) |
| |
| static void | addSpawnPointCallback (const DtVrfObject *object, void *usr) |
| | Called when spawn point is added. More...
|
| |
| virtual void | processAddSinkPoint (const DtVrfObject *object) |
| |
| static void | addSinkPointCallback (const DtVrfObject *object, void *usr) |
| | Respond to any object added. More...
|
| |