![]() |
VR-Forces Developer's Guide
|
The DtTacticalGraphicOverlaySettingsManager class will keep track of overlay state and restore it when the scenario is loaded. The read call will load settings and it will apply those settings when the DtTacticalGraphicsOverlayManager has the layer set, or, the layer already exists.

Classes | |
| struct | OverlayData |
Public Member Functions | |
| DtTacticalGraphicOverlaySettingsManager (makVrv::DtDe &) | |
| virtual | ~DtTacticalGraphicOverlaySettingsManager () override |
| virtual void | allObjectsDiscovered () |
| virtual bool | layerIsHidden (const std::string &) const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtTacticalGraphicOverlaySettingsManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtTacticalGraphicOverlaySettingsManager *) |
Protected Types | |
| typedef std::map< std::string, OverlayData > | Overlays |
Protected Member Functions | |
| virtual void | read (boost::archive::xml_iarchive &ar, int version) override |
| virtual void | write (boost::archive::xml_oarchive &ar, int version) const override |
| virtual void | slot_overlayAdded (const std::string &) |
| virtual void | slot_overlayDeleted (const std::string &) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| Overlays | myOverlays |
| makVrv::DtSignalConnectionManager | myConnections |
|
protected |
| makVrf::DtTacticalGraphicOverlaySettingsManager::DtTacticalGraphicOverlaySettingsManager | ( | makVrv::DtDe & | ) |
|
overridevirtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
|
virtual |
Will only return true during load if the layer is supposed to be hidden.
|
overrideprotectedvirtual |
Implements makVrf::DtGuiSetting.
|
overrideprotectedvirtual |
Implements makVrf::DtGuiSetting.
|
protectedvirtual |
Once an item is restored it is removed from the internal list. The internal overlays list is only valid after a read and is not adjusted after it is read in.
|
protectedvirtual |
|
protected |
|
mutableprotected |
|
protected |