VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
connectionLostCbList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #pragma once
11 
12 #if DtHLA
13 #if DtHLA_1516
14 
15 
16 #include "rtiNamespace.h"
17 #include <vlutil/vlList.h>
18 #include <string>
19 
20 
21 typedef void (*DtConnectionLostCb)(
22  const std::wstring &faultDescription,
23  void *theUserData);
24 
29 class DT_DLL_VL DtConnectionLostCbList
30 {
31 public:
32 
34  DtConnectionLostCbList();
35 
37  virtual ~DtConnectionLostCbList();
38 
40  DtConnectionLostCbList( const DtConnectionLostCbList& orig);
41 
43  DtConnectionLostCbList& operator=( const DtConnectionLostCbList& orig);
44 
47  virtual int add( DtConnectionLostCb cb, void* usr);
48  virtual int remove( DtConnectionLostCb cb, void* usr);
49 
51  virtual void clear();
52 
56  virtual void apply(const std::wstring &theName);
57 
58 protected:
59 
63  void dtorClear();
64 
67  void ctorCopyList(const DtConnectionLostCbList& orig);
68 
69 protected:
70 
71  DtList myList;
72 };
73 #endif
74 #endif
75 
76 
77 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtList and DtListItem.
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)