![]() |
VR-Forces Developer's Guide
|
The DtSimOperationsInProgressManager can be used to keep track (by count) of sim services in operation. It will send out a DtIfSimOperationsInProgress message for any operation change.

Public Member Functions | |
| DtSimOperationsInProgressManager (DtSimulationServices *simServices) | |
| virtual | ~DtSimOperationsInProgressManager () |
| virtual void | setOperationInProgress (DtIfSimOperationsInProgress::Operation operation, bool) override |
| virtual bool | operationInProgress (DtIfSimOperationsInProgress::Operation operation) const override |
| virtual void | clearOperationsInProgress () override |
| virtual int | addObjectInFlux (const DtUUID &moving, const DtVector &movingTo, int replace=-1) |
| virtual int | addObjectInFlux (const DtString &markingText, int force, const DtEntityType &type, const DtVector &creatingAt, int replace=-1) |
| virtual bool | removeObjectInFlux (int) |
| virtual void | updateSimOperationsOnNet () |
Public Member Functions inherited from DtSimOperationsInProgressInterface | |
| DtSimOperationsInProgressInterface () | |
| DtSimOperationsInProgressInterface (const DtSimOperationsInProgressInterface &)=delete | |
| DtSimOperationsInProgressInterface & | operator= (const DtSimOperationsInProgressInterface &)=delete |
Protected Types | |
| typedef std::map< int, int > | OperationsInProgressCount |
Static Protected Member Functions | |
| static void | simOperationsInProgressRequestCallback (DtSimMessage *, void *usr) |
Protected Attributes | |
| OperationsInProgressCount | myOperationsInProgressCount |
| DtIfSimOperationsInProgress | mySimOperations |
| DtSimulationServices * | mySimulationServices |
| tbb::spin_rw_mutex | myMutex |
|
protected |
| DtSimOperationsInProgressManager::DtSimOperationsInProgressManager | ( | DtSimulationServices * | simServices | ) |
Constructs the AIS data manager.
|
virtual |
The destructor.
|
overridevirtual |
Implements DtSimOperationsInProgressInterface.
|
overridevirtual |
Implements DtSimOperationsInProgressInterface.
|
overridevirtual |
Implements DtSimOperationsInProgressInterface.
|
virtual |
Implements DtSimOperationsInProgressInterface.
|
virtual |
Implements DtSimOperationsInProgressInterface.
Implements DtSimOperationsInProgressInterface.
|
virtual |
|
staticprotected |
Callback that calls updateSimOperationsOnNet.
|
protected |
|
protected |
|
protected |
|
mutableprotected |