VR-Forces 4.0.4 Class Documentation
include/vrfmodel/rotWngPtlBtwn.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: rotWngPtlBtwn.h,v $ $Revision: 1.20 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 
00016 #ifndef DtRotPatrolBetweenController_H_
00017 #define DtRotPatrolBetweenController_H_
00018 
00019 
00020 #include "vrfmodel/rotWngMvToCtl.h"
00021 
00022 #include <vlutil/vlString.h>
00023 
00024 class DtSimManager;
00025 class DtSimMessage;
00026 
00027 
00035 #include "vrfmodel/vrfmodelDefines.h"
00036 class DT_DLL_vrfmodel DtRotaryWingPatrolBetweenController : 
00037    public DtRotaryWingMoveToControllerComponent
00038 {
00039 
00040 public:
00041 
00044    DtRotaryWingPatrolBetweenController(const DtString& name, 
00045       DtVrfObject* owner,
00046       DtSimManager* simManager, 
00047       DtComponentDescriptor* desc = 0,
00048       DtReaderWriterRegistry* parentRegistry = 0);
00049 
00051    virtual ~DtRotaryWingPatrolBetweenController();
00052 
00055    virtual void tick();
00056 
00059    virtual DtString type() const;
00060 
00064    static void patrolBetweenCallback(DtSimMessage * msg, void * usrData);
00065 
00067    virtual void processPatrolBetweenTask(DtSimMessage * msg);
00068 
00070    virtual const DtString& firstWaypoint() const;
00071    virtual void setFirstWaypoint(const DtString& waypoint);
00072 
00074    virtual const DtString& secondWaypoint() const;
00075    virtual void setSecondWaypoint(const DtString& waypoint);
00076 
00080    static DtSimComponent * creator(const DtString& name, 
00081       DtVrfObject* owner,
00082       DtSimManager* simManager, 
00083       DtComponentDescriptor* desc = 0,
00084       DtReaderWriterRegistry* parentRegistry = 0);
00085 
00086 protected:
00089    DtRotaryWingPatrolBetweenController();
00090 
00092    DtRotaryWingPatrolBetweenController(
00093       const DtRotaryWingPatrolBetweenController & orig);
00094 
00096    const DtRotaryWingPatrolBetweenController & operator=(const 
00097       DtRotaryWingPatrolBetweenController & orig);
00098 
00100    virtual void registerTaskMsgCallbacks();
00101 
00106    virtual void reverse();
00107 
00108 public:
00109 
00110    static DtReal theDefaultRadius;
00111 
00112 };
00113 
00114 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)