![]() |
VR-Forces 4.3.1 Class Documentation
|
The class that is the interface between the GUI and the back-end. More...

Public Member Functions | |
| DtVrfResourceRequestor (makVrv::DtDe &) | |
| virtual | ~DtVrfResourceRequestor () |
| virtual void | requestResourcesFor (const std::vector< makVrv::DtSimEntry * > &data, bool entitiesOnly=true) |
| Requests resources for all items in the vector. | |
| 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::DtDe & | myDe |
| std::vector< std::string > | myResourceRequests |
| bool | myCanSetResources |
| DtEntityResourceList | myResources |
The class that is the interface between the GUI and the back-end.
| makVrf::DtVrfResourceRequestor::DtVrfResourceRequestor | ( | makVrv::DtDe & | ) |
|
virtual |
|
virtual |
Requests resources for all items in the vector.
If entitiesOnly is true will only request resources for those items that are of entity type, else will request resources for all types (environmentals, aggregates, entities)
|
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 |
Stop monitoring for the specified entity.
|
virtual |
Sets the update rate for entity being monitored.
|
protectedvirtual |
|
protectedpure virtual |
Virtual overrides to complete class.
Called when resources received has changed
Implemented in makVrf::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceConditionalLogic, makVrf::DtResourceSelectionEntryWidget, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.
|
protectedpure 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::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceConditionalLogic, makVrf::DtResourceSelectionEntryWidget, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.
|
protectedpure virtual |
Called to add a new resource.
Implemented in makVrf::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceSelectionEntryWidget, makVrf::DtResourceConditionalLogic, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.
|
protectedpure virtual |
Called when resource checking is complete.
Implemented in makVrf::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceConditionalLogic, makVrf::DtResourceSelectionEntryWidget, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.
|
protectedpure virtual |
Called when a particular resource has been updated.
Implemented in makVrf::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtResourceSelectionEntryWidget, makVrf::DtResourceConditionalLogic, makVrf::DtSetResourcesDialog, makVrf::DtVrfDataInterraceResourceRequestor, and makVrf::makVrfGuiObjectInformationQt::DtResourcePageRequestor.
|
protected |
|
protected |
|
protected |
|
protected |