VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
surfaceEntityTurnMoveController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
29 {
30 private:
33 
37 
41 
42 public:
46  DtVrfObject* owner,
47  DtSimManager* simManager,
48  DtComponentDescriptor* desc = 0,
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
53 
56  virtual const char* type() const;
57 
58  virtual void tick();
59 
68  static void turnMoveCallback(DtSimMessage* msg, void* usr);
72  static DtSimComponent* creator(const DtString& name,
73  DtVrfObject* owner,
74  DtSimManager* simManager,
75  DtComponentDescriptor* desc = 0,
76  DtReaderWriterRegistry* parentRegistry = 0);
77 
78 protected:
81  virtual bool turnComplete();
82 
88  virtual void processTurnMoveTask(DtSimMessage* msg);
89 
93  virtual void registerTaskMsgCallbacks();
94 
97 
98  static void taskNotifyCallback(const DtSimTask & task, const DtSimComponent &notifier, void* usr);
99  virtual void processTaskNotify(const DtSimTask & task, const DtSimComponent &notifier);
101 };
102 

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)