VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundPatrolBetweenController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 #pragma once
12 
13 
15 
16 #include <vlutil/vlString.h>
17 
18 class DtSimManager;
19 class DtSimMessage;
20 
21 
22 
32 {
33 
34 public:
35 
39  DtVrfObject* owner,
40  DtSimManager* simManager,
41  DtComponentDescriptor* desc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
46 
49  virtual const char* type() const;
50 
51  static void patrolBetweenCallback(DtSimMessage* msg, void* usr, DtSimTaskStatePtr taskStatePtr);
52  virtual DtSimTaskStatePtr currentTaskState() const;
53 
55  virtual const DtUUID& firstWaypoint() const;
56  virtual void setFirstWaypoint(const DtUUID& waypoint);
57 
59  virtual const DtUUID& secondWaypoint() const;
60  virtual void setSecondWaypoint(const DtUUID& waypoint);
61 
65  static DtSimComponent * creator(const DtString& name,
66  DtVrfObject* owner,
67  DtSimManager* simManager,
68  DtComponentDescriptor* desc = 0,
69  DtReaderWriterRegistry* parentRegistry = 0);
70 
72  virtual void registerTaskMsgCallbacks();
73 
75  virtual void stop();
76 
77 protected:
78  virtual void processPatrolBetween(const DtTaskMessage& msg, DtSimTaskStatePtr taskStatePtr);
82 
85  orig);
86 
90 };
91 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)