VR-Forces 4.1.1 Class Documentation
mountElevAct.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 
13 #include "vrfobjcore/actCmpnt.h"
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 DtString 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 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)