VR-Link API Documentation for HLA Evolved
envRec.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #ifndef DtEnvironmentalRecord_H_
00010 #define DtEnvironmentalRecord_H_
00011 
00012 
00013 #include <vlutil/vlMachineTypes.h>
00014 #include "packets/envProcP.h"
00015 
00022 class DT_DLL_VL DtEnvironmentalRecord
00023 {
00024 public:
00025    DtEnvironmentalRecord();
00026 
00027 protected:
00028    DtEnvironmentalRecord(const DtEnvironmentalRecord& orig);
00029 
00030 public:
00031    const DtEnvironmentalRecord& operator=(const DtEnvironmentalRecord& orig);
00032 
00033    virtual ~DtEnvironmentalRecord();
00034 
00035    virtual DtEnvironmentalRecord* clone() const;
00036 
00040    virtual bool createNetworkRepresentation();
00041 
00042    virtual void setType(DtU32 type);
00043    virtual DtU32 type() const;
00044 
00045    virtual void setLength(DtU16 length);
00046    virtual DtU16 length() const;
00047 
00048    virtual void setIndex(DtU8 index);
00049    virtual DtU8 index() const;
00050 
00052    const DtNetEnvironmentalRecord* netRep() const;
00053    DtNetEnvironmentalRecord* netRep();
00054 
00055    virtual int netRepSize() const;
00056 
00058    virtual void setFromNet(const DtNetEnvironmentalRecord& buffer);
00059 
00060 
00061 
00062 protected:
00065    virtual bool checkAndCreate();
00066 
00068    DtEnvironmentalRecord* self() const;
00069 
00070 protected:
00071 
00072    DtNetEnvironmentalRecord* myNetRep;
00073 };
00074 
00075 
00076 #endif
00077 

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)