VR-Forces 4.1 Class Documentation
disaggregatedPatrolBetweenController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
12 #pragma once
13 
15 #include <vlutil/vlString.h>
16 
17 class DtSimMessage;
19 
37 {
38 public:
39 
43  DtVrfObject* owner,
44  DtSimManager* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
47 
49 
51  virtual bool init();
52 
55  virtual DtString type() const;
56 
59  virtual void registerTaskMsgCallbacks();
60 
63  virtual void tick();
64 
66  virtual DtSimTaskStatePtr currentTaskState() const;
67 
72  static void patrolTwoPointsTaskCallback(DtSimMessage * msg, void * usr, DtSimTaskStatePtr taskStatePtr);
73 
77  static void taskCompleteReportCallback(DtSimMessage * msg, void * usr);
78 
82  static DtSimComponent * creator(const DtString& name,
83  DtVrfObject* owner,
84  DtSimManager* simManager,
85  DtComponentDescriptor* desc = 0,
86  DtReaderWriterRegistry* parentRegistry = 0);
87 
88 protected:
89 
94  virtual void onPatrolTwoPointsTask(DtSimMessage * msg, DtSimTaskStatePtr taskStatePtr);
95 
99  virtual void onTaskComplete(DtSimMessage * msg);
100 
108  virtual bool moveTo(const DtString& controlPointName);
109 
115  virtual bool createPSR();
116 
117 private:
118 
121 
124 
125 protected:
126 
130 
133 };
134 

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)