VR-Link API Documentation for HLA Evolved
undwaAcShaft.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: undwaAcShaft.h,v $ $Revision: 1.1 $
00007 ** $State: Exp $
00008 *********************************************************************/
00009 
00012 
00013 #ifndef DtUnderwaterAcousticShaftSpeed_H_
00014 #define DtUnderwaterAcousticShaftSpeed_H_
00015 
00016 #include <vlutil/vlMachineTypes.h>
00017 #include <vlpi/disEnums.h>
00018 
00019 #include "packets/undwaAcP.h"
00020 
00024 class DT_DLL_VL DtUnderwaterAcousticShaftSpeed
00025 {
00026 
00027 public:
00028 
00030    DtUnderwaterAcousticShaftSpeed();
00031    DtUnderwaterAcousticShaftSpeed(const DtUnderwaterAcousticShaftSpeed& orig);
00032 
00034    DtUnderwaterAcousticShaftSpeed& operator=(
00035       const DtUnderwaterAcousticShaftSpeed& orig);
00036    DtUnderwaterAcousticShaftSpeed& operator=(
00037       const DtNetUnderwaterAcousticShaftSpeed& orig);
00038 
00040    virtual ~DtUnderwaterAcousticShaftSpeed();
00041 
00043    virtual void setCurrentShaftRPM(DtU16 value);
00044    virtual DtU16 currentShaftRPM() const;
00045 
00047    virtual void setOrderedShaftRPM(DtU16 value);
00048    virtual DtU16 orderedShaftRPM() const;
00049 
00051    virtual void setShaftRPM_RateOfChange(DtU32 value);
00052    virtual DtU32 shaftRPM_RateOfChange() const;
00053 
00054    bool operator==(const DtUnderwaterAcousticShaftSpeed& other) const;
00055    bool operator!=(const DtUnderwaterAcousticShaftSpeed& other) const;
00056 
00059    virtual void print() const;
00061    virtual void printDataToStream(std::ostream &stream) const;   
00062 
00064    virtual void unloadNetRecord(
00065       const DtNetUnderwaterAcousticShaftSpeed& record);
00066    virtual void loadNetRecord(
00067       DtNetUnderwaterAcousticShaftSpeed& record) const;
00068 
00069 
00070 protected:
00071 
00073    DtU16                     myCurrentShaftRPM;
00074    DtU16                     myOrderedShaftRPM;
00075    DtU32                     myShaftRPM_RateOfChange;
00076 
00077 };
00078 
00079 #endif
00080 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)