![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: gndMvToCntlr.h,v $ $Revision: 1.50 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 00016 #ifndef DtGroundMoveToControllerComponent_H_ 00017 #define DtGroundMoveToControllerComponent_H_ 00018 00019 00020 #include "vrfmodel/gndAutoCntlr.h" 00021 #include "vrfmodel/gndMvToDestinationCntlr.h" 00022 #include <matrix/vlVector.h> 00023 #include "vrfobjcore/automotivePSR.h" 00024 00025 class DtString; 00026 class DtSimManager; 00027 class DtSimMessage; 00028 00029 00042 00043 #include "vrfmodel/vrfmodelDefines.h" 00044 class DT_DLL_vrfmodel DtGroundMoveToControllerComponent : public DtGroundMoveToDestinationControllerComponent 00045 { 00046 public: 00047 00050 DtGroundMoveToControllerComponent(const DtString& name, 00051 DtVrfObject* owner, 00052 DtSimManager* simManager, 00053 DtComponentDescriptor* desc = NULL, 00054 DtReaderWriterRegistry* parentRegistry = NULL); 00055 00057 virtual ~DtGroundMoveToControllerComponent(); 00058 00061 virtual DtString type() const; 00062 00066 static void moveToCallback(DtSimMessage * msg, void * usr); 00067 virtual void processMoveToTask(DtSimMessage * msg); 00068 00073 virtual void processDestinationChanged(); 00074 00078 static DtSimComponent * creator(const DtString& name, 00079 DtVrfObject* owner, 00080 DtSimManager* simManager, 00081 DtComponentDescriptor* desc = 0, 00082 DtReaderWriterRegistry* parentRegistry = 0); 00083 00085 virtual void registerTaskMsgCallbacks(); 00086 00090 virtual bool setupDestination(); 00091 00092 private: 00095 DtGroundMoveToControllerComponent(); 00096 00098 DtGroundMoveToControllerComponent(const DtGroundMoveToControllerComponent & 00099 orig); 00100 00102 const DtGroundMoveToControllerComponent & operator=(const 00103 DtGroundMoveToControllerComponent & orig); 00104 00105 protected: 00108 DtVrfObject* myControlPoint; 00109 }; 00110 00111 #endif 00112 00113 00114