VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
intercomGroupAsgmtRec.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtIntercomGroupAsgmtRec_H_
11 #define DtIntercomGroupAsgmtRec_H_
12 
13 #if DtDIS
14 
15 #include <vlutil/vlMachineTypes.h>
16 #include <vlpi/disEnums.h>
17 #include "hostStructs.h"
18 
19 #include "packets/intercmCtlP.h"
20 #include "intercomParmRec.h"
21 
22 
23 
27 
29 {
30 
31 public:
32 
36 
38  virtual ~DtIntercomGroupAsgmtRec();
39 
42  const DtIntercomGroupAsgmtRec& orig);
44  const DtNetIntercomGroupAsgmtRec& orig);
45 
47  virtual void setGroupBitField(DtU32 bitField);
48  virtual DtU32 groupBitField() const;
49 
51  virtual void setDestEntityID(const DtEntityIdentifier& entityID);
52  virtual const DtEntityIdentifier& destEntityID() const;
53 
55  virtual void setDestEquipID(DtU16 equipID);
56  virtual DtU16 destEquipID() const;
57 
59  virtual void setDestLineID(DtU8 lineID);
60  virtual DtU8 destLineID() const;
61 
63  virtual void print() const;
64 
66  virtual void printDataToStream(std::ostream& stream) const;
67 
69  virtual void unloadNetRecord(const DtNetIntercomGroupAsgmtRec& record);
70  virtual void loadNetRecord(DtNetIntercomGroupAsgmtRec& record) const;
71 
72 protected:
73 
78 
79 };
80 
81 #endif
82 #endif
83 
DtEntityIdentifier myDestEntityID
Definition: intercomGroupAsgmtRec.h:75
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtIntercomParmRec is an abstract base class for the parameter record classes which are used by the in...
Definition: intercomParmRec.h:23
This file declares classes related to intercom messages.
DtU32 myGroupBitField
Definition: intercomGroupAsgmtRec.h:74
DtU16 myDestEquipID
Definition: intercomGroupAsgmtRec.h:76
Instances of DtIntercomGroupAsgmtRec are used to contain the information in the group assignment para...
Definition: intercomGroupAsgmtRec.h:28
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
Definition: intercmCtlP.h:47
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Contains the standard DIS enumerations.
DtIntercomParmRec & operator=(const DtIntercomParmRec &orig)
Assignment operator.
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
virtual void printDataToStream(std::ostream &stream) const
Print the record to a stream.
DtU8 myDestLineID
Definition: intercomGroupAsgmtRec.h:77
This file contains typedefs for machine dependant types.
virtual void print() const
Print the record type and length.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)