VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/swingingPartActuatorDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: swingingPartActuatorDesc.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 
00013 #ifndef DtSwingingPartActuatorDescriptor_H_
00014 #define DtSwingingPartActuatorDescriptor_H_
00015 
00016 #include "vrfobjparam/actCompDesc.h"
00017 #include "vrfutil/rwReal.h"
00018 #include "vrfutil/rwString.h"
00019 #include "vrfobjparam/vrfobjparamDefines.h"
00020 
00025 class DT_DLL_vrfobjparam DtSwingingPartActuatorDescriptor : public DtActuatorComponentDescriptor
00026 {
00027 public:
00029    DtSwingingPartActuatorDescriptor(const DtString& rwName = DtString::nullString(), 
00030       DtReaderWriterRegistry*  parentRegistry = 0);
00032    DtSwingingPartActuatorDescriptor(const DtSwingingPartActuatorDescriptor& orig, 
00033       DtReaderWriterRegistry*  parentRegistry = 0);
00035    DtSwingingPartActuatorDescriptor& operator=(
00036       const DtSwingingPartActuatorDescriptor& orig);
00038    virtual ~DtSwingingPartActuatorDescriptor();
00039 
00041    virtual DtComponentDescriptor* clone(DtReaderWriterRegistry*  parentRegistry = 0) const;
00043    virtual DtString type() const;
00044 
00046    static DtComponentDescriptor* creator();
00047 
00050    virtual double closedAngle() const;
00051    virtual void setClosedAngle(const double& newValue);
00053 
00056    virtual double openAngle() const;
00057    virtual void setOpenAngle(const double& newValue);
00059 
00062    virtual DtString swingAxis() const;
00063    virtual void setSwingAxis(const DtString& newValue);
00065 
00068    virtual double swingRate() const;
00069    virtual void setSwingRate(const double& newValue);
00071 
00072 protected:
00079    DtRwReal myClosedAngle;
00084    DtRwReal myOpenAngle;
00089    DtRwString mySwingAxis;
00094    DtRwReal mySwingRate;
00096 };
00097 #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)