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

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)