VR-Link API Documentation for DIS
tReflEntList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #if DtTENA 
00008 
00009 #ifndef tReflEntList_H_
00010 #define tReflEntList_H_
00011 
00012 
00013 #include "tReflectedEnt.h"
00014 #include "tRefObjList.h"
00015 
00016 #include <list>
00017 
00022 
00023 class DT_DLL_VL DtReflectedEntity;
00024 
00025 
00029 class DT_DLL_VL DtReflectedEntityList : public DtReflectedObjectList
00030 {
00031 public:
00032 
00036    DtReflectedEntityList(DtExerciseConn* exConn,
00037       bool smoothCapable = false);
00038 
00040    virtual ~DtReflectedEntityList();
00041 
00042 private:
00043 
00045    DtReflectedEntityList(const DtReflectedEntityList& orig);
00046 
00048    DtReflectedEntityList& operator=(const DtReflectedEntityList& orig);
00049 
00050 public:
00051 
00053    virtual void addEntityAdditionCallback(
00054       DtEntityCallbackFunction cb, void* userData);
00055 
00057    virtual void removeEntityAdditionCallback(
00058       DtEntityCallbackFunction cb, void* userData);
00059 
00061    virtual void addEntityRemovalCallback(
00062       DtEntityCallbackFunction cb, void* userData);
00063 
00065    virtual void removeEntityRemovalCallback(
00066       DtEntityCallbackFunction cb, void* userData);
00067 
00069    virtual DtReflectedEntity* first() const;
00070 
00072    virtual DtReflectedEntity* last() const;
00073 
00077    virtual DtReflectedEntity* lookup(const DtObjectId& id) const;
00078 
00079     static DtReflectedObject* newSmoothingEntity(DtExerciseConn* conn);
00080 
00081 protected:
00082    const std::vector<DtString>& defaultInterfaceList();
00083 
00084 protected:
00085    virtual void objectAdded(DtReflectedObject* obj);
00086    bool mySmoothCapable;
00087 
00088 };
00089 
00090 #endif
00091 #endif
00092 

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)