![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef _undwatAcP_h_ 00008 #define _undwatAcP_h_ 1 00009 00010 #include <vlpi/NetStructs.h> 00011 #include <vlpi/entityIdentifier.h> 00012 #include <vl/eventId.h> 00013 00014 #if DtDIS 00015 #include "pduHeader.h" 00016 #endif 00017 00020 00021 struct DtNetUnderwaterAcousticShaftSpeed 00022 { 00023 DtNetU16 myCurrentShaftRPM; 00024 DtNetU16 myOrderedShaftRPM; 00025 DtNetU32 myShaftRPM_RateOfChange; 00026 }; 00027 00028 struct DtNetUnderwaterAcousticAddtnlPassiveAct 00029 { 00030 DtNetU16 myParmIndex; 00031 DtNetU16 myAPA; 00032 }; 00033 00034 struct DtNetUnderwaterAcousticEmitterSystem 00035 { 00036 DtNetU8 myDataLength; 00037 DtNetU8 myNumberOfBeams; 00038 DtNetU16 padding; 00039 DtNetU16 myAcousticName; 00040 DtNetU8 myFunction; 00041 DtNetU8 myAcousticID; 00042 DtNet32Vector myLocation; 00043 }; 00044 00045 struct DtNetUnderwaterAcousticBeam 00046 { 00047 DtNetU8 myBeamDataLength; 00048 DtNetU8 myBeamID_Number; 00049 DtNetU16 padding; 00050 DtNetU16 myActiveEmissionParmIndex; 00051 DtNetU16 myScanPattern; 00052 DtNetFloat32 myBeamCenterAzimuth; 00053 DtNetFloat32 myAzimuthalBeamwidth; 00054 DtNetFloat32 myBeamCenterD_E; 00055 DtNetFloat32 myD_E_Beamwidth; 00056 }; 00057 00058 #if DtDIS 00059 00060 struct DtNetUnderwaterAcousticPdu 00061 { 00062 DtNetPduHeader myHeader; 00063 DtNetEntityIdentifier myEmittingEntityID; 00064 DtNetEventId myEventID; 00065 DtNetU8 myStateChangeUpdate; 00066 DtNetU8 padding; 00067 DtNetU16 myPassiveParameterIndex; 00068 DtNetU8 myPropulsionPlantConfig; 00069 DtNetU8 myNumShafts; 00070 DtNetU8 myNumAdditionalPassiveAct; 00071 DtNetU8 myNumEmitterSystems; 00072 }; 00073 00074 #endif 00075 #endif