VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
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 const char* 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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)