VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtControllerComponent Class Referenceabstract

End User Description: DtControllerComponent is the base class for all controllers components.
Developer Description: The DtControllerComponent class extends the base DtSimComponent to perform some task management upon the start of a task, and in the event that a task is being cleared. It caches a pointer to the entity's radio for convenience. The DtControllerComponent class implements the functionality of the DtScriptEnableController.

Inherits DtSimComponent.

Inherited by DtActivityController, DtAggregateCombatAdjustmentController, DtAggregateDatabaseLoggingController, DtAggregateLoadoutController, DtAimAtPointController, DtAimWeaponController, DtAircraftAdsbController, DtAirVehicleWeaponHoldController, DtArticulatedPartController, DtBaseMountingController, DtBreachDetector, DtCombatRangeController, DtContactFusionController, DtDefaultLandingGearController, DtDisaggregatedFormationController, DtDynamicFeaturesController, DtEngagementReportGeneratorController, DtEnvironmentalActivationController, DtEventTriggerController, DtFixedWingGunneryController, DtGpsJammerController, DtGpsReceiverController, DtGroundVehicleTrailingEffectController, DtHumanAcquireController, DtHumanEyepointController, DtHumanFaceTargetController, DtHumanPostureController, DtIffControllerComponent, DtJammerController, DtMissileDistractionController, DtMovementBasedTerrainPreloadController, DtNavTagTraversalController, DtOrganizationController, DtRangeRingController, DtRotaryWingLandingGearController, DtRotaryWingPilotController, DtRotorWashController, DtScriptEnableController, DtScriptReactiveTaskController, DtSetController, DtShapeBasedTerrainPreloadController, DtShipAisController, DtSpawnController, DtSpotReportGeneratorController, DtStatePropertyInitializationController, DtSyncMatrixController, DtSystemSwitcherComponent, DtTagVolumeDimensionsController, DtTaskControllerComponent, DtTDLMessageGeneratorController, DtTurretAcquireController, DtTurretSlewController, and DtVrfObjectDataMessenger.

Public Member Functions

 DtControllerComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
virtual ~DtControllerComponent () override
 
virtual const chartype () const override=0
 
virtual bool init () override
 
virtual bool postAddComponentsInit () override
 
virtual DtSimRadioradio ()
 
virtual void taskNotify (const DtSimTask &task)
 
virtual void clearTask ()
 
virtual void enableTaskTypes ()
 
virtual void enableScriptedTask (const DtString &scriptId)
 
virtual void disableTaskTypes ()
 
virtual void enable () override
 
