MAK RTIspy API Documentation for HLA 1.3
momInterCbInfo.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: momInterCbInfo.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtMomInterCallbackInfo_H_
00013 #define DtMomInterCallbackInfo_H_
00014 #ifdef DtMOM
00015 
00016 #include "rtiMsConfig.h"
00017 #include "momInterCbMgr.h"
00018 
00021 class DT_DLL_LRC DtMomInterCallbackInfo
00022 {
00023 public:
00024 
00026    DtMomInterCallbackInfo(DtMomInterCallbackFcn func, void* usr);
00027 
00029    virtual ~DtMomInterCallbackInfo();
00030 
00032    DtMomInterCallbackInfo(const DtMomInterCallbackInfo& orig);
00033 
00035    DtMomInterCallbackInfo& operator=(const DtMomInterCallbackInfo& orig);
00036 
00038    virtual int match(const DtMomInterCallbackInfo& other) const;
00039 
00041    virtual DtMomInterCallbackFcn func() const;
00042 
00044    virtual void* usr() const;
00045 
00046 protected:
00047 
00048    DtMomInterCallbackFcn myFunc;
00049    void* myUsr;
00050 
00051 };
00052 
00053 inline DtMomInterCallbackFcn DtMomInterCallbackInfo::func() const
00054 {
00055    return myFunc;
00056 }
00057 
00058 inline void* DtMomInterCallbackInfo::usr() const
00059 {
00060    return myUsr;
00061 }
00062 
00063 #endif
00064 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)