VR-Forces 4.2 Class Documentation
disaggregatedMoveToController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
12 
13 #pragma once
14 
16 
17 class DtSimMessage;
18 class DtMoveToTask;
19 
35 {
36 public:
37 
41  DtVrfObject* owner,
42  DtSimManager* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
47 
48  virtual void tick();
49 
52  virtual DtString type() const;
53 
56  virtual void registerTaskMsgCallbacks();
57 
59  virtual void clearTask();
60 
64  static void moveToTaskCallback(DtSimMessage * msg, void * usr);
65 
67  static void taskCompleteReportCallback(DtSimMessage * msg, void * usr);
68 
71  static void waypointMovedCallback(DtVrfObject* obj, void * usr);
72 
76  static DtSimComponent * creator(const DtString& name,
77  DtVrfObject* owner,
78  DtSimManager* simManager,
79  DtComponentDescriptor* desc = 0,
80  DtReaderWriterRegistry* parentRegistry = 0);
81 
82 protected:
83 
85  virtual void onWaypointMoved(DtVrfObject* obj);
86 
90  virtual void onMoveToTask(DtSimMessage * msg);
91 
95  virtual void onTaskComplete(DtSimMessage * msg);
96 
98  virtual void startMoveToBehavior(const DtMoveToTask& moveToTask);
99 
100 private:
101 
104 
107 
109 };
110 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)