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
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
virtual bool taskVisualizationsActive() const
Returns true if task visualizations are currently active for this component. Default behavior is to r...
Definition: simRadio.h:30
All the information about a single suspended task. This information should be sufficient to resume th...
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:49
End User Description: DtTaskControllerComponent is the base class for all controllers that respond to...
Definition: taskControllerComponent.h:48
Definition: readerWriterRegistry.h:39
virtual void disable()
Is this component enabled or not. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
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. If enabled, component's tick function will be called, otherwise it will not. Default is true (enabled).
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:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
Definition: taskControllerComponent.h:30
bool myTaskIsRunning
Definition: taskControllerComponent.h:204
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:121
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. The type of the taskMsg is just the type of the...
Definition: taskMessage.h:21
std::pair< DtTaskMessageCallbackFcn, void * > DtTaskCallbackMapPair
This map stores callbacks that have been registered to processes various tasks. The map is indexed by...
Definition: taskControllerComponent.h:196
DtCallbackList< DtSimMessage * >::DtCallbackFunctionType DtMessageCallbackFcn
Message callback function signature.
Definition: messageExecutive.h:21
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86