![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: fixWngPtlBtwn.h,v $ $Revision: 1.18 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtFixedWingPatrolBetweenController_H_ 00016 #define DtFixedWingPatrolBetweenController_H_ 00017 00018 00019 #include "vrfmodel/fixWngMvToCtl.h" 00020 00021 #include <vlutil/vlString.h> 00022 00023 class DtSimManager; 00024 class DtSimMessage; 00025 00026 00027 00035 #include "vrfmodel/vrfmodelDefines.h" 00036 class DT_DLL_vrfmodel DtFixedWingPatrolBetweenController : public DtFixedWingMoveToController 00037 { 00038 00039 public: 00040 00043 DtFixedWingPatrolBetweenController(const DtString& name, 00044 DtVrfObject* owner, 00045 DtSimManager* simManager, 00046 DtComponentDescriptor* desc = 0, 00047 DtReaderWriterRegistry* parentRegistry = 0); 00048 00050 virtual ~DtFixedWingPatrolBetweenController(); 00051 00054 virtual DtString type() const; 00055 00056 00060 static void patrolBetweenCallback(DtSimMessage * msg, void * usrData); 00061 00062 virtual void processPatrolBetweenTask(DtSimMessage * msg); 00063 00064 virtual const DtString& firstWaypoint() const; 00065 virtual void setFirstWaypoint(const DtString& waypoint); 00066 00067 virtual const DtString& secondWaypoint() const; 00068 virtual void setSecondWaypoint(const DtString& waypoint); 00069 00073 static DtSimComponent * creator(const DtString& name, 00074 DtVrfObject* owner, 00075 DtSimManager* simManager, 00076 DtComponentDescriptor* desc = 0, 00077 DtReaderWriterRegistry* parentRegistry = 0); 00078 00080 virtual void registerTaskMsgCallbacks(); 00081 00084 virtual void doFinishing(); 00085 00086 protected: 00089 DtFixedWingPatrolBetweenController(); 00090 00092 DtFixedWingPatrolBetweenController(const DtFixedWingPatrolBetweenController & 00093 orig); 00094 00096 const DtFixedWingPatrolBetweenController & operator=(const 00097 DtFixedWingPatrolBetweenController & orig); 00098 }; 00099 00100 #endif 00101