- Public Member Functions inherited from DtSimComponent
 DtSimComponent (const DtString &name, DtLocalObject *owner, DtSimulationServices *simServices, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
virtual ~DtSimComponent () override
 
virtual void setParentSystem (DtComponentSystem *system)
 
DtComponentSystemparentSystem () 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 DtSimComponentnextComponent ()
 
virtual DtSimComponentprevComponent ()
 
virtual void setListItem (DtListItem *item)
 
virtual DtListItem * listItem ()
 
virtual void putData (std::string &fp, int indentLevel=0) override
 
virtual DtlObjPtr getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
 
virtual void addInputPort (DtInputPort *port)
 
virtual void removeInputPort (DtInputPort *port)
 
virtual DtInputPortlookupInputPort (const DtString &portName)
 
virtual DtList inputPortList () const
 
virtual void addOutputPort (DtOutputPort *port)
 
virtual void removeOutputPort (DtOutputPort *port)
 
virtual DtOutputPortlookupOutputPort (const DtString &portName)
 
virtual DtList outputPortList () const
 
virtual void addInputPortGroup (DtInputPortGroup *group)
 
virtual void removeInputPortGroup (DtInputPortGroup *group)
 
virtual DtInputPortGrouplookupInputPortGroup (const DtString &groupName)
 
virtual DtList inputPortGroupList () const
 
virtual void addOutputPortGroup (DtOutputPortGroup *group)
 
virtual void removeOutputPortGroup (DtOutputPortGroup *group)
 
virtual DtOutputPortGrouplookupOutputPortGroup (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
 
DtVrfProcessStateRepositoryManagerpsrManager ()
 
virtual const DtSymbolStringcomponentFullName () const
 
DtPhysicalWorldphysicalWorld ()
 
const DtPhysicalWorldphysicalWorld () const
 
const DtAttachedTerrainterrainAttachedTo () const
 
DtLocalObjectentity ()
 
const DtLocalObjectentity () const
 
DtSimulationServicessimulationServices ()
 
const DtSimulationServicessimulationServices () const
 
const Coordinate_SystemcoordinateSystem () const
 
virtual void isClutterChanged ()
 
virtual bool taskVisualizationsActive () const
 
virtual bool taskVisualizationsEnabled () const
 
makVrf::DtTaskVisualizationMaptaskVisualizations ()
 
virtual void updateImgui ()
 
virtual bool debugActive () const
 
virtual void disable ()
 
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 DtSimResourceManagerresourceManager ()
 
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 DtReaderWriteroperator= (const DtReaderWriter &orig)
 
bool operator== (const DtReaderWriter &) const
 
bool operator!= (const DtReaderWriter &rhs) const
 
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 aliasContaineraliases () 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 charreaderWriterType () const
 
virtual const charxmlType () 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 DtReaderWriterdefaultRWValue () const
 
virtual DtReaderWriterdefaultRWValue ()
 
virtual void setDefaultRWValue (DtReaderWriter *)
 
virtual bool checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
 
const DtReaderWriterRegistryregistry () const
 
DtReaderWriterRegistryregistry ()
 
virtual DtPropertyInterfaceproperty ()
 
virtual const DtPropertyInterfaceproperty () const
 
virtual DtString toXml () const
 
virtual DtRwVariableBindingsgenerateVariableBindings () 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 Member Functions

 DtControllerComponent ()
 
 DtControllerComponent (const DtControllerComponent &orig)
 
const DtControllerComponentoperator= (const DtControllerComponent &orig)
 
virtual void onRestore () override
 
virtual void initializeTargetingControlTableFromDescriptor (const DtReaderWriter *)
 
virtual void setRadio (DtSimRadio *radio)
 
virtual void sendCapableSetsAndTasks ()
 
- Protected Member Functions inherited from DtSimComponent
virtual void setupTimedTickLogic (double minTickPeriod, double minTickPeriodVariance)
 
virtual double computeCurrentTime ()
 
bool testInvariant () const
 
virtual bool createPortGroups ()
 
virtual bool createPorts ()
 
DtVrfProcessStateRepositorycreateComponentPsr (const DtString &defaultPsrType, const DtString &defaultPsrName, bool useDescriptorParams=true)
 
virtual void updateTaskVisualizations ()
 
virtual void destroyTaskVisualizations ()
 
virtual void destroyTaskVisualization (const DtString &name)
 
virtual
makVrf::DtPointTaskVisualizationPtr 
pointTaskVisualization (const DtString &name)
 
virtual
makVrf::DtLineTaskVisualizationPtr 
lineTaskVisualization (const DtString &name)
 
virtual
makVrf::DtAreaTaskVisualizationPtr 
areaTaskVisualization (const DtString &name)
 
virtual
makVrf::DtTextTaskVisualizationPtr 
textTaskVisualization (const DtString &name)
 
double calculateNextTaskVisTickTime () const
 
DtVrfObjectStateRepositorylocalStateRepository ()
 
const DtVrfObjectStateRepositorylocalStateRepository () const
 
DtPropertyInterfacecachedNextFrameStateProperty (DtPropertyInterface **prop, const DtString &propName)
 
template<typename ValType >
void setCachedNextFrameStatePropertyValue (DtPropertyInterface **prop, const DtString &propName, ValType value)
 
const DtPropertyInterfacecachedCurrentFrameStateProperty (const DtPropertyInterface **prop, const DtString &propName) const
 
template<typename ValType >
bool getCachedCurrentFrameStatePropertyValue (const DtPropertyInterface **prop, const DtString &propName, ValType &value) const
 
void addSimObjectPredicateCallback (DtSimObjectReference, DtVrfObjectPredicateCallbackFunction function, const DtVrfObjectPredicate &predicate, DtTime evaluationPeriod=0, void *userData=0)
 
void removeSimObjectPredicateCallback (const DtSimObject *, DtVrfObjectPredicateCallbackFunction function, const DtVrfObjectPredicate &predicate, DtTime evaluationPeriod=0, void *userData=0)
 
void invokeSimObjectPredicateCallbacks ()
 
virtual void clearPredicateCallbacks ()
 
- Protected Member Functions inherited from DtReaderWriter
virtual void bindToRwAsVariable (const DtReaderWriter *rw)
 

Protected Attributes

DtSimRadiomyRadio
 
parameters

These parameters are used to implement the functionality of the DtScriptEnableController.

bool myTaskTypesEnabled
 
bool myInitialized
 
- Protected Attributes inherited from DtSimComponent
DtLocalObjectmyEntity
 
DtComponentSystemmySystem
 
DtListItem * myListItem
 
DtInputPortMap myInputPortList
 
DtOutputPortMap myOutputPortList
 
DtInputPortGroupMap myInputPortGroupList
 
DtOutputPortGroupMap myOutputPortGroupList
 
int myPriority
 
double myLastTickSimTime
 
std::unique_ptr< DtTimedTickLogicmyTimedTickLogic
 
double myDT
 
bool myIsEnabled
 
bool myFirstTick
 
const DtComponentDescriptormyComponentDescriptor
 
std::list
< DtVrfProcessStateRepository * > 
myComponentPsrs
 
makVrf::DtTaskVisualizationMap myTaskVisualizations
 
double myNextTaskVisTickTime
 
DtSymbolString myFullComponentName
 
DtSimulationServicesmySimServices
 
DtPredicateCallbackManagermyPredicateCallbackManager
 
boost::signals2::scoped_connection myIsClutterChangedConnection
 
bool myLocalDebug
 
- Protected Attributes inherited from DtReaderWriter
const DtSymbolString myName
 
DtReaderWriterRegistry myRegistry
 
DtReaderWriterRegistrymyParentRegistry
 
bool myValueSpecified
 
bool myReadOnlyFlag
 
bool myIsVariableReference
 
DtSymbolString myVariableName
 
bool myVariableIsBound
 
DtReaderWritermyDefaultValue
 
aliasContainer myAliases
 
bool myInvalid
 
bool myChangedFlag
 

Additional Inherited Members

- 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 )()
 
- Static Public Member Functions inherited from DtSimComponent
static DtSimComponentFactoryfactory ()
 
static void setFactory (DtSimComponentFactory *factory)
 
static DtSimComponentcreateComponent (const DtString &name, const DtString &type, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentSystem *parentSystem, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
 
static void addSimComponentCreatorFcn (const DtString &type, DtSimComponentCreatorFcn fcn)
 
static VRF4API_METHOD
DtSimComponent
MarkThreadSafe (DtSimComponent *comp)
 
- Static Public Member Functions inherited from DtReaderWriter
static void putIndent (std::string &fp, int indentLevel)
 
static const
DtVariableBindingsList
nullVariableReference ()
 
static void setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData)
 
static void setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData)
 
