65 virtual void taskComplete(
int taskId,
bool success);
72 virtual void suspendTask(
int taskId);
87 virtual int sendSubtask(
DtSimTask& task,
int taskId);
96 virtual int sendTask(
DtSimTask& task,
const DtUUID& receiver,
int taskId,
97 bool actAsSubtask =
true,
bool useRadio =
false);
103 virtual void clearSubtask(
int subtaskId,
int taskId);
108 virtual void addPendingSubtaskId(
int subtaskId,
int taskId);
114 virtual bool findPendingSubtaskId(
int subtaskId,
int taskId);
117 virtual bool isSubtasked()
const;
123 virtual void removePendingSubtaskId(
int subtaskId,
int taskId);
133 virtual void removeAllPendingSubtaskIds(
int taskId);
136 virtual std::vector<int> currentPendingSubstaskIds(
int taskId)
const;
140 virtual bool decideToGiveUpTask()
const;
145 virtual void giveUpTask();
174 virtual void setScriptTickPeriod(
const DtString& scriptId,
double period);
196 virtual void addCurrentTaskMessage(
const DtTaskMessage* taskMessage);
199 virtual void clearCurrentTaskMessage(
int taskId);
203 virtual void clearPendingSubtasks(
int taskId);
212 virtual int taskIdWhichStartedSubtask(
int subtaskId);
217 virtual void cleanupInactiveSubtaskStatus(
int taskId);
virtual makVrf::DtAreaTaskVisualizationPtr areaTaskVisualization(const DtString &name)
Finds an existing or creates a new area task visualization with the given name.
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
virtual void destroyTaskVisualizations()
Destroys all task visualizations for this component.
virtual std::list< DtTaskMessage * > currentTaskMessages() const =0
This is a DtReaderWriter subclass which holds the status of a subtask that was issues by another task...
Definition: taskStatusEntry.h:27
virtual bool beginProcessingTask(const DtTaskMessage &task, DtSimTaskStatePtr taskState)
Called by the task manager when this controller should start executing the specified task...
All the information about a single suspended task. This information should be sufficient to resume th...
Definition: suspendedTaskInfo.h:23
virtual void clearTask()
Called when you want to clear out this component's task state. Base class implementation does nothing...
virtual DtTaskWithTaskStateListPtr topLevelTasks() const =0
virtual void destroyTaskVisualization(const DtString &name)
Destroys an existing task visualization.
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
This class provides a base class for all controllers that are capable of executing a DtSimTask...
Definition: multiTaskControllerComponent.h:23
Definition: readerWriterRegistry.h:39
virtual makVrf::DtTextTaskVisualizationPtr textTaskVisualization(const DtString &name)
Finds an existing or creates a new text task visualization with the given name.
virtual bool clearTopLevelTasks()=0
If this controller has any top level tasks (not subtasks), they are cleared.
virtual bool init()
Calls setRadio()
DtBoost::shared_ptr< DtSimTaskState > DtSimTaskStatePtr
Definition: taskAndTaskStateDefines.h:18
virtual makVrf::DtPointTaskVisualizationPtr pointTaskVisualization(const DtString &name)
Finds an existing or creates a new point task visualization with the given name.
virtual DtSuspendedTaskInfo * suspendSubtaskById(int taskId, int subtaskId)=0
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void clearTasksByType(const DtSimTaskMessageType &taskType)=0
Clears any tasks of the specified type running in this controller.
virtual void clearConflictingTopLevelTasks(const DtSimTaskMessageType &conflictType)=0
Clears any top level tasks on this controller that conflict with the conflict task type...
Define constants for types of tasks, sets, admin messages, reports, and sim commands (all sent via ra...
virtual DtSuspendedTaskInfo * suspendTaskById(int taskId)=0
virtual makVrf::DtLineTaskVisualizationPtr lineTaskVisualization(const DtString &name)
Finds an existing or creates a new line task visualization with the given name.
DtBoost::shared_ptr< DtTaskWithTaskStateList > DtTaskWithTaskStateListPtr
Definition: taskAndTaskStateDefines.h:27
virtual bool taskActive(int taskId) const =0
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
virtual void clearTaskById(int taskId)=0
Clears any task of the specified ID running in this controller.
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
1) Define the interface class that will be used to represent the next and current frames...
Definition: taskVisualizationStateComponent.h:260
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
virtual void postTick()
This function is called immediately after tick() is called. Implementation in this class just ticks t...
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