23 class DtSimObjectBaseObjectStateRepository;
27 class DtArticulatedPartStateRepository;
55 virtual const char*
type()
const override;
58 virtual void tick()
override;
60 virtual void setMaxSlewRate(DtReal maxSlewRate);
61 virtual DtReal maxSlewRate()
const;
63 virtual void setRestingAzimuth(DtReal azimuth);
64 virtual DtReal restingAzimuth()
const;
66 virtual void setMaximumAzimuth(DtReal azimuth);
67 virtual DtReal maximumAzimuth()
const;
69 virtual void setMinimumAzimuth(DtReal azimuth);
70 virtual DtReal minimumAzimuth()
const;
84 static double computeDeltaOutsideAzimuthRange(
double minimumAzimuth,
85 double maximumAzimuth,
86 double angleUnderTest);
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit()
Called after all components have been created, initialized and added to the component manager...
Definition: simComponent.h:126
DtReal myMaximumAzimuth
Definition: mountingAzimuthActuator.h:161
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
DtConstrainedAnalogInputPort * myAzimuthPort
Definition: mountingAzimuthActuator.h:111
DtReal myMinimumAzimuth
Definition: mountingAzimuthActuator.h:162
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
End User Description: DtActuator is the base class for all actuator model components. Developer Description: The DtActuator base class caches a pointer to the entity's radio for convenience. Derived classes may have articulated parts that are configured from the DtActuatorComponentDescriptor's DtSimArtPartDescriptorList. For each articulated part in the list a DtArticulatedPartStateRepository will be created to store the data for the part such as it's location, rotation and so forth. These are created in the entity's DtVrfObjectStateRepository createParts() function. This call creates all the attached parts for all the actuators. These articulated state repositories are managed by the DtAttachmentManager. They are cached by their partType which is the DIS Enumeration describing the part from the disEnums.h file and was specified in the actuator's DtActuatorComponentDescriptor as descriped above. The partType is used as the category of the DtEntityType used to look up articulated parts in the DtAttachementManager. When an actuator needs access to a particular articulated part it looks it up by the part's object type.
Definition: actuatorComponent.h:47
DtAnalogOutputPort * myMaxAzimuthRatePort
Output Port Name: azimuth-rate Output Port Description: Maximum azimuth rate Output Port Range: Outp...
Definition: mountingAzimuthActuator.h:146
DtAzimuthMountComponentDescriptor * myAzimuthCompDesc
Definition: mountingAzimuthActuator.h:157
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: mountingAzimuthActuator.h:167
DtIntegerOutputPort * myAzimuthPartTypePort
Output Port Name: azimuth-part-type Output Port Description: Type of articulated part. Output Port Range: Output Port Default Value: Output Group Parent: mounting-info.
Definition: mountingAzimuthActuator.h:153
Instances of DtAzimuthMountComponentDescriptor are used to specify the parameters for a DtMountingAzi...
Definition: azimuthMountComponentDescriptor.h:24
virtual bool createPorts()
Called by init. Derived classes should override this method to create all their input/output ports an...
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
DtMountingAzimuthActuator is a simple model of a rotating mount point.
Definition: mountingAzimuthActuator.h:34
DtAnalogOutputPort * myMinimumAzimuthPort
Output Port Name: minimum-azimuth Output Port Description: Minimum azimuth angle. Output Port Range: ...
Definition: mountingAzimuthActuator.h:139
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:40
makVrf::DtArticulatedPartStateRepository * myRotatingBody
Definition: mountingAzimuthActuator.h:164
DtReal myMaxSlewRate
Definition: mountingAzimuthActuator.h:159
DtOutputPortGroup * myAzimuthInfoPortGroup
Output Port Group Name: mounting-info Output Port Group Description:
Definition: mountingAzimuthActuator.h:118
DtReal myRestingAzimuth
Definition: mountingAzimuthActuator.h:160
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
DtAnalogOutputPort * myRestingAzimuthPort
Output Port Name: resting-azimuth Output Port Description: Resting azimuth value. Should return to th...
Definition: mountingAzimuthActuator.h:125
DtAnalogOutputPort * myMaximumAzimuthPort
Output Port Name: maximum-azimuth Output Port Description: Maximum azimuth angle. Output Port Range: ...
Definition: mountingAzimuthActuator.h:132
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