Instances of DtDisObjectManager are used to manage the set of DIS objects known to the federate.
More...
Detailed Description
Instances of DtDisObjectManager are used to manage the set of DIS objects known to the federate.
Constructor & Destructor Documentation
| DtDisObjectManager::DtDisObjectManager |
( |
| ) |
|
| DtDisObjectManager::~DtDisObjectManager |
( |
| ) |
|
Note: The copy constructor and assignment operator are protected because there should only be one object manager per exercise connection.
These should not be called. copy constructor – not implemented
Member Function Documentation
Add local object to local objects list.
This is called in the publishers constructor
Add remote object to remote objects list.
This is called in the reflected entity constructor
| virtual const DtList* DtDisObjectManager::localObjects |
( |
| ) |
const |
|
virtual |
Get the list of all DIS objects local to the federate.
assignment operator – not implemented
| virtual const DtList* DtDisObjectManager::remoteObjects |
( |
| ) |
const |
|
virtual |
Get the list of all DIS objects discovered by the federate.
Remove local object to local objects list.
This is called in the publishers destructor.
Remove remote object to remote objects list.
This is called in the reflected entity destructor.
This returns the state rep of the object independent of whether it's local or remote.
Member Data Documentation
The objects in this list are created and deleted somewhere else.
They can be added/removed to/from the lists but should not be deleted. List of all known local objects (by id).
List of all known remote objects (by id).
The documentation for this class was generated from the following file: