VR-Forces 4.0.4 Class Documentation
include/vrfmodel/defaultLandingGearController.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: defaultLandingGearController.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 
00012 
00014 
00015 #ifndef DtDefaultLandingGearController_H_
00016 #define DtDefaultLandingGearController_H_
00017 
00018 #include "vrfobjcore/cntrlCmpnt.h"
00019 #include "vrfmodel/vrfmodelDefines.h"
00020 
00021 class DtDefaultLandingGearControllerDescriptor;
00022 class DtBooleanOutputPort;
00023 class DtFixedWingEntityStateRepository;
00024 
00031 class DT_DLL_vrfmodel DtDefaultLandingGearController : public DtControllerComponent
00032 {
00033 private:
00035    DtDefaultLandingGearController();
00037    DtDefaultLandingGearController(const DtDefaultLandingGearController& orig);
00039    DtDefaultLandingGearController& operator=(const DtDefaultLandingGearController& orig);
00040 public:
00046    DtDefaultLandingGearController(const DtString& name, DtVrfObject* owner, 
00047       DtSimManager* simManager, DtComponentDescriptor* desc=0, 
00048       DtReaderWriterRegistry *parentRegistry=0);
00049 
00051    virtual ~DtDefaultLandingGearController();
00052 
00054    virtual bool init();
00055 
00058    virtual DtString type() const;
00059 
00061    virtual void tick();
00062 
00066    static DtSimComponent* creator(const DtString& name, DtVrfObject* owner, 
00067       DtSimManager* simManager, DtComponentDescriptor* desc=0, 
00068       DtReaderWriterRegistry* parentRegistry=0);
00069 
00070 protected:
00072    virtual bool createPortGroups();
00073 
00075    virtual bool createPorts();
00076 
00083    DtBooleanOutputPort* myLandingGearDownPort;
00084 
00085    DtFixedWingEntityStateRepository* myFixedWingSR;
00086    
00087 
00089 };
00090 
00091 #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)