#include <sharedstate.h>
Public Member Functions | |
| bool | AddResourceMapping (const DIS::EntityType &eid, const dtDAL::ResourceDescriptor &resource) |
| Adds a mapping from the DIS::EntityID to the resource identifier if no mapping exists. | |
| bool | RemoveResourceMapping (const DIS::EntityType &eid) |
| Takes the one to one mapping from the container for the supplied key. | |
| bool | GetMappedResource (const DIS::EntityType &eid, const dtDAL::ResourceDescriptor *&toWrite) const |
| Introduces the ActorType mapped to the EntityID. | |
| bool ResourceMapConfig::AddResourceMapping | ( | const DIS::EntityType & | eid, | |
| const dtDAL::ResourceDescriptor & | resource | |||
| ) |
Adds a mapping from the DIS::EntityID to the resource identifier if no mapping exists.
| bool ResourceMapConfig::RemoveResourceMapping | ( | const DIS::EntityType & | eid | ) |
Takes the one to one mapping from the container for the supplied key.
| eid | the key to the mapping. |
| bool ResourceMapConfig::GetMappedResource | ( | const DIS::EntityType & | eid, | |
| const dtDAL::ResourceDescriptor *& | toWrite | |||
| ) | const |
Introduces the ActorType mapped to the EntityID.
| toWrite | Overwritten with the instance of the mapped resource identifier. | |
| eid | The key being stored. |