![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #pragma once 00011 00012 00013 #if DtHLA 00014 #if DtHLA_1516 00015 00016 #include "connectionLostCbList.h" 00017 #include "stateMsg.h" 00018 #include "rtiNamespace.h" 00019 00024 class DT_DLL_VL DtConnectionLostCbInfo 00025 { 00026 public: 00027 00029 DtConnectionLostCbInfo(DtConnectionLostCb cb, void* usr); 00030 00032 virtual ~DtConnectionLostCbInfo(); 00033 00035 DtConnectionLostCbInfo( 00036 const DtConnectionLostCbInfo& orig); 00037 00039 DtConnectionLostCbInfo& operator=( 00040 const DtConnectionLostCbInfo& orig); 00041 00043 virtual int match(const DtConnectionLostCbInfo* const other) const; 00044 00046 virtual int operator==(const DtConnectionLostCbInfo& other) const; 00047 00049 virtual const DtConnectionLostCb& cbFunction() const; 00050 00052 virtual void* userData() const; 00053 00054 protected: 00055 00056 DtConnectionLostCb myFunc; 00057 void* myUsr; 00058 }; 00059 00060 inline const DtConnectionLostCb& DtConnectionLostCbInfo::cbFunction() const 00061 { 00062 return myFunc; 00063 } 00064 00065 inline void* DtConnectionLostCbInfo::userData() const 00066 { 00067 return myUsr; 00068 } 00069 00070 #endif 00071 #endif 00072 00073 00074