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

Public Member Functions | |
| DtRemoteControlSystemListRequestor (DtScenarioManager &=DtScenarioManager::NullManager()) | |
| virtual | ~DtRemoteControlSystemListRequestor () override |
| virtual const DtSystemVector & | systemsForEntityType (const DtEntityType &) const |
| virtual bool | hasSystemsForEntityType (const DtEntityType &) const |
| virtual void | systems (const std::vector< DtEntityType > &types, DtSystemVector &systems) const |
| virtual void | updateSystems (const DtUUID &, DtSystemListRequestSubscriptionType subscribe) |
| virtual void | updateSystems (const std::list< DtUUID > &name) |
| virtual void | clearEntityTypeEntry (const DtEntityType &) |
Public Member Functions inherited from DtVrfSingleton | |
| DtVrfSingleton () | |
| virtual | ~DtVrfSingleton () |
| virtual std::string | className () const =0 |
| virtual void | cleanup () |
Static Public Member Functions | |
| static DtRemoteControlSystemListRequestor & | Instance (DtScenarioManager &) |
Public Attributes | |
| boost::signals2::signal< void(const DtUUID &)> | signal_systemListReceived |
| boost::signals2::signal< void(const DtUUID &, const DtSystemVector &)> | signal_systemListAndStateReceived |
Protected Types | |
| typedef std::map< DtEntityType, DtSystemVector > | SystemsListTable |
Protected Member Functions | |
| virtual void | sendMessage (const DtAdminMessage &) |
| virtual void | processSystemListResponse (const DtVrfObjectMessage *msg) |
Static Protected Member Functions | |
| static void | SensorListCallback (const DtVrfObjectMessage *msg, void *usr) |
Protected Attributes | |
| DtScenarioManager & | myScenarioManager |
| SystemsListTable | myTable |
Static Protected Attributes | |
| static const DtSystemVector | theEmptySystemVector |
|
protected |
| DtRemoteControlSystemListRequestor::DtRemoteControlSystemListRequestor | ( | DtScenarioManager & | = DtScenarioManager::NullManager() | ) |
|
overridevirtual |
|
static |
|
virtual |
Returns the list of systems found in myEntitiesTable for the given entity.
|
virtual |
Returns true if the given entity has an entry in myEntitiesTable.
|
virtual |
Puts the list of systems common to all given entity types.
|
virtual |
Creates an admin message to request a system list from the given entity.
|
virtual |
|
virtual |
Erase the entry in myEntitiesTable for the given entity type. Call this when the system widget is initialized to avoid showing systems left over from the last dialog with a system widget.
|
protectedvirtual |
Reimplemented in makVrf::DtSystemListRequestor.
|
staticprotected |
|
protectedvirtual |
Add the system in the response message to myEntitiesTable. Note– entries are not replaced; new systems are added to the existing list for the entity type. A dialog box must call clearEntityTypeEntry during initialization to clear the table.
| boost::signals2::signal<void(const DtUUID&)> DtRemoteControlSystemListRequestor::signal_systemListReceived |
| boost::signals2::signal<void(const DtUUID&, const DtSystemVector&)> DtRemoteControlSystemListRequestor::signal_systemListAndStateReceived |
|
protected |
|
protected |
|
staticprotected |