![]() |
VR-Forces Developer's Guide
|
The class that is the interface between the GUI and the back-end.

Classes | |
| struct | DtEmitterModeDataRecord |
| struct | EmitterInfo |
Public Types | |
| typedef std::map< int, EmitterInfo > | EmitterModes |
Public Member Functions | |
| DtRemoteControlEmitterModesRequestor (DtScenarioManager &=DtScenarioManager::NullManager()) | |
| virtual | ~DtRemoteControlEmitterModesRequestor () |
| virtual std::string | currentModeFor (const DtUUID &entity, int emitterId) const |
| virtual std::string | emitterNameFor (const DtUUID &entity, int emitterId) const |
| virtual std::vector< int > | emitterIdsFor (const DtUUID &entity) const |
| virtual std::vector< std::string > | modesFor (const DtUUID &entity, int emitterId) const |
| virtual bool | hasModesFor (const DtUUID &entity) const |
| virtual bool | hasEmitterFor (const DtUUID &entity, int id) const |
| virtual EmitterModes | groupIdsAndModes (std::vector< DtUUID > entities) |
| virtual int | groupModes (std::vector< DtUUID > entities, int emitterId, std::vector< std::string > &returnModes) |
| virtual void | requestModes (const DtUUID &entity)=0 |
| virtual void | removeModeFor (const DtUUID &) |
Public Attributes | |
| boost::signals2::signal< void(DtUUID, int)> | signal_modesReceived |
Protected Member Functions | |
| virtual void | sendMessage (const DtAdminMessage &) |
| virtual void | processModes (const DtUUID &, const DtRadarModesAdmin &) |
Protected Attributes | |
| DtScenarioManager & | myScenarioManager |
| std::map< DtUUID, DtEmitterModeDataRecord > | myEntitiesTable |
| typedef std::map<int, EmitterInfo> DtRemoteControlEmitterModesRequestor::EmitterModes |
| DtRemoteControlEmitterModesRequestor::DtRemoteControlEmitterModesRequestor | ( | DtScenarioManager & | = DtScenarioManager::NullManager() | ) |
CTOR.
|
virtual |
Destructor.
|
virtual |
Gets the cached current mode for an entity given an emitter id for that entity.
|
virtual |
Gets the cached emitter name for an entity given an emitter id for that entity.
|
virtual |
Gets the cached emitter ids for all emitters on an entity.
|
virtual |
Gets all the cached modes for an entity given an emitter id for that entity.
|
virtual |
Checks to see if there are modes in the cache for an entity.
|
virtual |
Checks to see if the emitter id exists for this entity.
|
virtual |
|
virtual |
Given a list of entities, gets the intersection of the specified id's modes and returns them in a single list. Intersection meaning commonality between the entities in cache.
|
pure virtual |
Request an update to the cached data from the sim for a specific entity.
Implemented in DtRemoteControlJammingModeRequestor, DtRemoteControlRadarModeRequestor, and DtRemoteControlActiveSonarModeRequestor.
|
virtual |
|
protectedvirtual |
Reimplemented in makVrf::DtActiveSonarModeRequestor, makVrf::DtJammingModeRequestor, and makVrf::DtRadarModeRequestor.
|
protectedvirtual |
Processes the general contents of a radar mode admin messages, used by other mode requestors.
| boost::signals2::signal<void (DtUUID, int)> DtRemoteControlEmitterModesRequestor::signal_modesReceived |
Signal sent when new data has arrived for a particular entity and its emitter id.
|
protected |
|
protected |