static void setPutIndent (bool)
 
static bool putIndent ()
 
static const chartheXmlType ()
 
static const DtFilename & appPath ()
 
static void setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn)
 
static void createReaderWriterFactory ()
 
static void cleanupFactory ()
 
static DtReaderWriterFactoryfactory ()
 
static void setOutputStream (DtOutputStream *stream)
 
static DtOutputStream & outputStream ()
 
static DtReaderWritercreateFromXmlFile (const DtFilename &, bool createAsProperty=false)
 
static DtReaderWritercreateFromXml (const DtString &, bool createAsProperty=false)
 
static DtReaderWritercreateFromEnvironment (DtEnvironmentSP, bool createAsProperty=false)
 
static DtString getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root)
 
- 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
 
- Static Protected Attributes inherited from DtSimComponent
static DtSimComponentFactorymyFactory
 
- Static Protected Attributes inherited from DtReaderWriter
static DtString theUnspecifiedValue
 
static DtGetSelfCallbackInfo thePostGetSelfCallback
 
static DtPutSelfCallbackInfo thePrePutSelfCallback
 
static const DtVariableBindingsList theEmptyVariableBindingsList
 
static bool theCreatorFcnSet
 
static DtReaderWriterFactorytheFactory
 
static
DtReaderWriterFactoryCreatorFcn 
theFactoryCreatorFcn
 
