![]() |
VR-Forces Developer's Guide
|
DtLightGroupNameManager provides a singleton class that reads an input file (found in importConfig) that maps the light types found in our aerodrome shape files (originally from xplane) to the enumerations defined by DtRunwayLightsEnum and a subgroup name (that will be combined with the airport name and runway name to create the name for the light group that each runway light is put into.

Public Member Functions | |
| virtual | ~DtLightGroupNameManager () |
| DtLightGroupNameManager ()=delete | |
| DtLightGroupNameManager (const DtLightGroupNameManager &orig)=delete | |
| DtLightGroupNameManager & | operator= (const DtLightGroupNameManager &)=delete |
| virtual const std::string & | lightGroupFromLightName (const std::string &lightName) |
| virtual const std::string & | lightGroupFromLightEnum (DtRunwayLightsEnum lightType) |
| virtual const std::string & | lightGroupFromLightEnum (DtAerodromeLightsEnum lightType) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtLightGroupNameManager & | instance (DtDe &de) |
Protected Member Functions | |
| DtLightGroupNameManager (DtDe &de) | |
| virtual bool | readLightGroupsByNameFile (const std::string &path, const std::string &lightGroupsFilename, bool runway) |
Protected Attributes | |
| DtDe & | myDe |
| std::unordered_map < std::string, std::string > | myLightGroupsByNameMap |
| std::unordered_map < DtRunwayLightsEnum, std::string > | myLightGroupsByRunwayLightsEnum |
| std::unordered_map < DtAerodromeLightsEnum, std::string > | myLightGroupsByAerodromeLightsEnum |
Static Protected Attributes | |
| static const char * | theRunwayLightGroupFilename |
| static const char * | theAerodromeLightGroupFilename |
|
protected |
CTOR.
|
virtual |
DTOR.
|
delete |
Default CTOR.
|
delete |
Assignment operator.
|
delete |
Assignment operator.
|
virtual |
Look up the light group part name for the given light type name (from shape data)
|
virtual |
Look up the light group part name for the given light type enumeration value.
|
virtual |
Look up the light group part name for the given light type enumeration value.
|
protectedvirtual |
Read the light group mapping file. Called from the constructor.
|
static |
Get an instance of the DtLightGroupNameManager. If one has not yet been registered, this method will create, register, and return a new instance.
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |