VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtVrfResourceRequestor Class Reference

The class that is the interface between the GUI and the back-end. More...

Inheritance diagram for makVrf::DtVrfResourceRequestor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfResourceRequestor (makVrv::DtDe &)
virtual ~DtVrfResourceRequestor ()
virtual void requestResourcesFor (const std::vector< makVrv::DtSimEntry * > &data)
virtual void startMonitoring (const std::string &, int rate=-1)
 Start monitoring for this entity.
virtual void stopMonitoring (const std::string &)
 Stop monitoring for the specified entity.
virtual void setUpdateRate (const std::string &entity, int)
 Sets the update rate for entity being monitored.

Protected Member Functions

virtual void slot_resourceResponse (const DtIfServerRequestResponse &)
virtual void resourcesChanged ()=0
 Virtual overrides to complete class.
virtual void resourceCheckingDisabled ()=0
 Called when this item can not longer set resources.
virtual void addResource (const DtResource &)=0
 Called to add a new resource.
virtual void resourceCheckComplete ()=0
 Called when resource checking is complete.
virtual void resourceUpdated (const DtResource &)=0
 Called when a particular resource has been updated.

Protected Attributes

makVrv::DtDemyDe
std::vector< std::string > myResourceRequests
bool myCanSetResources
DtEntityResourceList myResources

Detailed Description

The class that is the interface between the GUI and the back-end.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrf::DtVrfResourceRequestor::requestResourcesFor ( const std::vector< makVrv::DtSimEntry * > &  data) [virtual]
virtual void makVrf::DtVrfResourceRequestor::startMonitoring ( const std::string &  ,
int  rate = -1 
) [virtual]

Start monitoring for this entity.

Use the refresh rate specified, unless it is -1, in which case use the value found in the resource manager

virtual void makVrf::DtVrfResourceRequestor::stopMonitoring ( const std::string &  ) [virtual]

Stop monitoring for the specified entity.

virtual void makVrf::DtVrfResourceRequestor::setUpdateRate ( const std::string &  entity,
int   
) [virtual]

Sets the update rate for entity being monitored.

virtual void makVrf::DtVrfResourceRequestor::resourcesChanged ( ) [protected, pure virtual]
virtual void makVrf::DtVrfResourceRequestor::resourceCheckingDisabled ( ) [protected, pure virtual]

Called when this item can not longer set resources.

This will happen when multiple requests are made through this class and there are no common resources

Implemented in makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceConditionalLogic, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.

virtual void makVrf::DtVrfResourceRequestor::addResource ( const DtResource ) [protected, pure virtual]
virtual void makVrf::DtVrfResourceRequestor::resourceCheckComplete ( ) [protected, pure virtual]
virtual void makVrf::DtVrfResourceRequestor::resourceUpdated ( const DtResource ) [protected, pure virtual]

Member Data Documentation

std::vector<std::string> makVrf::DtVrfResourceRequestor::myResourceRequests [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)