static bool thePutIndent
 
static DtOutputStream * theOutputStream
 

Constructor & Destructor Documentation

DtControllerComponent::DtControllerComponent ( const DtString name,
DtLocalObject owner,
DtSimulationServices simServices,
DtComponentDescriptor desc = 0,
DtReaderWriterRegistry parentRegistry = 0 
)

Parameters
nameReader writer name of this component.
ownerThe DtLocalObject that owns this component
simManagerThe simulation manager (provides access to terrain, message interface, simulation clock).
descThe component descriptor used to initialize this component.
parentRegistryPointer to the parent reader writer registry (the containing object that reads/writes this object).
virtual DtControllerComponent::~DtControllerComponent ( )
overridevirtual

destructor

DtControllerComponent::DtControllerComponent ( )
protected

default constructor

DtControllerComponent::DtControllerComponent ( const DtControllerComponent orig)
protected

copy constructor

Member Function Documentation

virtual const char* DtControllerComponent::type ( ) const
overridepure virtual

This returns a string from compTypes.h, and identifies the type of component.

Implements DtSimComponent.

Implemented in DtDisaggregatedConvoyFormationController, DtSurfaceEntityPilotController, DtDisaggregatedFormationController, DtRailPathController, DtDiGuyController, DtLauncherController, DtDisaggregatedMoveAlongController, DtDynamicTerrainController, DtRoadMovementController, DtHumanCollisionAvoidanceController, DtFixedWingMoveAlongController, DtDisaggregatedManeuverAlongController, DtSpotReportGeneratorController, DtDisaggregatedLeadFollowInFormationController, DtWeaponController, DtTaskControllerComponent, DtTurretAcquireController, DtBombController, DtEngagementReportGeneratorController, DtFixedWingPilotController, DtGroundMoveToDestinationControllerComponent, DtMissileDistractionController, DtBallisticGunController, DtConvoyTaskController, DtMunitionLaunchController, DtSensorGimbalController, DtGroundManeuverInFormationControllerComponent, DtJavelinMissileFlightController, DtAirRefuelSupplierController, DtLasingController, DtSurfaceEntityPatrolRouteController, DtDynamicTerrainVehicleTrackController, DtFixedWingTakeoffController, DtSurfaceEntityFollowEntityController, DtVrfObjectDataMessenger, DtDisaggregatedMoveIntoFormationController, DtIffControllerComponent, DtHumanMoveToController, DtRetreatController, DtContactFusionController, DtGroundMovementChooserController, DtDynamicTerrainMunitionDamageController, DtScriptReactiveTaskController, DtBaseWeaponController, DtCruiseMissileDefaultController, DtHumanMoveAlongController, DtTurretSlewController, DtAggregatedMoveToController, DtAirVehicleSetController, DtArticulatedPartController, DtFixedWingFlyIntoController, DtGpsJammerController, DtOccupancyDirectorController, DtRotaryWingPilotController, DtSurfaceEntityPatrolBetweenController, DtEmbarkationController, DtFixedWingLandingController, DtJammerController, DtSurfaceEntityMoveAlongController, DtDetonationController, DtDisaggregatedPatrolAlongController, DtLaserGuidedLauncherController, DtFixedWingFlightCommandController, DtSimpleRotaryWingPilot, DtAggregateOrganizationController, DtAircraftClutterAreaController, DtAirportLightingController, DtCruiseMissileLaunchController, DtCulturalFeatureSetController, DtDisaggregatedEmbarkationController, DtFixedWingDefaultController, DtIffInterrogatorControllerComponent, DtLoiterMunitionLaunchController, DtMovementBasedTerrainPreloadController, DtOrganizationController, DtParachuteController, DtRotaryWingLandingController, DtRotorWashController, DtShapeBasedTerrainPreloadController, DtShipClutterAreaController, DtSpawnController, DtTDLMessageGeneratorController, DtBaseMountingController, DtIndirectFireWeaponController, DtMissileMoveToControllerComponent, DtTopLevelOrganizationController, DtDisaggregatedPatrolBetweenController, DtHumanAcquireController, DtHumanFollowController, DtLasingMissileTrackController, DtRotaryWingMoveAlongControllerComponent, DtRotaryWingTurnToHeadingController, DtSubSurfaceDepthController, DtSurfaceEntityStopController, DtSurfaceEntityTurnMoveController, DtAimWeaponController, DtHumanFleeController, DtHumanPatrolController, DtMoveAlongWithActionsController, DtReleaseBombController, DtRotaryWingFlightCommandController, DtAirVehicleWeaponHoldController, DtDisaggregatedMoveToController, DtGroundAutoControllerComponent, DtGroundMoveToControllerComponent, DtHumanPostureController, DtRotaryWingPatrolBetweenController, DtTagVolumeDimensionsController, DtDefaultLandingGearController, DtDisaggregatedWaitController, DtGroundVehicleSetController, DtHumanCrosswalkController, DtLimitExistenceController, DtMissileControllerComponent, DtFixedWingEntitySetController, DtFixedWingMoveToController, DtFixedWingPatrolRouteController, DtGroundFollowEntityController, DtHumanLauncherAcquireController, DtHumanUseDoorController, DtNavTagTraversalController, DtRotaryWingPatrolRouteController, DtTDLContactMessageGeneratorController, DtAggregatedPatrolController, DtAggregateMountedMovementRelayController, DtGroundStopMovingControllerComponent, DtIntegratedLaserGuidedLauncherController, DtJavelinLauncherController, DtRotaryWingFollowEntityController, DtRotaryWingTaskController, DtScriptedMovementController, DtTurretAimController, DtDisaggregatedTurnToHeadingController, DtGroundFollowInFormationControllerComponent, DtResupplySupplierController, DtRotaryWingJoyFlightController, DtActivityController, DtAggregatedMoveAlongController, DtDisaggregatedOccupancyDirectorController, DtFixedWingFollowEntityController, DtFixedWingPatrolBetweenController, DtFixedWingTankerEntitySetController, DtGroundPatrolRouteController, DtGroundTurnToControllerComponent, DtHumanEyepointController, DtMissileTargetController, DtResupplyReceiverController, DtRotaryWingLandingGearController, DtRotaryWingLoiterControllerComponent, DtRotaryWingWaitController, DtTurretReturnToHeadingController, DtWaitController, DtGroundMoveToAdapterComponent, DtHumanTurnToController, DtRotaryWingMoveToControllerComponent, DtAffectEngineeringObjectController, DtAircraftClutterMovementController, DtCreateEngineeringObjectController, DtCruiseMissileMoveAlongController, DtFixedWingGunneryController, DtGroundMoveAlongControllerComponent, DtGroundPatrolBetweenController, DtLaunchExpendableResourceController, DtLocalEntitySetController, DtSurfaceEntityMoveToController, DtAggregateAntiAirController, DtAggregateIndirectFireController, DtShipClutterMovementController, DtSurfaceEntitySetController, DtAggregateMountedSetRelayController, DtBreachDetector, DtDisaggregatedSetController, DtDisaggregatedSetManeuverController, DtGroundLeadFormationControllerComponent, DtHumanSetController, DtNavigationPreferenceController, DtProvideIndirectFireController, DtSendRadioMessageController, DtBallisticGunJoyController, DtDestroyEngineeringObjectController, DtFixedWingEmbarkationController, DtGpsReceiverController, DtGroundVehicleTrailingEffectController, DtHumanFaceTargetController, DtHumanStopMovingController, DtLaunchSmokeController, DtLookAtPointController, DtTacticalGraphicSetController, ExampleTDLMessageGeneratorController, DtBreachObstacleController, DtSyncMatrixController, DtFixedWingJoyFlightController, DtAggregateReleaseBombController, DtAimAtPointController, DtDisaggregatedManeuverToController, DtGroundJoyMoveController, DtScriptEnableController, DtGroundJoyTurretController, DtEmbeddedEntitiesController, DtEventTriggerController, DtMountingController, DtNavalMineSetController, DtShipAisController, DtSystemSwitcherComponent, DtTDLPPLIMessageGeneratorController, DtTDLStatusMessageGeneratorController, DtAggregateFollowController, DtCombatRangeController, DtDisaggregatedMoveAlongAdapterController, DtVerticalLauncherController, DtEnvironmentalActivationController, DtFascamController, DtMoppEnableController, DtNbcWeaponController, DtRotaryWingEmbarkationController, DtSurfaceEntityKeepStationController, DtAggregateDatabaseLoggingController, DtAircraftAdsbController, DtRangeRingController, DtResupplyController, DtScenarioEventController, DtSimpleRadarWarningResponse, DtSimpleRadarWarningResponse, DtDiGuyGestureController, DtDynamicFeaturesController, DtFixedWingHoldController, DtPseudoAggregatedSetController, DtAggregateCombatAdjustmentController, DtAggregateLoadoutController, DtStatePropertyInitializationController, DtHoldController, DtAerodromeSetController, DtWeaponManagementController, DtMissileSetController, DtScriptMultiTaskController, DtLauncherStowController, and DtCompatibilityController.

