VR-Forces 4.0.4 Class Documentation
include/vrfmodel/rotWngMvToLocCtl.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: rotWngMvToLocCtl.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 
00016 #ifndef DtRotMoveToLocationControllerComponent_H_
00017 #define DtRotMoveToLocationControllerComponent_H_
00018 
00019 
00020 #include "vrfmodel/rotWngMvToCtl.h"
00021 
00026 #include "vrfmodel/vrfmodelDefines.h"
00027 class DT_DLL_vrfmodel DtRotaryWingMoveToLocationControllerComponent : public DtRotaryWingMoveToControllerComponent
00028 {
00029 public:
00030 
00033    DtRotaryWingMoveToLocationControllerComponent(const DtString& name, 
00034       DtVrfObject* owner,
00035       DtSimManager* simManager, 
00036       DtComponentDescriptor* desc = 0,
00037       DtReaderWriterRegistry* parentRegistry = 0);
00038 
00040    virtual ~DtRotaryWingMoveToLocationControllerComponent();
00041 
00044    virtual DtString type() const;
00045 
00049    static void moveToLocationCallback(DtSimMessage * msg, void * usr);
00050 
00052    virtual void processMoveToLocationTask(DtSimMessage * msg);
00053 
00057    static DtSimComponent * creator(const DtString& name, 
00058       DtVrfObject* owner,
00059       DtSimManager* simManager, 
00060       DtComponentDescriptor* desc = 0,
00061       DtReaderWriterRegistry* parentRegistry = 0);
00062 
00063 protected:
00065    virtual void registerTaskMsgCallbacks();
00066 
00070    virtual bool setupControlPoint();
00071 
00072    virtual void getDesiredPosition(DtVector& desiredPosition);
00073 
00074 private:
00077    DtRotaryWingMoveToLocationControllerComponent();
00078 
00080    DtRotaryWingMoveToLocationControllerComponent(
00081       const DtRotaryWingMoveToLocationControllerComponent & orig);
00082 
00084    const DtRotaryWingMoveToLocationControllerComponent & operator=(const 
00085       DtRotaryWingMoveToLocationControllerComponent & orig);
00086 
00087 
00088 protected:
00089    DtVector myLocalAimingPoint;
00090    DtVector myWorldAimingPoint;
00091 };
00092 
00093 #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)