VR-Link API Documentation for HLA 1.3
refGenericObj.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 #ifndef DtReflectedGenericObject_H_
00011 #define DtReflectedGenericObject_H_
00012 
00013 #if DtHLA 
00014 
00015 #include "hReflectedObj.h"
00016 #include "genericSR.h"
00017 
00022 class DT_DLL_VL DtReflectedGenericObject;
00023 typedef void (*DtGenericObjectCallbackFunction)
00024    (DtReflectedGenericObject* obj, void* userData);
00025 
00033 class DT_DLL_VL DtReflectedGenericObject : public DtReflectedObject
00034 {
00035 public:
00036    
00038    DtReflectedGenericObject(DtHlaObject* obj, DtExerciseConn* conn);
00039 
00041    virtual ~DtReflectedGenericObject();
00042 
00045    virtual DtGenericStateRepository* genericStateRep() const;
00046 
00048    virtual DtGenericStateRepository* gsr() const;
00049    
00052    virtual DtReflectedGenericObject* next() const;
00053    virtual DtReflectedGenericObject* prev() const;
00054    virtual DtReflectedGenericObject* wrapNext() const;
00055    virtual DtReflectedGenericObject* wrapPrev() const;
00056 
00058    virtual void addPostUpdateCallback(
00059       DtGenericObjectCallbackFunction cb, void* userData);
00060    virtual void removePostUpdateCallback(
00061       DtGenericObjectCallbackFunction cb, void* userData);
00062 
00063 protected:
00064 
00066    DtReflectedGenericObject(const DtReflectedGenericObject &other);
00067 
00069    DtReflectedGenericObject& operator=(const DtReflectedGenericObject &other);
00070 
00071 };
00072 
00073 #endif
00074 #endif
00075 

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)