VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtVrfResourceManager Class Reference
Inheritance diagram for makVrf::DtVrfResourceManager:
Inheritance graph
[legend]

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.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtVrfResourceManagerinstance (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::DtDemyDe
std::map< std::string, intmyUpdateRates
DtMonitoringMap myMonitoring

Member Typedef Documentation

typedef std::map<std::string, int> makVrf::DtVrfResourceManager::DtMonitoringMap
protected

Constructor & Destructor Documentation

makVrf::DtVrfResourceManager::DtVrfResourceManager ( makVrv::DtDe )
virtual makVrf::DtVrfResourceManager::~DtVrfResourceManager ( )
virtual

Member Function Documentation

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 )
protectedvirtual

Member Data Documentation

boost::signal<void (const DtIfServerRequestResponse&)> makVrf::DtVrfResourceManager::signal_resourceResponse
makVrv::DtDe& makVrf::DtVrfResourceManager::myDe
protected
std::map<std::string, int> makVrf::DtVrfResourceManager::myUpdateRates
protected
DtMonitoringMap makVrf::DtVrfResourceManager::myMonitoring
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)