VR-Forces 4.1 Class Documentation
surfEntMvToLocCtl.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 DtString type() const;
57 
66  static void moveToLocationCallback(DtSimMessage* msg, void* usr);
67 
73  virtual void processMoveToLocationTask(DtSimMessage* msg);
74 
78  virtual void registerTaskMsgCallbacks();
79 
83  static DtSimComponent* creator(const DtString& name,
84  DtVrfObject* owner,
85  DtSimManager* simManager,
86  DtComponentDescriptor* desc = 0,
87  DtReaderWriterRegistry* parentRegistry = 0);
88 
89 protected:
92  virtual double distanceSquaredToDestination2D(const DtVector& current) const;
93 
101  virtual bool setupControlPoint();
102 
104  virtual void getLocalDestination(DtVector& local) const;
105 
106 protected:
109 };
110 

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)