![]() |
VR-Forces Developer's Guide
|
End User Description: DtTaskControllerComponent is the base class for all controllers that respond to tasks.
Developer Description: DtTaskControllerComponent provides a base class for any controller that intends to register for DtSimTask messages. It implements the basic semantics necessary for the tasking model to work, including, taskNotify(), taskComplete(), skipTask(), and clearTask(). Controllers will want to derive from one of the subclasses of DtTaskControllerComponent, most likely DtSingleTaskControllerComponent.

Public Types | |
| enum | AcceptLevel { AcceptLevel_Accept = 0, AcceptLevel_Partial = 1, AcceptLevel_Error = 2, AcceptLevel_NoAccept = 99 } |
Public Types inherited from DtReaderWriter | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::vector< DtFilename > | SearchPaths |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
| typedef DtReaderWriterFactory *(* | DtReaderWriterFactoryCreatorFcn )() |
Public Member Functions | |
| DtTaskControllerComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *compDesc=nullptr, DtReaderWriterRegistry *parentRegistry=nullptr) | |
| virtual | ~DtTaskControllerComponent () |
| virtual const char * | type () const override=0 |
| virtual AcceptLevel | acceptTask (const DtTaskMessage &task) |
| virtual bool | beginProcessingTask (const DtTaskMessage &task, DtSimTaskStatePtr taskState) |
| virtual void | taskNotify (const DtSimTask &task) override |
| virtual bool | showCurrentTaskInGui () const |
| virtual void | setRadio (DtSimRadio *radio) override |
| virtual void | registerTaskMsgCallbacks () |
| virtual void | addTaskProcessorCallback (const DtSimTaskMessageType &taskType, DtTaskMessageCallbackFcn fcn, void *usr) |
| virtual void | addTaskProcessorCallback (const DtSimTaskMessageType &taskType, DtMessageCallbackFcn fcn, void *usr) |
| virtual void | removeTaskProcessorCallback (const DtSimTaskMessageType &taskType, DtMessageCallbackFcn fcn, void *usr) |
| virtual void | removeTaskProcessorCallback (const DtSimTaskMessageType &taskType, DtTaskMessageCallbackFcn fcn, void *usr) |
| virtual bool | taskActive (int taskId) const =0 |
| virtual bool | clearTopLevelTasks ()=0 |
| virtual void | clearConflictingTopLevelTasks (const DtSimTaskMessageType &conflictType)=0 |
| virtual void | clearTasksByType (const DtSimTaskMessageType &taskType)=0 |
| virtual void | clearTaskById (int taskId)=0 |
| virtual DtSuspendedTaskInfo * | suspendTaskById (int taskId)=0 |
| virtual DtSuspendedTaskInfo * | suspendSubtaskById (int taskId, int subtaskId)=0 |
| virtual std::list < DtTaskMessage * > | currentTaskMessages () const =0 |
| virtual DtTaskWithTaskStateListPtr | topLevelTasks () const =0 |
| virtual void | enable () override |
| virtual void | disable () override |
| virtual void | sendTaskCanceled (DtTaskMessage *taskMsg) |
| virtual bool | taskVisualizationsActive () const override |
| virtual void | setTasked (bool tasked) |
| virtual bool | tasked () const |
Public Member Functions inherited from DtControllerComponent | |
| DtControllerComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| virtual | ~DtControllerComponent () |
| virtual bool | init () override |
| virtual bool | postAddComponentsInit () override |
| virtual DtSimRadio * | radio () |
| virtual void | clearTask () |
| virtual void | enableTaskTypes () |
| virtual void | enableScritedTask (const DtString &scriptId) |
| virtual void | disableTaskTypes () |
Public Member Functions inherited from DtSimComponent | |
| DtSimComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0) | |
| virtual | ~DtSimComponent () |
| virtual void | setParentSystem (DtComponentSystem *system) |
| DtComponentSystem * | parentSystem () const |
| virtual void | registerAttributeFunctions () |
| virtual void | preFirstTickInit () |
| virtual void | tick () |
| virtual void | postTick () |
| virtual void | timedTick () |
| virtual void | setMinTickPeriod (double minTickPeriod, double minTickPeriodVariance) |
| virtual void | setupFirstTickTime () |
| virtual void | setEntity (DtLocalObject *entity) |
| virtual DtSimComponent * | nextComponent () |
| virtual DtSimComponent * | prevComponent () |
| virtual void | setListItem (DtListItem *item) |
| virtual DtListItem * | listItem () |
| virtual void | putData (std::string &fp, int indentLevel=0) |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| virtual void | addInputPort (DtInputPort *port) |
| virtual void | removeInputPort (DtInputPort *port) |
| virtual DtInputPort * | lookupInputPort (const DtString &portName) |
| virtual DtList | inputPortList () const |
| virtual void | addOutputPort (DtOutputPort *port) |
| virtual void | removeOutputPort (DtOutputPort *port) |
| virtual DtOutputPort * | lookupOutputPort (const DtString &portName) |
| virtual DtList | outputPortList () const |
| virtual void | addInputPortGroup (DtInputPortGroup *group) |
| virtual void | removeInputPortGroup (DtInputPortGroup *group) |
| virtual DtInputPortGroup * | lookupInputPortGroup (const DtString &groupName) |
| virtual DtList | inputPortGroupList () const |
| virtual void | addOutputPortGroup (DtOutputPortGroup *group) |
| virtual void | removeOutputPortGroup (DtOutputPortGroup *group) |
| virtual DtOutputPortGroup * | lookupOutputPortGroup (const DtString &groupName) |
| virtual DtList | outputPortGroupList () const |
| virtual int | priority () const |
| virtual void | setPriority (int priority) |
| double | dT () const |
| virtual void | setDT (double deltaT) |
| virtual void | setComponentDescriptor (DtComponentDescriptor *componentDescriptor) |
| virtual const DtComponentDescriptor * | componentDescriptor () const |
| virtual bool | tickWhileDestroyed () const |
| DtVrfProcessStateRepositoryManager * | psrManager () |
| virtual const DtSymbolString & | componentFullName () const |
| DtPhysicalWorld * | physicalWorld () |
| const DtPhysicalWorld * | physicalWorld () const |
| const DtAttachedTerrain * | terrainAttachedTo () const |
| DtLocalObject * | entity () |
| const DtLocalObject * | entity () const |
| DtSimulationServices * | simulationServices () |
| const DtSimulationServices * | simulationServices () const |
| const Coordinate_System * | coordinateSystem () const |
| virtual void | isClutterChanged () |
| virtual bool | taskVisualizationsEnabled () const |
| makVrf::DtTaskVisualizationMap & | taskVisualizations () |
| virtual bool | isEnabled () |
| virtual void | setIsEnabled (bool yesNo) |
| virtual DtOutputStream & | objectConsoleDebug (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleVerbose (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleInfo (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleWarn (const DtString &channel="") const |
| virtual DtOutputStream & | objectConsoleError (const DtString &channel="") const |
| virtual int | notifyLevel () const |
| virtual DtSimResourceManager & | resourceManager () |
| virtual const DtSimResourceManager & | resourceManager () const |
| VRF4API_METHOD const DtSimulationServices * | simManager () const |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| bool | operator== (const DtReaderWriter &) const |
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| virtual void | postPutSelf () |
| virtual void | prePutSelf () |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| virtual void | postGetSelf () |
| virtual void | preGetSelf () |
| virtual void | writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| virtual DtSymbolString | name () const |
| virtual void | addAlias (const DtSymbolString &alias) |
| virtual void | addAlias (const DtString &alias) |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| bool | isReadonly () const |
| virtual void | reset () |
| virtual int | alignment () const |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| virtual void | setName (const DtString &) |
| virtual const char * | readerWriterType () const |
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| virtual bool | hasVariableReference () const |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| virtual void | recordUpdateTime () const |
| virtual bool | changedSinceLastChecked () |
| virtual bool | peekChangedSinceLastChecked () const |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| virtual DtSymbolString | variableName () const |
| virtual void | setVariableName (const DtSymbolString variableName) |
| virtual const DtReaderWriter * | defaultRWValue () const |
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| const DtReaderWriterRegistry & | registry () const |
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual DtRwVariableBindings * | generateVariableBindings () const |
| virtual bool | toXml (const DtFilename &) const |
| virtual bool | fromXml (const DtString &) |
| virtual bool | fromXmlFile (const DtFilename &) |
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| virtual void | getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
Protected Types | |
| typedef std::pair < DtTaskMessageCallbackFcn, void * > | DtTaskCallbackMapPair |
| typedef std::map < DtSimTaskMessageType, DtTaskCallbackMapPair > | DtTaskCallbackMap |
Protected Types inherited from DtSimComponent | |
| typedef std::map< DtString, DtInputPort * > | DtInputPortMap |
| typedef std::map< DtString, DtOutputPort * > | DtOutputPortMap |
| typedef std::map< DtString, DtInputPortGroup * > | DtInputPortGroupMap |
| typedef std::map< DtString, DtOutputPortGroup * > | DtOutputPortGroupMap |
Private Member Functions | |
| DtTaskControllerComponent () | |
| DtTaskControllerComponent (const DtTaskControllerComponent &orig) | |
| const DtTaskControllerComponent & | operator= (const DtTaskControllerComponent &orig) |
Additional Inherited Members | |
Static Protected Attributes inherited from DtSimComponent | |
| static DtSimComponentFactory * | myFactory |
Static Protected Attributes inherited from DtReaderWriter | |
| static DtString | theUnspecifiedValue |
| static DtGetSelfCallbackInfo | thePostGetSelfCallback |
| static DtPutSelfCallbackInfo | thePrePutSelfCallback |
| static const DtVariableBindingsList | theEmptyVariableBindingsList |
| static bool | theCreatorFcnSet |
| static DtReaderWriterFactory * | theFactory |
| static DtReaderWriterFactoryCreatorFcn | theFactoryCreatorFcn |
| static bool | thePutIndent |
| static DtOutputStream * | theOutputStream |
|
protected |
This map stores callbacks that have been registered to processes various tasks. The map is indexed by task type ID.
|
protected |
Levels that a task controller can accept a task it has registered for.
| DtTaskControllerComponent::DtTaskControllerComponent | ( | const DtString & | name, |
| DtLocalObject * | owner, | ||
| DtSimulationServices * | simServices, | ||
| DtComponentDescriptor * | compDesc = nullptr, |
||
| DtReaderWriterRegistry * | parentRegistry = nullptr |
||
| ) |
| name | Reader writer name of this component. |
| owner | The DtLocalObject that owns this component |
| simManager | The simulation manager (provides access to terrain, message interface, simulation clock). |
| desc | The component descriptor used to initialize this component. |
| parentRegistry | Pointer to the parent reader writer registry (the containing object that reads/writes this object). |
|
virtual |
destructor
|
private |
default constructor; should not be called. Here because the compiler will generate an unprotected one otherwise.
|
private |
copy constructor
|
overridepure virtual |
Returns a string identifies the class type of component. Type values are defined in compTypes.h. DtSimComponent creation functions are registered with the DtSimComponentFactory using the type values as the key. Warning: this function should always return the same pointer and it should be valid forever. This means the data should be static.
Implements DtControllerComponent.
Implemented in DtSurfaceEntityPilotController, DtRailPathController, DtDiGuyController, DtLauncherController, DtDisaggregatedMoveAlongController, DtDynamicTerrainController, DtRoadMovementController, DtHumanCollisionAvoidanceController, DtFixedWingMoveAlongController, DtGroundCollisionAvoidanceController, DtDisaggregatedLeadFollowInFormationController, DtWeaponController, DtBombController, DtBallisticGunController, DtConvoyTaskController, DtFixedWingPilotController, DtMunitionLaunchController, DtSensorGimbalController, DtAirRefuelSupplierController, DtLasingController, DtSurfaceEntityPatrolRouteController, DtFixedWingTakeoffController, DtGroundMovementChooserController, DtSurfaceEntityFollowEntityController, DtDisaggregatedMoveIntoFormationController, DtDynamicTerrainVehicleTrackController, DtGroundMoveToDestinationControllerComponent, DtRetreatController, DtBaseWeaponController, DtCruiseMissileDefaultController, DtHumanMoveAlongController, DtMissileTrackEntityController, DtAggregatedMoveToController, DtHumanMoveToController, DtOccupancyDirectorController, DtSurfaceEntityPatrolBetweenController, DtDisaggregatedMoveToLocationController, DtDynamicTerrainMunitionDamageController, DtEmbarkationController, DtFixedWingFlyIntoController, DtFixedWingLandingController, DtSurfaceEntityMoveAlongController, DtDetonationController, DtDisaggregatedPatrolAlongController, DtFixedWingFlightCommandController, DtLaserGuidedLauncherController, DtIndirectFireWeaponController, DtAirportLightingController, DtCruiseMissileLaunchController, DtDisaggregatedEmbarkationController, DtIffInterrogatorControllerComponent, DtLoiterMunitionLaunchController, DtParachuteController, DtRotaryWingLandingController, DtAircraftClutterAreaController, DtFixedWingDefaultController, DtShipClutterAreaController, DtSurfaceEntityMoveToLocationController, DtDisaggregatedPatrolBetweenController, DtHumanFollowController, DtLasingMissileTrackController, DtRotaryWingMoveAlongControllerComponent, DtRotaryWingTurnToHeadingController, DtSubSurfaceDepthController, DtSurfaceEntityStopController, DtSurfaceEntityTurnMoveController, DtHumanFleeController, DtHumanPatrolController, DtMissileMoveToControllerComponent, DtMoveAlongWithActionsController, DtRotaryWingFlightCommandController, DtGroundAutoControllerComponent, DtGroundMoveToControllerComponent, DtRotaryWingPatrolBetweenController, DtDisaggregatedWaitController, DtHumanCrosswalkController, DtLimitExistenceController, DtMissileControllerComponent, DtReleaseBombController, DtFixedWingMoveToController, DtFixedWingPatrolRouteController, DtGroundFollowEntityController, DtHumanUseDoorController, DtRotaryWingPatrolRouteController, DtAggregatedPatrolController, DtAggregateMountedMovementRelayController, DtGroundStopMovingControllerComponent, DtIntegratedLaserGuidedLauncherController, DtRotaryWingFollowEntityController, DtRotaryWingTaskController, DtScriptedMovementController, DtDisaggregatedTurnToHeadingController, DtResupplySupplierController, DtAggregatedMoveAlongController, DtDisaggregatedOccupancyDirectorController, DtFixedWingFollowEntityController, DtFixedWingPatrolBetweenController, DtGroundFollowInFormationControllerComponent, DtGroundPatrolBetweenController, DtGroundPatrolRouteController, DtGroundTurnToControllerComponent, DtMissileTargetController, DtResupplyReceiverController, DtRotaryWingLoiterControllerComponent, DtRotaryWingWaitController, DtWaitController, DtHumanTurnToController, DtRotaryWingMoveToControllerComponent, DtAffectEngineeringObjectController, DtAircraftClutterMovementController, DtCreateEngineeringObjectController, DtCruiseMissileMoveAlongController, DtGroundMoveAlongControllerComponent, DtLaunchExpendableResourceController, DtSurfaceEntityMoveToController, DtDisaggregatedMoveToController, DtShipClutterMovementController, DtProvideIndirectFireController, DtSendRadioMessageController, DtBallisticGunJoyController, DtDestroyEngineeringObjectController, DtFixedWingEmbarkationController, DtGroundLeadFormationControllerComponent, DtGroundMoveToLocationControllerComponent, DtHumanStopMovingController, DtLaunchSmokeController, DtLookAtPointController, DtBreachObstacleController, DtFixedWingJoyFlightController, DtGroundJoyMoveController, DtEmbeddedEntitiesController, DtFixedWingMoveToLocationController, DtAggregateFollowController, DtVerticalLauncherController, DtFascamController, DtRotaryWingEmbarkationController, DtRotaryWingMoveToLocationControllerComponent, DtSurfaceEntityKeepStationController, DtResupplyController, DtScenarioEventController, DtSimpleRadarWarningResponse, DtSimpleRadarWarningResponse, DtDiGuyGestureController, DtFixedWingHoldController, DtHoldController, DtWeaponManagementController, DtScriptMultiTaskController, and DtCompatibilityController.
|
virtual |
Called by the task manager when this controller is being considered to execute a task. Only tasks which already match types that this controller has registered for will be passed. This is used for the case where multiple task controllers have registered for the same task type. This gives the controller a chance to look at the parameters of the task and to reject the execution of the task based on parameters. Controllers can return any of the AcceptLevel levels. The task manager will choose a controller with the lowest AcceptLevel to execute, but will not choose any controller that returns AcceptLevel_NoAccept. Default implementation returns AcceptLevel_Accept. Override this to check parameters and conditionally return a different AccpetLevel.
Reimplemented in DtIndirectFireWeaponController, DtCruiseMissileLaunchController, DtLauncherController, DtLaserGuidedLauncherController, DtBallisticGunController, and DtLaunchExpendableResourceController.
|
virtual |
Called by the task manager when this controller should start executing the specified task.
| taskState | Used to convey at what point the task should begin execution. If taskState exists, execution of task may begin at some point other than the logical start of the task. If taskState is 0, begin processing at the logical start of the task. |
Reimplemented in DtRotaryWingFlightCommandController, DtMultiTaskControllerComponent, DtSingleTaskControllerComponent, DtFixedWingFlightCommandController, and DtScriptMultiTaskController.
|
inlineoverridevirtual |
This is called to let us know when some other component receives a task In the case of this component, we don't care what the task actually is.
Reimplemented from DtControllerComponent.
Reimplemented in DtSingleTaskControllerComponent.
|
virtual |
The current tasked state of this controller. True if this controller is currently executing a task.
|
virtual |
The current tasked state of this controller. True if this controller is currently executing a task.
|
virtual |
Reimplemented in DtFixedWingFlightCommandController, and DtRotaryWingFlightCommandController.
|
overridevirtual |
Calls registerTaskMsgCallbacks.
Reimplemented from DtControllerComponent.
Reimplemented in DtLasingController.
|
virtual |
Reimplemented in DtSurfaceEntityMoveAlongController, DtFixedWingMoveAlongController, DtFixedWingMoveToController, DtAggregatedMoveToController, DtHumanMoveToController, DtSurfaceEntityPatrolBetweenController, DtDisaggregatedEmbarkationController, DtHumanCollisionAvoidanceController, DtLasingController, DtMissileTrackEntityController, DtRoadMovementController, DtMissileMoveToControllerComponent, DtRailPathController, DtHumanFollowController, DtShipClutterMovementController, DtSurfaceEntityPatrolRouteController, DtDisaggregatedMoveAlongController, DtLaserGuidedLauncherController, DtFixedWingDefaultController, DtFixedWingFollowEntityController, DtRotaryWingFollowEntityController, DtSurfaceEntityFollowEntityController, DtRotaryWingPatrolBetweenController, DtSurfaceEntityTurnMoveController, DtDisaggregatedLeadFollowInFormationController, DtGroundMoveToDestinationControllerComponent, DtDisaggregatedMoveToLocationController, DtHumanMoveAlongController, DtAircraftClutterMovementController, DtLoiterMunitionLaunchController, DtRotaryWingPatrolRouteController, DtSurfaceEntityMoveToLocationController, DtCreateEngineeringObjectController, DtGroundFollowEntityController, DtOccupancyDirectorController, DtHumanFleeController, DtConvoyTaskController, DtCruiseMissileLaunchController, DtFixedWingTakeoffController, DtLauncherController, DtRotaryWingFlightCommandController, DtScriptedMovementController, DtBallisticGunController, DtIffInterrogatorControllerComponent, DtRotaryWingLoiterControllerComponent, DtAggregateFollowController, DtEmbarkationController, DtFixedWingLandingController, DtGroundMoveToControllerComponent, DtMoveAlongWithActionsController, DtRotaryWingMoveToControllerComponent, DtSurfaceEntityStopController, DtDisaggregatedMoveIntoFormationController, DtRotaryWingLandingController, DtDynamicTerrainVehicleTrackController, DtGroundMovementChooserController, DtGroundPatrolBetweenController, DtFixedWingPatrolBetweenController, DtLookAtPointController, DtDiGuyGestureController, DtDisaggregatedPatrolAlongController, DtFixedWingFlyIntoController, DtGroundMoveAlongControllerComponent, DtRotaryWingTurnToHeadingController, DtRetreatController, DtDestroyEngineeringObjectController, DtGroundTurnToControllerComponent, DtSubSurfaceDepthController, DtSurfaceEntityKeepStationController, DtWaitController, DtAggregatedMoveAlongController, DtGroundPatrolRouteController, DtRotaryWingWaitController, DtAggregateMountedMovementRelayController, DtFixedWingPatrolRouteController, DtGroundStopMovingControllerComponent, DtRotaryWingMoveAlongControllerComponent, DtGroundMoveToLocationControllerComponent, DtHumanPatrolController, DtAircraftClutterAreaController, DtDisaggregatedPatrolBetweenController, DtHumanTurnToController, DtRotaryWingMoveToLocationControllerComponent, DtScriptMultiTaskController, DtShipClutterAreaController, DtAggregatedPatrolController, DtProvideIndirectFireController, DtSendRadioMessageController, DtGroundFollowInFormationControllerComponent, DtFixedWingMoveToLocationController, DtHumanStopMovingController, DtDisaggregatedTurnToHeadingController, DtSurfaceEntityMoveToController, DtAffectEngineeringObjectController, DtDisaggregatedMoveToController, DtEmbeddedEntitiesController, DtGroundLeadFormationControllerComponent, DtLaunchExpendableResourceController, DtLaunchSmokeController, DtHoldController, DtWeaponManagementController, and DtCompatibilityController.
|
virtual |
Adds a new function for processing the specified task type. Also causes this controller to register for this task type with the task manager.
|
virtual |
Deprecated form of addTaskProcessorCallback. Callback signature does not include DtTaskState.
|
virtual |
Undoes anything done by addTaskProcessorCallback().
|
virtual |
Deprecated form of removeTaskProcessorCallback. Callback signature does not include DtTaskState.
|
static |
Task processor callback function that acts as an adapter for the deprecated forms of addTaskProcessorCallback and removeTaskProcessorCallback (the deprecated form is is version that.
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
If this controller has any top level tasks (not subtasks), they are cleared.
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Clears any top level tasks on this controller that conflict with the conflict task type. The task manager is used to determine what tasks conflict.
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Clears any tasks of the specified type running in this controller.
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Clears any task of the specified ID running in this controller.
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
pure virtual |
Implemented in DtSingleTaskControllerComponent, and DtMultiTaskControllerComponent.
|
overridevirtual |
Overridden to call registerTaskMsgCallbacks().
Reimplemented from DtControllerComponent.
Reimplemented in DtEmbarkationController, DtIndirectFireWeaponController, DtWeaponController, DtBallisticGunController, DtWaitController, DtProvideIndirectFireController, and DtHoldController.
|
overridevirtual |
Overridden to 1) remove any task message callbacks registered by this controller 2) call clear task.
Reimplemented from DtSimComponent.
Reimplemented in DtEmbarkationController, DtIndirectFireWeaponController, DtWeaponController, DtSingleTaskControllerComponent, DtBallisticGunController, DtLasingController, DtWaitController, DtProvideIndirectFireController, DtHoldController, DtWeaponManagementController, and DtAggregateMountedMovementRelayController.
|
virtual |
Sends the task canceled report for the specified message.
|
overridevirtual |
Returns true if task visualizations are currently active for this component. Default behavior for task controllers is to return true if the controller is currently tasked.
Reimplemented from DtSimComponent.
Reimplemented in DtParachuteController, DtHumanUseDoorController, DtDynamicTerrainVehicleTrackController, DtAircraftClutterAreaController, and DtShipClutterAreaController.
|
protectedvirtual |
Suspends all running subtasks of taskId, and puts the suspend info for each of them as subtasks into the provided suspendInfo.
|
protectedvirtual |
Suspends a single running subtasks of taskId, and puts the suspend info into the provided suspendInfo.
|
protectedvirtual |
In case this is aliased, return the actual script id.
|
private |
assignment operator
|
protected |
|
protected |
This list stores any DtTaskProcessorCallbackInfo allocated locally so that they can be deleted when the component is deleted.
|
protected |