![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: undwaAcEmtSys.h,v $ $Revision: 1.1 $ 00007 ** $State: Exp $ 00008 *********************************************************************/ 00009 00012 00013 #ifndef DtUnderwaterAcousticEmitterSystem_H_ 00014 #define DtUnderwaterAcousticEmitterSystem_H_ 00015 00016 #if DtDIS 00017 00018 #include <vlutil/vlMachineTypes.h> 00019 #include <vlpi/disEnums.h> 00020 #include <matrix/vlMath.h> 00021 00022 #include "packets/undwaAcP.h" 00023 00027 class DT_DLL_VL DtUnderwaterAcousticEmitterSystem 00028 { 00029 00030 public: 00031 00033 DtUnderwaterAcousticEmitterSystem(); 00034 DtUnderwaterAcousticEmitterSystem( 00035 const DtUnderwaterAcousticEmitterSystem& orig); 00036 00038 DtUnderwaterAcousticEmitterSystem& operator=( 00039 const DtUnderwaterAcousticEmitterSystem& orig); 00040 DtUnderwaterAcousticEmitterSystem& operator=( 00041 const DtNetUnderwaterAcousticEmitterSystem& orig); 00042 00044 virtual ~DtUnderwaterAcousticEmitterSystem(); 00045 00046 00048 virtual void setDataLength(DtU8 value); 00049 virtual DtU8 dataLength() const; 00050 00052 virtual void setNumberOfBeams(DtU8 value); 00053 virtual DtU8 numberOfBeams() const; 00054 00056 virtual void setAcousticName(DtUnderwaterAcousticSystemName name); 00057 virtual DtUnderwaterAcousticSystemName acousticName() const; 00058 00060 virtual void setFunction(DtUnderwaterAcousticFunction function); 00061 virtual DtUnderwaterAcousticFunction function() const; 00062 00064 virtual void setAcousticID(DtU8 id); 00065 virtual DtU8 acousticID() const; 00066 00068 virtual void setLocation(const DtVector& coords); 00069 virtual const DtVector& location() const; 00070 00071 00073 virtual void print() const; 00074 virtual void printDataToStream(std::ostream& stream) const; 00075 00076 00078 virtual void unloadNetRecord( 00079 const DtNetUnderwaterAcousticEmitterSystem& record); 00080 virtual void loadNetRecord( 00081 DtNetUnderwaterAcousticEmitterSystem& record) const; 00082 00083 00084 protected: 00085 00087 DtU8 myDataLength; 00088 DtU8 myNumberOfBeams; 00089 DtUnderwaterAcousticSystemName myAcousticName; 00090 DtUnderwaterAcousticFunction myFunction; 00091 DtU8 myAcousticID; 00092 DtVector myLocation; 00093 00094 00095 }; 00096 00097 #endif 00098 #endif 00099