VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
regControlCbList.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 #ifndef DtRegControlCbList_H_
11 #define DtRegControlCbList_H_
12 
13 #if DtHLA
14 
15 #include <vlutil/vlList.h>
16 #include "rtiNamespace.h"
17 
18 
19 
20 typedef void (*DtRegControlCb)(
21  RTI::ObjectClassHandle objectClass,
22  void* usr);
23 
24 typedef DtRegControlCb DtStartRegCb;
25 typedef DtRegControlCb DtStopRegCb;
26 
27 
28 
32 class DT_DLL_VL DtRegControlCbList
33 {
34 public:
35 
37  DtRegControlCbList();
38 
40  virtual ~DtRegControlCbList();
41 
43  DtRegControlCbList(
44  const DtRegControlCbList& orig);
45 
47  DtRegControlCbList& operator=(
48  const DtRegControlCbList& orig);
49 
52  virtual int add(RTI::ObjectClassHandle h, DtRegControlCb cb,
53  void* usr);
54  virtual int remove(RTI::ObjectClassHandle h, DtRegControlCb cb,
55  void* usr);
56 
58  virtual void clear();
59 
62  virtual void apply(RTI::ObjectClassHandle objectClass);
63 
64 protected:
65 
69  void dtorClear();
70 
73  void ctorCopyList(const DtRegControlCbList& orig);
74 
75 protected:
76 
77  DtList myList;
78 };
79 
80 typedef DtRegControlCbList DtStartRegCbList;
81 typedef DtRegControlCbList DtStopRegCbList;
82 
83 #endif
84 #endif
85 
#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 Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)