VR-Link API Documentation for HLA Evolved
refGenList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00009 
00010 #pragma once
00011 
00012 #if DtHLA 
00013 
00014 #include "hRefObjList.h"
00015 #include "refGenericObj.h"
00016 
00027 class DT_DLL_VL DtReflectedGenericObjectList : public DtReflectedObjectList
00028 {
00029 public:
00030    
00032    DtReflectedGenericObjectList(DtExerciseConn* exConn, 
00033       const char* className, const DtDDMRegionSet* regionSetToUse = 0,
00034       const DtString& updateRateTag = DtString(""));
00035 
00037    virtual ~DtReflectedGenericObjectList();
00038    
00039 private:
00040 
00042    DtReflectedGenericObjectList(const DtReflectedGenericObjectList &other);
00043 
00045    DtReflectedGenericObjectList &operator=(const DtReflectedGenericObjectList &other);
00046 
00047 public:
00048 
00052 
00054    virtual DtReflectedGenericObject* lookup(
00055 #if DtHLA_1516
00056       RTI::ObjectInstanceHandle id);
00057 #else
00058       RTI::ObjectHandle id);
00059 #endif
00060 
00062    virtual DtReflectedGenericObject* lookup(const DtGlobalObjectDesignator& objName);
00063 
00065    virtual DtReflectedGenericObject* first() const;
00066    virtual DtReflectedGenericObject* last() const;
00067 
00070 
00072    virtual void addGenericAdditionCallback(
00073       DtGenericObjectCallbackFunction cb, void* userData);
00074    virtual void removeGenericAdditionCallback(
00075       DtGenericObjectCallbackFunction cb, void* userData);
00076 
00078    virtual void addGenericRemovalCallback(
00079       DtGenericObjectCallbackFunction cb, void* userData);
00080    virtual void removeGenericRemovalCallback(
00081       DtGenericObjectCallbackFunction cb, void* userData);
00082 
00083 
00084 protected:
00088    virtual DtReflectedObject* newReflectedObject(DtHlaObject* obj) const;
00089 
00090 };
00091 
00092 #endif
00093 
00094 
00095 

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)