VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
leEntityID.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: leEntityID.h,v $ $Revision: 1.1 $
7 ** $State: Exp $
8 *********************************************************************/
9 #ifndef DtLeEntityID_H_
10 #define DtLeEntityID_H_
11 
15 
16 #if DtDIS
17 
18 #include <vlutil/vlMachineTypes.h>
19 #include <vlpi/disEnums.h>
20 
21 #include "packets/leTspiP.h"
22 
27 
28 class DT_DLL_VL DtLeEntityID
29 {
30 
31 public:
32 
34  DtLeEntityID();
35  DtLeEntityID(const DtLeEntityID& orig);
36 
38  DtLeEntityID& operator=(const DtLeEntityID& orig);
39  DtLeEntityID& operator=(const DtNetLeEntityID& orig);
40 
42  virtual ~DtLeEntityID();
43 
45  virtual void setSite(DtU8 value);
46  virtual DtU8 site() const;
47 
49  virtual void setApplication(DtU8 value);
50  virtual DtU8 application() const;
51 
53  virtual void setEntity(DtU16 value);
54  virtual DtU16 entity() const;
55 
57  virtual void print() const;
58 
60  virtual void printDataToStream(std::ostream& stream) const;
61 
63  virtual void unloadNetRecord(const DtNetLeEntityID& record);
64  virtual void loadNetRecord(DtNetLeEntityID& record) const;
65 
66 
67 protected:
68 
70  DtU8 mySite;
71  DtU8 myApplication;
72  DtU16 myEntity;
73 
74 };
75 
76 #endif
77 #endif
78 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Contains the standard DIS enumerations.
This file contains typedefs for machine dependant types.
This file declares network classes for the LeEntity objects.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)