VR-Forces Development_Version 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< DtUUID > &names)
 Calls to DtGuiThreadVrfRemoteController to request resource information for the given object.
virtual void startMonitoring (const DtUUID &, int period)
 Calls to DtVrfSimMessage to request monitoring of the resources for the specified entity.
virtual bool stopMonitoring (const DtUUID &)
 Requests to stop monitoring for the specified entity.
virtual int updateRateFor (const DtUUID &)
 Returns the current update rate for specified entity.
virtual void setUpdateRate (const DtUUID &, int)
 Sets update rate for specified entity.
bool monitoring (const DtUUID &uuid) 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< DtUUID, int > DtMonitoringMap

Protected Member Functions

virtual void processResourceResponse (DtSimMessage *)

Protected Attributes

makVrv::DtDemyDe
std::map< DtUUID, int > myUpdateRates
DtMonitoringMap myMonitoring

Member Typedef Documentation

typedef std::map<DtUUID, 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< DtUUID > &  names)
virtual

Calls to DtGuiThreadVrfRemoteController to request resource information for the given object.

virtual void makVrf::DtVrfResourceManager::startMonitoring ( const DtUUID ,
int  period 
)
virtual

Calls to DtVrfSimMessage to request monitoring of the resources for the specified entity.

virtual bool makVrf::DtVrfResourceManager::stopMonitoring ( const DtUUID )
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 DtUUID )
virtual

Returns the current update rate for specified entity.

virtual void makVrf::DtVrfResourceManager::setUpdateRate ( const DtUUID ,
int   
)
virtual

Sets update rate for specified entity.

If entity is being monitored, sends message to update rate frequency.

bool makVrf::DtVrfResourceManager::monitoring ( const DtUUID uuid) 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<DtUUID, 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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)