VR-Forces 4.1 Class Documentation
groundMoveDirectionController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include "vrfmodel/gndAutoCntlr.h"
14 
15 class DtAnalogInputPort;
16 class DtInputPortGroup;
18 
29 {
30 private:
35  orig);
39 
40 public:
44  DtVrfObject* owner,
45  DtSimManager* simManager,
46  DtComponentDescriptor* desc = 0,
47  DtReaderWriterRegistry* parentRegistry = 0);
48 
51 
52  virtual bool init();
53 
56  virtual DtString type() const;
57 
58  virtual void tick();
59 
63  static DtSimComponent * creator(const DtString& name,
64  DtVrfObject* owner,
65  DtSimManager* simManager,
66  DtComponentDescriptor* desc = 0,
67  DtReaderWriterRegistry* parentRegistry = 0);
68 
69 protected:
70 
73  virtual bool createPorts();
74 
77  virtual bool createPortGroups();
78 
79  virtual bool createDirectionInputPort();
80  virtual bool createSpeedInputPort();
81  virtual bool movementControlInputPortGroup();
82 
84  virtual void setControlsForNormalMove();
87  virtual void setControlsForTurnInPlace();
91  virtual bool shouldTurnInPlace();
92 
93 protected:
96 
104 
111 
116 
118 
121 
123 
124 };
125 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)