VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 const char* type() const;
56 
59  virtual void registerTaskMsgCallbacks();
60 
61  static void patrolBetweenCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
62 
65  virtual void tick();
66 
68  virtual DtSimTaskStatePtr currentTaskState() const;
69 
73  static void taskCompleteReportCallback(DtSimMessage * msg, void * usr);
74 
78  static DtSimComponent * creator(const DtString& name,
79  DtVrfObject* owner,
80  DtSimManager* simManager,
81  DtComponentDescriptor* desc = 0,
82  DtReaderWriterRegistry* parentRegistry = 0);
83 
84 protected:
85  virtual void processPatrolBetween(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
86 
90  virtual void onTaskComplete(DtSimMessage * msg);
91 
99  virtual bool moveTo(const DtUUID& controlPoint);
100 
106  virtual bool createPSR();
107 
108 private:
109 
112 
115 
116 protected:
117 
121 
124 };
125 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)