VR-Forces 4.1.1 Class Documentation
disaggregatedWaitController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include "vrfmodel/waitCntlr.h"
15 #include "vrfutil/vlClock.h"
16 #include "vrfobjcore/simCmdRadio.h"
17 
18 class DtString;
19 class DtSimManager;
20 class DtTaskMessage;
21 class DtSimMessage;
22 class DtWaitingPSR;
23 
37 {
38 
39 public:
40 
44  DtVrfObject* owner,
45  DtSimManager* simManager,
46  DtComponentDescriptor* desc = 0,
47  DtReaderWriterRegistry* parentRegistry = 0);
48 
51 
54  virtual DtString type() const;
55 
56  virtual bool init();
57 
59  virtual void tick();
60 
62  virtual void registerTaskMsgCallbacks();
63 
67 
70  virtual void processWaitTask(DtSimMessage * msg, DtSimTaskStatePtr taskState);
71  virtual void processWaitDurationTask(DtSimMessage * msg, DtSimTaskStatePtr taskState);
72  virtual void processWaitElapsedTask(DtSimMessage * msg, DtSimTaskStatePtr taskState);
74 
78  virtual void processTaskComplete(DtSimMessage * msg);
79 
80 public:
81 
82  static void taskCompleteCallback(DtSimMessage * msg, void * usr);
83 
87  static DtSimComponent * creator(const DtString& name,
88  DtVrfObject* owner,
89  DtSimManager* simManager,
90  DtComponentDescriptor* desc = 0,
91  DtReaderWriterRegistry* parentRegistry = 0);
92 
93 protected:
97 
100 
103 
104 protected:
105 
107 };
108 

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)