25 class Dt3dBoundingVolume;
81 virtual const char*
type()
const;
90 virtual bool createPSR();
93 virtual bool createCollisionDetector();
100 virtual bool setObstructionIDsInCollisionDetector();
105 virtual bool initializeCollisionBV();
122 double& stoppingDistance);
131 virtual bool calculateCollisionBV();
134 virtual void registerMessageCallbacks();
137 static void setCollisionAvoidTypesCallback(
DtSimMessage* msg,
void* usr);
141 virtual void processCollisionAvoidTypes(
DtSimMessage* msg);
146 virtual bool addFeatureTypeToAvoid(
DtRwString featureType);
151 virtual bool removeFeatureTypeToAvoid(
DtRwString featureType);
157 virtual DtRwString buildingFeatureType()
const;
165 virtual double decelerationSoilFactor()
const;
DtCollision * myPotentialCollision
Definition: obstructionSensor.h:220
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
std::list< DtRwString > DtFeatureTypeContainer
Definition: collisionDetector.h:60
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: obstructionSensor.h:223
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
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
DtObstructionSensorPSR; Process state repository for DtObstructionSensor.
Definition: obstructionSensorPSR.h:24
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
Dt3dBoundingVolume * myCollisionBV
Definition: obstructionSensor.h:209
Instances of DtCollisionOutputPort are output ports through which data producers can send information...
Definition: collisionIOPort.h:50
DtCollisionDetector::DtObjectObstructionIDContainer myObjectObstructionIDs
Definition: obstructionSensor.h:211
std::set< DtObjectType > DtObjectObstructionIDContainer
Definition: collisionDetector.h:58
DtOutputPortGroup * myObstructionInfoPortGroup
Output Port Group Name: obstruction-info Output Port Group Description:
Definition: obstructionSensor.h:205
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtObstructionSensorPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: obstructionSensor.h:217
DtObstructionSensorDescriptor is a DtComponentDescriptor that has the name of the DtObstructionSensor...
Definition: obstructionSensorDescriptor.h:39
The DtCollisionDetector is a class used to detect collisions between a specified list of obstructions...
Definition: collisionDetector.h:54
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...
Definition: collision.h:25
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:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtCollisionDetector * myCollisionDetector
Definition: obstructionSensor.h:210
Contains the DtSimComponent class declaration.
DtCollisionDetector::DtFeatureTypeContainer myFeatureObstructionTypes
Definition: obstructionSensor.h:212
DtObstructionSensor models a sensor able to detect potential collisions with other entities and/or te...
Definition: obstructionSensor.h:34
DtCollisionOutputPort * myPotentialCollisionInfoPort
Output Port Name: potential-collision-info Output Port Description: Information about an impending po...
Definition: obstructionSensor.h:201
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. 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
const DtObstructionSensorDescriptor * myObstructionSensorDesc
Definition: obstructionSensor.h:213