VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mountingElevationActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
7 
10 
11 #pragma once
12 
14 
15 class DtString;
16 class DtSimManager;
18 class DtAnalogOutputPort;
19 class DtIntegerOutputPort;
21 
28 {
29 
30 public:
31 
35  DtVrfObject* owner,
36  DtSimManager* simManager,
37  DtComponentDescriptor* desc = 0,
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
41  virtual ~DtMountingElevationActuator();
42 
44  virtual bool postAddComponentsInit();
45 
48  virtual const char* type() const;
49 
51  virtual void tick();
52 
53  virtual void setMaxElevateRate(DtReal maxElevateRate);
54  virtual DtReal maxElevateRate() const;
55 
56  virtual void setNominalElevation(DtReal nominalElevation);
57  virtual DtReal nominalElevation() const;
58 
59  virtual void setElevationRange(DtReal elevationRange);
60  virtual DtReal elevationRange() const;
61 
65  static DtSimComponent * creator(const DtString& name,
66  DtVrfObject* owner,
67  DtSimManager* simManager,
68  DtComponentDescriptor* desc = 0,
69  DtReaderWriterRegistry* parentRegistry = 0);
70 
76  static double computeDeltaOutsideElevationRange(double nominalElevation,
77  double elevationRange,
78  double angleUnderTest);
79 
80 protected:
81 
83  virtual bool createPortGroups();
84 
86  virtual bool createPorts();
87 
88 protected:
89 
92 
95 
99 
100 
101 protected:
102 
105 
112 
116 
123 
130 
137 
144 
146 
148 
152 
154 };
155 
#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:146
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtReal myMaxElevateRate
Definition: mountingElevationActuator.h:149
DtConstrainedAnalogInputPort * myElevationPort
Input Port Name: elevation Input Port Description: Input Port Range: -1.
Definition: mountingElevationActuator.h:111
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
Contains class declarations for DtConstrainedAnalogInputPort and DtConstrainedAnalogOutputPort.
Definition: constrainedAnalogIOPort.h:27
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtArticulatedPartStateRepository * myRotatingBody
Definition: mountingElevationActuator.h:153
DtReal myNominalElevation
Definition: mountingElevationActuator.h:150
Definition: readerWriterRegistry.h:39
DtIntegerOutputPort * myElevationPartTypePort
Output Port Name: elevation-part-type Output Port Description: Type of articulated part...
Definition: mountingElevationActuator.h:143
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
DtMountingElevationActuator is a simple model of elevating a mounting point.
Definition: mountingElevationActuator.h:27
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
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.
DtAnalogOutputPort * myElevationRangePort
Output Port Name: elevation-range Output Port Description: Elevation sweep range. ...
Definition: mountingElevationActuator.h:129
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
const DtElevationMountComponentDescriptor * myElevationCompDesc
Definition: mountingElevationActuator.h:147
virtual bool createPorts()
Called by init.
virtual bool createPortGroups()
Called by init.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
A DtComponentDescriptor that has additional parameter information for DtMountingElevationActuator act...
Definition: elevationMountComponentDescriptor.h:28
DtAnalogOutputPort * myNominalElevationPort
Output Port Name: nominal-elevation Output Port Description: Nominal elevation value.
Definition: mountingElevationActuator.h:122
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtOutputPortGroup * myElevationInfoPortGroup
Output Port Group Name: mounting-info Output Port Group Description:
Definition: mountingElevationActuator.h:115
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
DtAnalogOutputPort * myMaxElevationRatePort
Output Port Name: elevation-rate Output Port Description: Maximum elevation rate. ...
Definition: mountingElevationActuator.h:136
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtReal myElevationRange
Definition: mountingElevationActuator.h:151

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)