VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
surfaceEntityPatrolBetweenController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
16 #include <vlutil/vlString.h>
17 
18 class DtSimManager;
19 class DtSimMessage;
20 
33 
37 {
38 public:
39 
43  DtVrfObject* owner,
44  DtSimManager* simManager,
45  DtComponentDescriptor* desc = 0,
46  DtReaderWriterRegistry* parentRegistry = 0);
47 
50 
54  static DtSimComponent * creator(const DtString& name,
55  DtVrfObject* owner,
56  DtSimManager* simManager,
57  DtComponentDescriptor* desc = 0,
58  DtReaderWriterRegistry* parentRegistry = 0);
59 
62  virtual const char* type() const;
63 
72  static void patrolBetweenCallback(DtSimMessage * msg, void * usrData);
73 
86  virtual void processPatrolBetweenTask(DtSimMessage * msg);
87 
91  virtual const DtUUID& firstWaypoint() const;
92  virtual void setFirstWaypoint(const DtUUID& waypoint);
94 
99  virtual const DtUUID& secondWaypoint() const;
100  virtual void setSecondWaypoint(const DtUUID& waypoint);
102 
113  virtual bool atGoal();
114 
124  virtual bool passedGoal();
125 
132  virtual void controlMovement();
133 
134 protected:
138  virtual void registerTaskMsgCallbacks();
139 
142 
146 
150 };
151 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)