VR-Forces 4.1.1 Class Documentation
rotWngWaitCtl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include "vrfutil/vlClock.h"
15 
16 class DtString;
17 class DtSimManager;
18 class DtTaskMessage;
19 class DtSimMessage;
20 class DtWaitingPSR;
21 
32 {
33 
34 public:
35 
39  DtVrfObject* owner,
40  DtSimManager* simManager,
41  DtComponentDescriptor* desc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
45  virtual ~DtRotaryWingWaitController();
46 
49  virtual DtString type() const;
50 
52  virtual bool init();
53 
62  virtual void tick();
63 
65  virtual void registerTaskMsgCallbacks();
66 
70 
75  virtual void processWaitTask(DtSimMessage * msg);
76 
82  virtual void processWaitDurationTask(DtSimMessage * msg);
83 
88  virtual void processWaitElapsedTask(DtSimMessage * msg);
89 
90 protected:
94 
97 
100  const DtRotaryWingWaitController & orig);
101 
108  virtual void pilotProperties();
109 
111  virtual bool createWaitingPSR();
112 
113 public:
114 
115  static void waitCallback(DtSimMessage * msg, void * usr);
116 
117  static void waitDurationCallback(DtSimMessage * msg, void * usr);
118 
119  static void waitElapsedCallback(DtSimMessage * msg, void * usr);
120 
124  static DtSimComponent * creator(const DtString& name,
125  DtVrfObject* owner,
126  DtSimManager* simManager,
127  DtComponentDescriptor* desc = 0,
128  DtReaderWriterRegistry* parentRegistry = 0);
129 
130 protected:
131 
133 };
134 

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)