![]() |
VR-Forces 5.0.3 Developer's Guide
|
Factory for creating appearance mappers for entity types.
Public Member Functions | |
| virtual | ~DtEntityAppearanceMapperFactory () |
| DtEntityAppearanceMapperFactory () | |
| DtEntityAppearanceMapperFactory (const DtEntityAppearanceMapperFactory &other)=delete | |
| DtEntityAppearanceMapperFactory & | operator= (const DtEntityAppearanceMapperFactory &other)=delete |
| DtEntityAppearanceMapper * | getOrCreateMapper (const DtEntityType &type) const |
Protected Types | |
| typedef std::unordered_map < std::string, DtEntityAppearanceMapper * > | AppearanceMapperCache |
Protected Member Functions | |
| virtual DtEntityAppearanceMapper * | createPlatformMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createMunitionMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createLifeFormMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createEnvironmentalMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createCulturalMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createSensorMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createSupplyMapper (const DtEntityType &type) const |
| virtual DtEntityAppearanceMapper * | createExpendableMapper (const DtEntityType &type) const |
Protected Attributes | |
| AppearanceMapperCache | myMutableAppearanceMapCache |
Friends | |
| class | DtEntityAppearanceMapperFactoryCreator |
|
protected |
|
virtual |
DTOR.
| makVrv::DtEntityAppearanceMapperFactory::DtEntityAppearanceMapperFactory | ( | ) |
CTOR.
|
delete |
Copy Constructor not implemented – Copy Not Allowed.
|
delete |
Assignment Operator Not implemented – Assignment Not Allowed.
| DtEntityAppearanceMapper* makVrv::DtEntityAppearanceMapperFactory::getOrCreateMapper | ( | const DtEntityType & | type | ) | const |
Get the mapper for this entity type or create the mapper if it is not in the cache.
|
protectedvirtual |
Create a mapper for a platform.
|
protectedvirtual |
Create a mapper for a munition.
|
protectedvirtual |
Create a mapper for a life form.
|
protectedvirtual |
Create a mapper for a environmental entity.
|
protectedvirtual |
Create a mapper for a environmental entity.
|
protectedvirtual |
Create a mapper for a sensor entity.
|
protectedvirtual |
Create a mapper for a supply entity.
|
protectedvirtual |
Create a mapper for a expendable entity.
|
friend |
Friend the creator.
|
mutableprotected |