VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rotaryWingMoveAlongControllerComponent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2000 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
17 class DtString;
18 class DtSimManager;
19 class DtRouteState;
20 class DtSimMessage;
21 
28 {
29 
30 public:
31 
35  DtVrfObject* owner,
36  DtSimManager* simManager,
37  DtComponentDescriptor* desc = 0,
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
42 
43 
45  virtual bool init();
46 
48  virtual void tick();
49 
52  virtual const char* type() const;
53 
54  static void moveAlongCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
55 
56  virtual DtSimTaskStatePtr currentTaskState() const;
57 
59  virtual void registerTaskMsgCallbacks();
60 
62  static void routeChangedCallback(DtVrfObject * obj, void * usr);
63  virtual void processRouteChanged(DtVrfObject * obj);
64 
68  static DtSimComponent * creator(const DtString& name,
69  DtVrfObject* owner,
70  DtSimManager* simManager,
71  DtComponentDescriptor* desc = 0,
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
75  virtual bool setupRoute();
76 
79  virtual bool isMovingToward(const DtVector& ENUpoint);
80 
82  virtual void routeLogic();
83 
86  virtual void desiredVelocityAndPosition();
87 
88 protected:
89  virtual void processMoveAlong(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
90 
96 
100 
116  virtual void pilotProperties();
117 
121  virtual void buildLocalRoute();
122 
125  virtual void emptyVertexList();
126 
127 protected:
128 
130 
134 
137 
138 };
139 

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)