VR-Link API Documentation for DIS
intercmCtlP.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef _IntercomCtlP_h_
00008 #define _IntercomCtlP_h_ 1
00009  
00013 
00014 #if DtDIS
00015 
00016 
00017 #include <vlpi/NetStructs.h>
00018 #include "pduHeader.h"
00019 
00022 
00023 struct DtNetIntercomParmRec
00024 {
00025    DtNetU16                     myRecordType;
00026    DtNetU16                     myRecordLength;
00027 };
00028 
00029 struct DtNetIntercomEntityDestRec : public DtNetIntercomParmRec
00030 {
00031    DtNetEntityIdentifier        myDestEntityID;
00032    DtNetU16                     myDestDeviceID;
00033    DtNetU8                      myDestLineID;
00034    DtNetU8                      myDestPriority;
00035    DtNetU8                      myDestLineStateCmd;
00036    DtNetU8                      padding;
00037 };
00038 
00039 struct DtNetIntercomGroupDestRec : public DtNetIntercomParmRec
00040 {
00041    DtNetU32                     myDestGroupBitField;
00042    DtNetU8                      myDestPriority;
00043    DtNetU8                      myDestLineStateCmd;
00044    DtNetU16                     padding;
00045 };
00046 
00047 struct DtNetIntercomGroupAsgmtRec : public DtNetIntercomParmRec
00048 {
00049    DtNetU32                     myGroupBitField;
00050    DtNetEntityIdentifier        myDestEntityID;
00051    DtNetU16                     myDestEquipID;
00052    DtNetU8                      myDestLineID;
00053    DtNetU8                      reserved_a;
00054    DtNetU8                      reserved_b;
00055    DtNetU8                      reserved_c;
00056 };
00057 
00060 
00061 struct DtNetIntercomControlPdu
00062 {
00063    DtNetPduHeader               myHeader;
00064    DtNetU8                      myControlType;
00065    DtNetU8                      myChannelType;
00066    DtNetEntityIdentifier        mySourceEntityID;
00067    DtNetU16                     mySourceDeviceID;
00068    DtNetU8                      mySourceLineID;
00069    DtNetU8                      myTransmitPriority;
00070    DtNetU8                      myTransmitLineState;
00071    DtNetU8                      myCommand;
00072    DtNetEntityIdentifier        myMasterEntityID;
00073    DtNetU16                     myMasterDeviceID;
00074    DtNetU16                     myMasterChannelID;
00075    DtNetU32                     myParmLength;
00076 };
00077 
00078 #endif
00079 #endif

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)