![]() |
MAK Data Logger API Documentation for HLA
|
Managers known DIS entity types. More...
Collaboration diagram for DtLgrEntityTypeManager:Classes | |
| struct | EntityManagerDesc |
| Description header followed by array of entityTypeDesc. More... | |
| struct | EntityTypeDesc |
| Description struct of a type. More... | |
Public Types | |
| typedef std::set< DtEntityType > | EntityTypeSet |
| typedef EntityTypeSet::iterator | iterator |
| typedef EntityTypeSet::const_iterator | const_iterator |
Public Member Functions | |
| DtLgrEntityTypeManager () | |
| CTOR. More... | |
| virtual | ~DtLgrEntityTypeManager () |
| DTOR. More... | |
| DtLgrEntityTypeManager (const DtLgrEntityTypeManager &rhs) | |
| DtLgrEntityTypeManager & | operator= (const DtLgrEntityTypeManager &rhs) |
| virtual void | addEntityType (const DtEntityType &type) |
| Add entity type. More... | |
| virtual void | removeEntityType (const DtEntityType &type) |
| Remove an entity type. More... | |
| virtual void | setSelectEntityType (const DtEntityType &type, bool selected) |
| Select an entity type. More... | |
| virtual bool | isEntityTypeKnown (const DtEntityType &type) const |
| Check whether the entity type has been added. More... | |
| virtual bool | isEntityTypeSelected (const DtEntityType &type) const |
| Check whether the entity type has been selected. More... | |
| virtual void | clear () |
| Remove all entity types. More... | |
| virtual void | unselectAll () |
| Clear selected type set. More... | |
| virtual void | selectAll () |
| Copy all entities to selected type set. More... | |
| virtual size_t | count () const |
| Get the number of entitys. More... | |
| virtual size_t | selectedCount () const |
| Get the selected entity count. More... | |
| virtual char * | serialize (int &size) const |
| Serialize the type manager. More... | |
| virtual int | setFromSerialization (const char *data, int size) |
| Set the manager via it's serialize data. More... | |
| virtual iterator | begin () |
| Get an iterator to the first type. More... | |
| virtual const_iterator | begin () const |
| Get an iterator to the first type. More... | |
| virtual iterator | selected_begin () |
| Get an iterator to the first type. More... | |
| virtual const_iterator | selected_begin () const |
| Get an iterator to the first type. More... | |
| virtual iterator | end () |
| Get an iterator past the last type. More... | |
| virtual const_iterator | end () const |
| Get an iterator past the last type. More... | |
| virtual iterator | selected_end () |
| Get an iterator past the last type. More... | |
| virtual const_iterator | selected_end () const |
| Get an iterator past the last type. More... | |
Protected Attributes | |
| EntityTypeSet | myEntityTypes |
| EntityTypeSet | mySelectedEntities |
Managers known DIS entity types.
| typedef EntityTypeSet::const_iterator DtLgrEntityTypeManager::const_iterator |
| typedef std::set<DtEntityType> DtLgrEntityTypeManager::EntityTypeSet |
| typedef EntityTypeSet::iterator DtLgrEntityTypeManager::iterator |
| DtLgrEntityTypeManager::DtLgrEntityTypeManager | ( | ) |
CTOR.
|
virtual |
DTOR.
| DtLgrEntityTypeManager::DtLgrEntityTypeManager | ( | const DtLgrEntityTypeManager & | rhs | ) |
|
virtual |
Add entity type.
|
virtual |
Get an iterator to the first type.
|
virtual |
Get an iterator to the first type.
|
virtual |
Remove all entity types.
|
virtual |
Get the number of entitys.
|
virtual |
Get an iterator past the last type.
|
virtual |
Get an iterator past the last type.
|
virtual |
Check whether the entity type has been added.
|
virtual |
Check whether the entity type has been selected.
| DtLgrEntityTypeManager& DtLgrEntityTypeManager::operator= | ( | const DtLgrEntityTypeManager & | rhs | ) |
|
virtual |
Remove an entity type.
|
virtual |
Copy all entities to selected type set.
|
virtual |
Get an iterator to the first type.
|
virtual |
Get an iterator to the first type.
|
virtual |
Get an iterator past the last type.
|
virtual |
Get an iterator past the last type.
|
virtual |
Get the selected entity count.
|
virtual |
Serialize the type manager.
|
virtual |
Set the manager via it's serialize data.
|
virtual |
Select an entity type.
|
virtual |
Clear selected type set.
|
protected |
|
protected |