VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mountingAzimuthActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
16 class DtString;
17 class DtSimManager;
19 class DtAnalogOutputPort;
20 class DtIntegerOutputPort;
22 class DtSimObjectBaseObjectStateRepository;
23 
29 {
30 
31 public:
32 
36  DtVrfObject* owner,
37  DtSimManager* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtMountingAzimuthActuator();
43 
45  virtual bool postAddComponentsInit();
46 
49  virtual const char* type() const;
50 
52  virtual void tick();
53 
54  virtual void setMaxSlewRate(DtReal maxSlewRate);
55  virtual DtReal maxSlewRate() const;
56 
57  virtual void setNominalAzimuth(DtReal nominalAzimuth);
58  virtual DtReal nominalAzimuth() const;
59 
60  virtual void setAzimuthSweepRange(DtReal azimuthSweepRange);
61  virtual DtReal azimuthSweepRange() const;
62 
66  static DtSimComponent * creator(const DtString& name,
67  DtVrfObject* owner,
68  DtSimManager* simManager,
69  DtComponentDescriptor* desc = 0,
70  DtReaderWriterRegistry* parentRegistry = 0);
71 
75  static double computeDeltaOutsideAzimuthRange(double nominalAzimuth,
76  double azimuthRange,
77  double angleUnderTest);
78 
79 protected:
80 
82  virtual bool createPortGroups();
83 
85  virtual bool createPorts();
86 
87 protected:
88 
91 
94 
98 
99 
100 protected:
101 
103 
106 
110 
117 
124 
131 
138 
140 
142 
146 
148 };
149 
#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
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
DtConstrainedAnalogInputPort * myAzimuthPort
Definition: mountingAzimuthActuator.h:102
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: mountingAzimuthActuator.h:147
Definition: readerWriterRegistry.h:39
DtOutputPortGroup is a data port group of a data provider.
Definition: outputPortGroup.h:30
DtAnalogOutputPort * myNominalAzimuthPort
Output Port Name: nominal-azimuth Output Port Description: Nominal azimuth value. ...
Definition: mountingAzimuthActuator.h:116
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
DtAnalogOutputPort * myMaxAzimuthRatePort
Output Port Name: azimuth-rate Output Port Description: Maximum azimuth rate Output Port Range: Outp...
Definition: mountingAzimuthActuator.h:130
DtAnalogOutputPort * myAzimuthRangePort
Output Port Name: azimuth-range Output Port Description: Azimuth sweep range.
Definition: mountingAzimuthActuator.h:123
DtAzimuthMountComponentDescriptor * myAzimuthCompDesc
Definition: mountingAzimuthActuator.h:141
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 DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
DtIntegerOutputPort * myAzimuthPartTypePort
Output Port Name: azimuth-part-type Output Port Description: Type of articulated part.
Definition: mountingAzimuthActuator.h:137
Instances of DtAzimuthMountComponentDescriptor are used to specify the parameters for a DtMountingAzi...
Definition: azimuthMountComponentDescriptor.h:24
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
DtMountingAzimuthActuator is a simple model of a rotating mount point.
Definition: mountingAzimuthActuator.h:28
DtReal myNominalAzimuth
Definition: mountingAzimuthActuator.h:144
DtReal myMaxSlewRate
Definition: mountingAzimuthActuator.h:143
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
DtOutputPortGroup * myAzimuthInfoPortGroup
Output Port Group Name: mounting-info Output Port Group Description:
Definition: mountingAzimuthActuator.h:109
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
virtual const char * type() const =0
Returns a string identifies the class type of component.
DtReal myAzimuthSweep
Definition: mountingAzimuthActuator.h:145

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)