VR-Link API Documentation for HLA Evolved
objDesList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00010 
00011 #ifndef DtGlobalObjectDesignatorList_H_
00012 #define DtGlobalObjectDesignatorList_H_
00013 
00014 #include "hostStructs.h"
00015 #include <iosfwd>
00016 
00020 class DT_DLL_VL DtGlobalObjectDesignatorList
00021 {
00022 public:
00023 
00025    DtGlobalObjectDesignatorList();
00026 
00028    virtual ~DtGlobalObjectDesignatorList();
00029 
00031    DtGlobalObjectDesignatorList(const DtGlobalObjectDesignatorList& orig);
00032 
00034    DtGlobalObjectDesignatorList& operator=(
00035       const DtGlobalObjectDesignatorList& orig);
00036 
00038    int operator==(const DtGlobalObjectDesignatorList& other) const;   
00039    int operator!=(const DtGlobalObjectDesignatorList& other) const;   
00040 
00043    virtual void setNumObjects(int num);
00044    virtual int numObjects() const;   
00045 
00047    virtual bool setObject(int index, 
00048       const DtGlobalObjectDesignator& des);
00049 
00052    virtual const DtGlobalObjectDesignator& object(
00053       int index, bool* valid = 0) const;
00054 
00056    virtual void printData() const;
00057    virtual void printDataToStream(std::ostream& stream) const;
00058 
00060    virtual void setFromNet(const void* netRep, int length);
00061 
00065    virtual const void* netRep(int* size = 0) const;
00066 
00068    virtual int netSize() const;
00069 
00070 #if DtHLA
00071 
00072    virtual void setFromNetPre1_0(const void* netRep, int length);
00073    virtual const void* netRepPre1_0(int* size = 0) const;
00074    virtual int netSizePre1_0() const;
00075 
00077 
00078    virtual void setFromNet2_0(const void* netRep, int length);
00079    virtual const void* netRep2_0(int* size = 0) const;
00080    virtual int netSize2_0() const;
00082 
00083 #endif
00084 
00085 protected:
00086 
00087    int myNum;
00088    DtGlobalObjectDesignator* myObjs;   
00089    DtGlobalObjectDesignator myEmptyObj;
00090    void* myNetRep;
00091 };
00092 
00093 #endif
00094 

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)