VR-Link API Documentation for HLA Evolved
regCtlCbInfo.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 DtRegControlCbInfo_H_
00011 #define DtRegControlCbInfo_H_
00012 
00013 #if DtHLA 
00014 
00015 #include "regCtlCbList.h"
00016 #include "rtiNamespace.h"
00017 #include "stateMsg.h"
00018 
00019 
00023 class DT_DLL_VL DtRegControlCbInfo
00024 {
00025 public:
00026 
00028    DtRegControlCbInfo(RTI::ObjectClassHandle h,
00029       DtRegControlCb cb,
00030       void* usr);
00031 
00033    virtual ~DtRegControlCbInfo();
00034 
00036    DtRegControlCbInfo(
00037       const DtRegControlCbInfo& orig);
00038 
00040    DtRegControlCbInfo& operator=(
00041       const DtRegControlCbInfo& orig);
00042 
00044    virtual int match(const DtRegControlCbInfo* const other) const;
00045 
00047    virtual int operator==(const DtRegControlCbInfo& other) const;
00048 
00050    virtual const RTI::ObjectClassHandle& objectClass() const;
00051 
00053    virtual const DtRegControlCb& cbFunction() const;
00054 
00056    virtual void* userData() const;
00057 
00058 protected:
00059 
00060    RTI::ObjectClassHandle myClass;
00061    DtRegControlCb myFunc;
00062    void* myUsr;
00063 };
00064 
00065 typedef DtRegControlCbInfo DtStartRegsCbInfo;
00066 typedef DtRegControlCbInfo DtStopRegsCbInfo;
00067 
00068 inline const RTI::ObjectClassHandle& DtRegControlCbInfo::objectClass() const
00069 {
00070    return myClass;
00071 }
00072 
00073 inline const DtRegControlCb& DtRegControlCbInfo::cbFunction() const
00074 {
00075    return myFunc;
00076 }
00077 
00078 inline void* DtRegControlCbInfo::userData() const
00079 {
00080    return myUsr;
00081 }
00082 
00083 #endif
00084 #endif
00085 

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)