virtual bool DtControllerComponent::init ( )
overridevirtual

Calls setRadio()

Reimplemented from DtSimComponent.

Reimplemented in DtDisaggregatedMoveToController, DtTDLContactMessageGeneratorController, DtSurfaceEntityPilotController, DtDiGuyController, DtDisaggregatedFormationController, DtDisaggregatedMoveAlongController, DtRoadMovementController, DtDisaggregatedManeuverAlongController, DtSpawnController, DtSurfaceEntityStopController, DtAggregateOrganizationController, DtDisaggregatedLeadFollowInFormationController, DtWeaponController, DtFixedWingEmbarkationController, DtRailPathController, DtLauncherController, DtNavalMineSetController, DtMunitionLaunchController, DtTacticalGraphicSetController, DtBallisticGunController, DtJammerController, DtSpotReportGeneratorController, DtDynamicTerrainController, DtSurfaceEntityFollowEntityController, DtDisaggregatedMoveIntoFormationController, DtEngagementReportGeneratorController, DtMissileDistractionController, DtConvoyTaskController, DtAirRefuelSupplierController, DtLasingController, DtSensorGimbalController, DtScriptReactiveTaskController, DtFixedWingMoveAlongController, DtReleaseBombController, DtDetonationController, DtDisaggregatedOccupancyDirectorController, DtDisaggregatedPatrolAlongController, DtFixedWingPilotController, DtLaserGuidedLauncherController, DtLaunchExpendableResourceController, DtSurfaceEntityMoveAlongController, DtFixedWingTakeoffController, DtHumanMoveToController, DtRotorWashController, DtGroundMoveToDestinationControllerComponent, DtContactFusionController, DtCruiseMissileLaunchController, DtLoiterMunitionLaunchController, DtLaunchSmokeController, DtSubSurfaceDepthController, DtAggregatedMoveToController, DtGroundMovementChooserController, DtHumanFollowController, DtHumanMoveAlongController, DtHumanPatrolController, DtIndirectFireWeaponController, DtLasingMissileTrackController, DtResupplyController, DtTurretSlewController, DtGroundManeuverInFormationControllerComponent, DtOccupancyDirectorController, DtBombController, DtEmbarkationController, DtLimitExistenceController, DtResupplySupplierController, DtHumanCollisionAvoidanceController, DtNavigationPreferenceController, DtResupplyReceiverController, DtAggregatedPatrolController, DtFixedWingLandingController, DtGpsJammerController, DtIffControllerComponent, DtIntegratedLaserGuidedLauncherController, DtRotaryWingPilotController, DtJavelinLauncherController, DtMovementBasedTerrainPreloadController, DtTDLMessageGeneratorController, DtSimpleRotaryWingPilot, DtTopLevelOrganizationController, DtDisaggregatedPatrolBetweenController, DtHumanFleeController, DtRotaryWingWaitController, DtShapeBasedTerrainPreloadController, DtWaitController, DtArticulatedPartController, DtBaseWeaponController, DtCombatRangeController, DtEnvironmentalActivationController, DtFixedWingDefaultController, DtFixedWingFlightCommandController, DtHumanPostureController, DtMoveAlongWithActionsController, DtParachuteController, DtAerodromeSetController, DtAircraftClutterMovementController, DtAirVehicleWeaponHoldController, DtCruiseMissileDefaultController, DtFixedWingGunneryController, DtGroundAutoControllerComponent, DtHumanCrosswalkController, DtRotaryWingLandingController, DtAggregateAntiAirController, DtAggregateIndirectFireController, DtAircraftClutterAreaController, DtDefaultLandingGearController, DtGroundVehicleTrailingEffectController, DtHumanUseDoorController, DtMissileControllerComponent, DtNavTagTraversalController, DtRotaryWingFlightCommandController, DtRotaryWingMoveAlongControllerComponent, DtShipClutterAreaController, DtShipClutterMovementController, DtGpsReceiverController, DtHumanLauncherAcquireController, DtSendRadioMessageController, DtSetController, DtAggregateMountedMovementRelayController, DtAggregateMountedSetRelayController, DtAimWeaponController, DtBreachDetector, DtDisaggregatedSetController, DtDisaggregatedSetManeuverController, DtTagVolumeDimensionsController, DtAggregatedMoveAlongController, DtAirportLightingController, DtRotaryWingTaskController, DtRotaryWingJoyFlightController, DtAggregateReleaseBombController, DtHumanEyepointController, DtHumanTurnToController, DtRotaryWingLandingGearController, DtEmbeddedEntitiesController, DtMissileSetController, DtScriptedMovementController, DtAggregateFollowController, DtGroundMoveAlongControllerComponent, DtGroundPatrolBetweenController, DtHumanAcquireController, DtLocalEntitySetController, DtSurfaceEntityKeepStationController, DtMissileTargetController, DtDiGuyGestureController, DtHumanStopMovingController, DtRangeRingController, DtMultiTaskControllerComponent, DtFixedWingHoldController, DtHumanFaceTargetController, DtLookAtPointController, DtAggregateCombatAdjustmentController, DtAggregateLoadoutController, DtDynamicFeaturesController, DtStatePropertyInitializationController, DtSyncMatrixController, DtAimAtPointController, DtEngineeringObjectSetController, DtHoldController, DtSystemSwitcherComponent, DtWeaponManagementController, DtCreateEngineeringObjectController, DtScriptMultiTaskController, DtAffectEngineeringObjectController, DtDestroyEngineeringObjectController, DtBreachObstacleController, DtShipAisController, DtAircraftAdsbController, DtFascamController, and DtCompatibilityController.

