![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: gndPtlBtwnCtl.h,v $ $Revision: 1.18 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 00016 #ifndef DtGroundPatrolBetweenController_H_ 00017 #define DtGroundPatrolBetweenController_H_ 00018 00019 00020 #include "vrfmodel/gndMvToCntlr.h" 00021 00022 #include <vlutil/vlString.h> 00023 00024 class DtSimManager; 00025 class DtSimMessage; 00026 00027 00028 00036 #include "vrfmodel/vrfmodelDefines.h" 00037 class DT_DLL_vrfmodel DtGroundPatrolBetweenController : public DtGroundMoveToControllerComponent 00038 { 00039 00040 public: 00041 00044 DtGroundPatrolBetweenController(const DtString& name, 00045 DtVrfObject* owner, 00046 DtSimManager* simManager, 00047 DtComponentDescriptor* desc = 0, 00048 DtReaderWriterRegistry* parentRegistry = 0); 00049 00051 virtual ~DtGroundPatrolBetweenController(); 00052 00055 virtual DtString type() const; 00056 00057 00061 static void patrolBetweenCallback(DtSimMessage * msg, void * usrData); 00062 00064 virtual void processPatrolBetweenTask(DtSimMessage * msg); 00065 00067 virtual const DtString& firstWaypoint() const; 00068 virtual void setFirstWaypoint(const DtString& waypoint); 00069 00071 virtual const DtString& secondWaypoint() const; 00072 virtual void setSecondWaypoint(const DtString& waypoint); 00073 00077 static DtSimComponent * creator(const DtString& name, 00078 DtVrfObject* owner, 00079 DtSimManager* simManager, 00080 DtComponentDescriptor* desc = 0, 00081 DtReaderWriterRegistry* parentRegistry = 0); 00082 00084 virtual void registerTaskMsgCallbacks(); 00085 00087 virtual void stop(); 00088 00089 protected: 00092 DtGroundPatrolBetweenController(); 00093 00095 DtGroundPatrolBetweenController(const DtGroundPatrolBetweenController & 00096 orig); 00097 00099 const DtGroundPatrolBetweenController & operator=(const 00100 DtGroundPatrolBetweenController & orig); 00101 }; 00102 00103 #endif 00104