67 virtual const char*
type()
const = 0;
85 virtual void setTasked(
bool tasked);
88 virtual bool tasked()
const;
96 virtual bool showCurrentTaskInGui()
const;
101 virtual void registerTaskMsgCallbacks();
131 static void deprecatedTaskProcessorCallbackAdapter(
DtSimMessage * msg,
void * usr,
135 virtual bool taskActive(
int taskId)
const = 0;
139 virtual bool clearTopLevelTasks() = 0;
149 virtual void clearTaskById(
int taskId) = 0;
157 virtual std::list<DtTaskMessage*> currentTaskMessages()
const = 0;
187 virtual void suspendSubtaskOfTask(
int taskId,
int subtaskId,
DtSuspendedTaskInfo* suspendInfo);
void(* DtTaskMessageCallbackFcn)(DtSimMessage *msg, void *usr, DtSimTaskStatePtr taskState)
Definition: taskControllerComponent.h:27
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
virtual bool taskVisualizationsActive() const
Returns true if task visualizations are currently active for this component.
class DtSimRadio:
Definition: simRadio.h:25
All the information about a single suspended task.
Definition: suspendedTaskInfo.h:23
virtual void setRadio(DtSimRadio *radio)
DtMessageCallbackFcn myFunction
Definition: taskControllerComponent.h:32
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
std::map< DtSimTaskMessageType, DtTaskCallbackMapPair > DtTaskCallbackMap
Definition: taskControllerComponent.h:197
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
End User Description: DtTaskControllerComponent is the base class for all controllers that respond to...
Definition: taskControllerComponent.h:48
Definition: readerWriterRegistry.h:39
virtual void taskNotify(const DtSimTask &task)
This is called to let us know when some other component receives a task In the case of this component...
Definition: taskControllerComponent.h:82
virtual DtSimTaskStatePtr taskState()
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
void * myUserData
Definition: taskControllerComponent.h:33
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void enable()
Is this component enabled or not.
File: simMsg.h.
Definition: simMessage.h:35
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
DtBoost::shared_ptr< DtTaskWithTaskStateList > DtTaskWithTaskStateListPtr
Definition: taskAndTaskStateDefines.h:27
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:29
Definition: taskControllerComponent.h:30
void(* DtMessageCallbackFcn)(DtSimMessage *msg, void *usr)
Message callback function signature.
Definition: messageExecutive.h:21
DtSimTask is an abstract base class from which real tasks can derive.
Definition: simTask.h:33
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
std::list< DtTaskProcessorCallbackInfo * > myTaskProcessorCallbackInfoList
This list stores any DtTaskProcessorCallbackInfo allocated locally so that they can be deleted when t...
Definition: taskControllerComponent.h:202
struct DtTaskProcessorCallbackInfo DtTaskProcessorCallbackInfo
DtTaskCallbackMap myTaskCallbackMap
Definition: taskControllerComponent.h:198
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19
std::pair< DtTaskMessageCallbackFcn, void * > DtTaskCallbackMapPair
This map stores callbacks that have been registered to processes various tasks.
Definition: taskControllerComponent.h:196