VR-Link API Documentation for HLA Evolved
leEntityID.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: leEntityID.h,v $ $Revision: 1.1 $
00007 ** $State: Exp $
00008 *********************************************************************/
00009 #ifndef DtLeEntityID_H_
00010 #define DtLeEntityID_H_
00011  
00015 
00016 #if DtDIS
00017 
00018 #include <vlutil/vlMachineTypes.h>
00019 #include <vlpi/disEnums.h>
00020 
00021 #include "packets/leTspiP.h"
00022 
00027 
00028 class DT_DLL_VL DtLeEntityID
00029 {
00030 
00031 public:
00032 
00034    DtLeEntityID();
00035    DtLeEntityID(const DtLeEntityID& orig);
00036 
00038    DtLeEntityID& operator=(const DtLeEntityID& orig);
00039    DtLeEntityID& operator=(const DtNetLeEntityID& orig);
00040 
00042    virtual ~DtLeEntityID();
00043 
00045    virtual void setSite(DtU8 value);
00046    virtual DtU8 site() const;
00047 
00049    virtual void setApplication(DtU8 value);
00050    virtual DtU8 application() const;
00051 
00053    virtual void setEntity(DtU16 value);
00054    virtual DtU16 entity() const;
00055 
00057    virtual void print() const;
00058 
00060    virtual void printDataToStream(std::ostream& stream) const;
00061 
00063    virtual void unloadNetRecord(const DtNetLeEntityID& record);
00064    virtual void loadNetRecord(DtNetLeEntityID& record) const;
00065 
00066 
00067 protected:
00068 
00070    DtU8                      mySite;
00071    DtU8                      myApplication;
00072    DtU16                     myEntity;
00073 
00074 };
00075 
00076 #endif
00077 #endif
00078 

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)