![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtVrfResourceManager (makVrv::DtDe &) | |
| virtual | ~DtVrfResourceManager () |
| virtual void | requestResourcesFor (const std::vector< std::string > &names) |
| Calls to DtGuiThreadVrfRemoteController to request resource information for the given object. | |
| virtual void | startMonitoring (const std::string &, int period) |
| Calls to DtVrfSimMessage to request monitoring of the resources for the specified entity. | |
| virtual bool | stopMonitoring (const std::string &) |
| Requests to stop monitoring for the specified entity. | |
| virtual int | updateRateFor (const std::string &) |
| Returns the current update rate for specified entity. | |
| virtual void | setUpdateRate (const std::string &, int) |
| Sets update rate for specified entity. | |
| bool | monitoring (const std::string &n) const |
| Returns true if monitoring item. | |
Static Public Member Functions | |
| static DtVrfResourceManager & | instance (makVrv::DtDe &de) |
| Returns instance of the DtVrfResourceManager. | |
Public Attributes | |
| boost::signal< void(const DtIfServerRequestResponse &)> | signal_resourceResponse |
Protected Types | |
| typedef std::map< std::string, int > | DtMonitoringMap |
Protected Member Functions | |
| virtual void | processResourceResponse (DtSimMessage *) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| std::map< std::string, int > | myUpdateRates |
| DtMonitoringMap | myMonitoring |
typedef std::map<std::string, int> makVrf::DtVrfResourceManager::DtMonitoringMap [protected] |
| virtual makVrf::DtVrfResourceManager::~DtVrfResourceManager | ( | ) | [virtual] |
| static DtVrfResourceManager& makVrf::DtVrfResourceManager::instance | ( | makVrv::DtDe & | de | ) | [static] |
Returns instance of the DtVrfResourceManager.
| virtual void makVrf::DtVrfResourceManager::requestResourcesFor | ( | const std::vector< std::string > & | names | ) | [virtual] |
Calls to DtGuiThreadVrfRemoteController to request resource information for the given object.
| virtual void makVrf::DtVrfResourceManager::startMonitoring | ( | const std::string & | , |
| int | period | ||
| ) | [virtual] |
Calls to DtVrfSimMessage to request monitoring of the resources for the specified entity.
| virtual bool makVrf::DtVrfResourceManager::stopMonitoring | ( | const std::string & | ) | [virtual] |
Requests to stop monitoring for the specified entity.
Returns true if no other items are monitoring this entity
| virtual int makVrf::DtVrfResourceManager::updateRateFor | ( | const std::string & | ) | [virtual] |
Returns the current update rate for specified entity.
| virtual void makVrf::DtVrfResourceManager::setUpdateRate | ( | const std::string & | , |
| int | |||
| ) | [virtual] |
Sets update rate for specified entity.
If entity is being monitored, sends message to update rate frequency.
| bool makVrf::DtVrfResourceManager::monitoring | ( | const std::string & | n | ) | const [inline] |
Returns true if monitoring item.
| virtual void makVrf::DtVrfResourceManager::processResourceResponse | ( | DtSimMessage * | ) | [protected, virtual] |
| boost::signal<void (const DtIfServerRequestResponse&)> makVrf::DtVrfResourceManager::signal_resourceResponse |
makVrv::DtDe& makVrf::DtVrfResourceManager::myDe [protected] |
std::map<std::string, int> makVrf::DtVrfResourceManager::myUpdateRates [protected] |