virtual bool DtControllerComponent::postAddComponentsInit ( )
overridevirtual
virtual DtSimRadio* DtControllerComponent::radio ( )
virtual

The radio this component is listening to.

virtual void DtControllerComponent::taskNotify ( const DtSimTask task)
virtual

This is used by the entity to notify all controllers that a new task has been received. It will NOT be called for the controller that received the task; it is used to inform the others...

Reimplemented in DtTaskControllerComponent, and DtSingleTaskControllerComponent.

virtual void DtControllerComponent::clearTask ( )
virtual

Called when you want to clear out this component's task state. Base class implementation does nothing.

Reimplemented in DtRoadMovementController, DtIndirectFireWeaponController, DtFixedWingMoveAlongController, DtFixedWingMoveToController, DtMunitionLaunchController, DtAggregatedMoveToController, DtHumanMoveToController, DtDiGuyController, DtBallisticGunController, DtRailPathController, DtGroundMoveAlongControllerComponent, DtAggregatedMoveAlongController, DtHumanMoveAlongController, DtRotaryWingMoveAlongControllerComponent, DtHumanFollowController, DtDisaggregatedEmbarkationController, DtParachuteController, DtDisaggregatedMoveAlongController, DtSensorGimbalController, DtSurfaceEntityPilotController, DtHumanFleeController, DtDisaggregatedManeuverAlongController, DtDisaggregatedLeadFollowInFormationController, DtLaunchExpendableResourceController, DtGroundManeuverInFormationControllerComponent, DtGroundMoveToDestinationControllerComponent, DtSurfaceEntityFollowEntityController, DtFixedWingFlightCommandController, DtRotaryWingFlightCommandController, DtEmbarkationController, DtSubSurfaceDepthController, DtLookAtPointController, DtFixedWingLandingController, DtCreateEngineeringObjectController, DtLasingController, DtFixedWingTakeoffController, DtLaserGuidedLauncherController, DtAggregateFollowController, DtGroundFollowInFormationControllerComponent, DtDisaggregatedMoveIntoFormationController, DtFixedWingPilotController, DtConvoyTaskController, DtHumanTurnToController, DtDestroyEngineeringObjectController, DtSurfaceEntityMoveAlongController, DtSingleTaskControllerComponent, DtGroundTurnToControllerComponent, DtScriptedMovementController, DtHumanStopMovingController, DtDisaggregatedMoveToController, DtMoveAlongWithActionsController, DtRotaryWingLandingController, DtGroundAutoControllerComponent, DtAircraftClutterMovementController, DtShipClutterMovementController, DtGroundLeadFormationControllerComponent, DtRotaryWingTaskController, DtSurfaceEntityMoveToController, and DtFascamController.

