VR-Link API Documentation for HLA 1.3
 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 
26 
27 
28 
33 {
34 public:
35 
38 
40  virtual ~DtRegControlCbList();
41 
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 
78 };
79 
82 
83 #endif
84 #endif
85 
Instances of DtRegControlCbList are used to provide a list of callbacks (DtRegControlCbInfo) which ar...
Definition: regControlCbList.h:32
void(* DtRegControlCb)(RTI::ObjectClassHandle objectClass, void *usr)
Definition: regControlCbList.h:20
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtList and DtListItem.
DtRegControlCb DtStopRegCb
Definition: regControlCbList.h:25
DtList myList
Definition: regControlCbList.h:77
DtRegControlCb DtStartRegCb
Definition: regControlCbList.h:24
DtRegControlCbList DtStopRegCbList
Definition: regControlCbList.h:81
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
DtRegControlCbList DtStartRegCbList
Definition: regControlCbList.h:80

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)