46 virtual bool init()
override;
49 virtual void tick()
override;
53 virtual const char*
type()
const override;
64 virtual bool checkTerrainProximity();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
Instances of DtTerrainProximityIndicatorDescriptor are used to specify the parameters for a DtTerrain...
Definition: terrainProximityIndicatorDescriptor.h:19
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
Definition: terrainProximityIndicator.h:21
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider. It may contain any number of DtOutputPorts...
Definition: outputPortGroup.h:34
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
DtBooleanOutputPort * myTerrainProximityOutputPort
Output Port Name: terrain-proximity Output Port Description: True if terrain is near. Output Port Range: true or false. Output Port Default Value: false Output Group Parent: terrain-proximity-group.
Definition: terrainProximityIndicator.h:82
DtVrfMovingObjectStateRepository * pMyMovingObjectState
type cast
Definition: terrainProximityIndicator.h:91
DtTerrainProximityIndicatorDescriptor * pMyTerrainProximityDescriptor
type cast
Definition: terrainProximityIndicator.h:94
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
DtOutputPortGroup * myTerrainProximityPortGroup
Output Port Group Name: terrain-proximity-group Output Port Group Description:
Definition: terrainProximityIndicator.h:86
virtual bool createPortGroups()
Called by init. Derived classes should override this method to create all their input/output port gro...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Contains the DtSimComponent class declaration.
DtMovementLocalObjectFacade myMovementLocalObjectFacade
Definition: terrainProximityIndicator.h:95
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object.
Definition: localObject.h:98