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

Public Types | |
| typedef std::vector < DtSimTaskMessageType > | Conflicting |
| typedef DtBoost::shared_ptr < DtSimTask > | DtSimTaskSharedPtr |
| typedef std::pair < DtSimTaskSharedPtr, Conflicting > | TaskInformation |
| typedef std::vector < TaskInformation > | EntityTaskInformation |
| typedef boost::function< void(std::string, const EntityTaskInformation &)> | DtRequestTaskCallbackFcn |
| Request current tasks. | |
Public Member Functions | |
| DtVrfCurrentTaskManager (makVrv::DtDe &) | |
| virtual | ~DtVrfCurrentTaskManager () |
| virtual void | subscribeForTaskInformation (const makVrv::DtUniqueID &simId) |
| virtual void | unsubscribeForTaskInformation (const makVrv::DtUniqueID &simId, bool all=false) |
| virtual void | requestCurrentTasksFor (const makVrv::DtUniqueID &simId, DtRequestTaskCallbackFcn) |
| virtual const EntityTaskInformation * | tasksFor (const makVrv::DtUniqueID &simId) const |
| Returns the current tasks assigned to the entity. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtVrfCurrentTaskManager & | instance (makVrv::DtDe &de) |
| Returns instance of the DtVrfResourceManager. | |
Public Attributes | |
| boost::signal< void(const std::string &entityName)> | signal_currentTaskChanged |
Protected Types | |
| typedef std::pair < EntityTaskInformation, int > | EntityTasks |
| typedef std::map < makVrv::DtUniqueID, EntityTasks > | DtEntityTaskMap |
| typedef std::vector < DtRequestTaskCallbackFcn > | DtRequestCallbackVector |
| typedef std::map < makVrv::DtUniqueID, DtRequestCallbackVector > | DtRequestCallbackMap |
Protected Member Functions | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &entry) |
| virtual void | processEntityCurrentTaskCallback (const DtVrfObjectMessage *msg) |
| virtual makVrv::DtUniqueID | isMonitoring (const std::string &e) const |
| virtual makVrv::DtUniqueID | isRequesting (const std::string &e) const |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtEntityTaskMap | myTasks |
| DtRequestCallbackMap | myTaskRequestCallbacks |
| typedef std::vector<DtSimTaskMessageType> makVrf::DtVrfCurrentTaskManager::Conflicting |
| typedef DtBoost::shared_ptr<DtSimTask> makVrf::DtVrfCurrentTaskManager::DtSimTaskSharedPtr |
| typedef std::pair<DtSimTaskSharedPtr, Conflicting> makVrf::DtVrfCurrentTaskManager::TaskInformation |
| typedef std::vector<TaskInformation> makVrf::DtVrfCurrentTaskManager::EntityTaskInformation |
| typedef boost::function<void (std::string, const EntityTaskInformation&)> makVrf::DtVrfCurrentTaskManager::DtRequestTaskCallbackFcn |
Request current tasks.
Will return a structure, that, when released will also free memory for tasks, so, if you wish to keep a copy of the tasks, clone the tasks that come back
|
protected |
|
protected |
|
protected |
|
protected |
| makVrf::DtVrfCurrentTaskManager::DtVrfCurrentTaskManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the DtVrfResourceManager.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns the current tasks assigned to the entity.
Do not free information in list as it is maintained by this class
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
| boost::signal<void (const std::string& entityName)> makVrf::DtVrfCurrentTaskManager::signal_currentTaskChanged |
|
protected |
|
protected |
|
protected |