![]() |
VR-Forces 5.0.2 Developer's Guide
|
The synchronization matrix manager maintains the list of synchronization matrices. These are locally simulated objects that manage a list of phases where during each phase, scenario entities can be assigned with plans.
Public Member Functions | |
| DtSyncMatrixManager (DtLocalObjectManager *simManager) | |
| virtual | ~DtSyncMatrixManager () |
| virtual bool | init () |
| virtual void | sendSyncMatrixList () |
| virtual void | setPlansCompletionStatus (const DtUUID &syncMatrix, bool status) |
| virtual bool | plansCompletionStatus (const DtUUID &syncMatrix) const |
| virtual void | removePlansCompletionStatusEntry (const DtUUID &syncMatrix) |
Protected Member Functions | |
| virtual void | registerInterfaceMessageCallbacks () |
| virtual void | processSyncMatrixListRequest (DtSimMessage *msg) |
| virtual void | processSyncMatrixAddRequest (DtSimMessage *msg) |
| virtual void | processSyncMatrixRemoveRequest (DtSimMessage *msg) |
| virtual DtLocalObject * | createSyncMatrix (const DtString &name="") |
| virtual bool | deleteSyncMatrix (const DtUUID &uuid) |
Static Protected Member Functions | |
| static void | syncMatrixListRequestCallback (DtSimMessage *msg, void *usr) |
| static void | syncMatrixAddRequestCallback (DtSimMessage *msg, void *usr) |
| static void | syncMatrixRemoveRequestCallback (DtSimMessage *msg, void *usr) |
Protected Attributes | |
| DtSimulationServices * | mySimulationServices |
| DtLocalObjectManager * | myObjectManager |
| std::map< DtUUID, bool > | myPlansCompletionStatusMap |
Private Member Functions | |
| DtSyncMatrixManager () | |
| DtSyncMatrixManager (const DtSyncMatrixManager &orig) | |
| DtSyncMatrixManager & | operator= (const DtSyncMatrixManager &orig) |
| DtSyncMatrixManager::DtSyncMatrixManager | ( | DtLocalObjectManager * | simManager | ) |
Basic constructor.
|
virtual |
Destructor.
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
|
virtual |
Sends a DtIfSyncMatrixListResponse with the current matrices names.
|
virtual |
set the plans completion status for the sync matrix object. a new entry will be created if the sync matrix is not in the map
get the plans completion status for the sync matrix object.
|
virtual |
remove the plans completion status of the sync matrix object from the map.
|
protectedvirtual |
Registers for any interface messages that the manager listens to.
|
staticprotected |
Handle DtIfSyncMatrixListRequestType messages.
|
protectedvirtual |
|
staticprotected |
Handle DtIfSyncMatrixAddRequestType messages.
|
protectedvirtual |
|
staticprotected |
Handle DtIfSyncMatrixRemoveRequestType messages.
|
protectedvirtual |
|
protectedvirtual |
Create a synchronization matrix with the specified name. If the name is empty or is already used by another local synchronization matrix object, a generated name will be used instead.
|
private |
Not implemented.
|
protected |
|
protected |
stores the plans completion status of a sync matrix object