VR-Link API Documentation for DIS
strtUpdCbInfo.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 DtUpdateControlCbInfo103_H_
00011 #define DtUpdateControlCbInfo103_H_
00012 
00013 #if DtHLA 
00014 
00015 #if DtRTI103
00016 
00017 #include "strtUpdCbList.h"
00018 #include "stateMsg.h"
00019 #include "rtiNamespace.h"
00020 
00026 
00027 class DT_DLL_VL DtUpdateControlCbInfo
00028 {
00029 public:
00030 
00032    DtUpdateControlCbInfo(RTI::ObjectClassHandle h,
00033       DtUpdateControlCb cb,
00034       void* usr);
00035 
00037    virtual ~DtUpdateControlCbInfo();
00038 
00040    DtUpdateControlCbInfo(
00041       const DtUpdateControlCbInfo& orig);
00042 
00044    DtUpdateControlCbInfo& operator=(
00045       const DtUpdateControlCbInfo& orig);
00046 
00048    virtual int match(const DtUpdateControlCbInfo* const other) const;
00049 
00051    virtual int operator==(const DtUpdateControlCbInfo& other) const;
00052 
00054    virtual const RTI::ObjectClassHandle& objectClass() const;
00055 
00057    virtual const DtUpdateControlCb& cbFunction() const;
00058 
00060    virtual void* userData() const;
00061 
00062 protected:
00063 
00064    RTI::ObjectClassHandle myClass;
00065    DtUpdateControlCb myFunc;
00066    void* myUsr;
00067 };
00068 
00069 typedef DtUpdateControlCbInfo DtStartUpdatesCbInfo;
00070 typedef DtUpdateControlCbInfo DtStopUpdatesCbInfo;
00071 
00072 inline const RTI::ObjectClassHandle& DtUpdateControlCbInfo::objectClass() const
00073 {
00074    return myClass;
00075 }
00076 
00077 inline const DtUpdateControlCb& DtUpdateControlCbInfo::cbFunction() const
00078 {
00079    return myFunc;
00080 }
00081 
00082 inline void* DtUpdateControlCbInfo::userData() const
00083 {
00084    return myUsr;
00085 }
00086 
00087 #endif
00088 #endif
00089 #endif
00090 

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)