virtual void DtControllerComponent::enableTaskTypes ( )
virtual

Finds the script controller, and enables the new task types on that controller. Calls enableScriptedTask for each scripted task Id listed in descriptor.

Reimplemented in DtWeaponManagementController.

virtual void DtControllerComponent::enableScriptedTask ( const DtString scriptId)
virtual

For scripted tasks, background processes, or sets will add to the scripted task controller. For scripted reactive tasks, will add to the scripted reactive task controller–Additionally checks if the reactive task should be enabled by default or not.

virtual void DtControllerComponent::disableTaskTypes ( )
virtual

Finds the script controller, and disables the task types on that controller.

virtual void DtControllerComponent::enable ( )
overridevirtual
const DtControllerComponent& DtControllerComponent::operator= ( const DtControllerComponent orig)
protected

assignment operator

virtual void DtControllerComponent::onRestore ( )
overrideprotectedvirtual

Override to iterate over the descriptor to see if there are any targeting control tables. If there are then restore the resources from them into the resource manager.

Reimplemented from DtSimComponent.

Reimplemented in DtGroundManeuverInFormationControllerComponent.

virtual void DtControllerComponent::initializeTargetingControlTableFromDescriptor ( const DtReaderWriter )
protectedvirtual
virtual void DtControllerComponent::setRadio ( DtSimRadio radio)
protectedvirtual
virtual void DtControllerComponent::sendCapableSetsAndTasks ( )
protectedvirtual

Sends an updated capable sets and task message.

Member Data Documentation

DtSimRadio* DtControllerComponent::myRadio
protected

Controller components can send messages. Of course, if your controller never will, you don't have to use this.

bool DtControllerComponent::myTaskTypesEnabled
protected

Whether task types are currently enabled.

bool DtControllerComponent::myInitialized
protected

Whether task types are currently enabled.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)