![]() |
VR-Forces 4.7 Class Documentation
|
DtBulkEnvironmentProcessManager. More...
Public Member Functions | |
| DtBulkEnvironmentProcessManager (DtExerciseConn *conn, GlobalIdChooser idChooser=0, void *idChooserUsr=0) | |
| Constructor. | |
| virtual | ~DtBulkEnvironmentProcessManager () |
| Destructor. | |
| virtual void | tick () |
| Tick (update) this object. | |
| virtual void | addIndividualEnvironmentProcess (DtEnvironmentProcessPublisherForBulk *publisher) |
| Adds an individual EnvironmentProcess publisher for an object to be included in this bulk object. | |
| virtual void | removeIndividualEnvironmentProcess (DtEnvironmentProcessPublisherForBulk *publisher) |
| Removes an individual EnvironmentProcess publisher for an object that was previously included in this bulk object. | |
| virtual void | setMaxBulkRecordsSize (unsigned maxSize) |
| Sets the maximum size for environment records in a single bulk environment process. | |
| virtual unsigned | maxBulkRecordsSize () const |
| Gets the maximum size for environment records in a single bulk environment process. | |
| virtual void | setGlobalIdChooser (GlobalIdChooser creator, void *usr) |
| Sets the global ID chooser function and usr data. | |
Protected Member Functions | |
| DtBulkEnvironmentProcessManager (const DtBulkEnvironmentProcessManager &orig) | |
| copy constructor – not implemented | |
| DtBulkEnvironmentProcessManager & | operator= (const DtBulkEnvironmentProcessManager &orig) |
| copy constructor – not implemented | |
Static Protected Member Functions | |
| static DtGlobalObjectDesignator | defaultGlobalIdChooser (void *usr) |
Protected Attributes | |
| DtExerciseConn * | myExConn |
| The exercise connection. | |
| GlobalIdChooser | myIdChooser |
| The function to choose global IDs for the bulk environment processes. | |
| void * | myIdChooserUsr |
| unsigned | myMaxBulkRecordsSize |
| The maximum size for environment records in a single bulk environment process. | |
| std::vector < DtBulkEnvironmentProcessPublisher * > | myBulkPublishers |
| The publishers of the bulk environment processes. | |
| std::list < DtEnvironmentProcessPublisherForBulk * > | myIndividualPublishers |
| The individual publishers for each environment process added to one the managed bulk publishers. | |
DtBulkEnvironmentProcessManager.
A class to manage bulk EnvironmentProcess publishers, ensuring that no publisher handles more individual EnvironmentProcess data than it should.
| DtBulkEnvironmentProcessManager::DtBulkEnvironmentProcessManager | ( | DtExerciseConn * | conn, |
| GlobalIdChooser | idChooser = 0, |
||
| void * | idChooserUsr = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
protected |
copy constructor – not implemented
|
virtual |
Tick (update) this object.
|
virtual |
Adds an individual EnvironmentProcess publisher for an object to be included in this bulk object.
|
virtual |
Removes an individual EnvironmentProcess publisher for an object that was previously included in this bulk object.
|
virtual |
Sets the maximum size for environment records in a single bulk environment process.
|
virtual |
Gets the maximum size for environment records in a single bulk environment process.
|
virtual |
Sets the global ID chooser function and usr data.
|
staticprotected |
|
protected |
copy constructor – not implemented
|
protected |
The exercise connection.
|
protected |
The function to choose global IDs for the bulk environment processes.
|
protected |
|
protected |
The maximum size for environment records in a single bulk environment process.
|
protected |
The publishers of the bulk environment processes.
|
protected |
The individual publishers for each environment process added to one the managed bulk publishers.