16 #include <vlpi/disEnums.h>
59 virtual bool init()
override;
63 virtual const char*
type()
const override = 0;
68 virtual void tick()
override;
74 virtual double approximateSlew(
double angle);
76 virtual void setMaxSlewRate(DtReal maxSlewRate);
77 virtual DtReal maxSlewRate()
const;
81 virtual DtArtPartType turretToControl()
const;
85 virtual double turretBodyRotation()
const;
89 virtual bool createSlewPort();
109 virtual void lookupAndCacheProcessSR();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Instances of DtBooleanOutputPort are output ports through which data producers can send boolean data...
Definition: boolIOPort.h:45
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtConstrainedAnalogOutputPort * mySlewPort
Output Port Name: slew Output Port Description: Slew rate. 1.0 indicates maximum left slew...
Definition: turretSlewController.h:134
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
DtConstrainedAnalogOutputPort is a version of DtAnalogOutputPort which will constrain any outgoing va...
Definition: constrainedAnalogIOPort.h:57
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
virtual bool init() override
Calls setRadio()
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtVrfTurretedBalGunPSR * myProcessState
Pointer to a process state repository used to store state data associated with this component...
Definition: turretSlewController.h:143
DtTurretSlewController is a controller that has those capabilities common to all controllers that man...
Definition: turretSlewController.h:43
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
A locally simulated VRF object.
Definition: localObject.h:98