![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #pragma once 00011 00012 #if DtHLA 00013 #if DtHLA_1516 00014 00015 00016 #include "rtiNamespace.h" 00017 #include <vlutil/vlList.h> 00018 #include <string> 00019 00020 00021 typedef void (*DtConnectionLostCb)( 00022 const std::wstring &faultDescription, 00023 void *theUserData); 00024 00029 class DT_DLL_VL DtConnectionLostCbList 00030 { 00031 public: 00032 00034 DtConnectionLostCbList(); 00035 00037 virtual ~DtConnectionLostCbList(); 00038 00040 DtConnectionLostCbList( const DtConnectionLostCbList& orig); 00041 00043 DtConnectionLostCbList& operator=( const DtConnectionLostCbList& orig); 00044 00047 virtual int add( DtConnectionLostCb cb, void* usr); 00048 virtual int remove( DtConnectionLostCb cb, void* usr); 00049 00051 virtual void clear(); 00052 00056 virtual void apply(const std::wstring &theName); 00057 00058 protected: 00059 00063 void dtorClear(); 00064 00067 void ctorCopyList(const DtConnectionLostCbList& orig); 00068 00069 protected: 00070 00071 DtList myList; 00072 }; 00073 #endif 00074 #endif 00075 00076 00077