VR-Forces 4.1 Class Documentation
rotWngPtlBtwn.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 
15 #include "vrfmodel/rotWngMvToCtl.h"
16 
17 #include <vlutil/vlString.h>
18 
19 class DtSimManager;
20 class DtSimMessage;
21 
22 
33 {
34 
35 public:
36 
40  DtVrfObject* owner,
41  DtSimManager* simManager,
42  DtComponentDescriptor* desc = 0,
43  DtReaderWriterRegistry* parentRegistry = 0);
44 
47 
50  virtual void tick();
51 
54  virtual DtString type() const;
55 
59  static void patrolBetweenCallback(DtSimMessage * msg, void * usrData);
60 
62  virtual void processPatrolBetweenTask(DtSimMessage * msg);
63 
65  virtual const DtString& firstWaypoint() const;
66  virtual void setFirstWaypoint(const DtString& waypoint);
67 
69  virtual const DtString& secondWaypoint() const;
70  virtual void setSecondWaypoint(const DtString& waypoint);
71 
75  static DtSimComponent * creator(const DtString& name,
76  DtVrfObject* owner,
77  DtSimManager* simManager,
78  DtComponentDescriptor* desc = 0,
79  DtReaderWriterRegistry* parentRegistry = 0);
80 
81 protected:
85 
89 
93 
95  virtual void registerTaskMsgCallbacks();
96 
101  virtual void reverse();
102 
103 public:
104 
105  static DtReal theDefaultRadius;
106 
107 };
108 

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)