VR-Link API Documentation for HLA 1.3
strtUpdCbList.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 DtUpdateControlCbList103_H_
11 #define DtUpdateControlCbList103_H_
12 
13 #if DtHLA
14 
15 #if DtRTI103
16 
17 #include <vlutil/vlList.h>
18 #include "rtiNamespace.h"
19 
20 
21 
22 typedef void (*DtUpdateControlCb)(
23  RTI::ObjectClassHandle objectClass,
24  const RTI::AttributeHandleSet& attributeSet,
25  void* usr);
26 
27 typedef DtUpdateControlCb DtStartUpdatesCb;
28 typedef DtUpdateControlCb DtStopUpdatesCb;
29 
30 
36 
38 {
39 public:
40 
43 
45  virtual ~DtUpdateControlCbList();
46 
49  const DtUpdateControlCbList& orig);
50 
52  DtUpdateControlCbList& operator=(
53  const DtUpdateControlCbList& orig);
54 
57  virtual int add(RTI::ObjectClassHandle h, DtUpdateControlCb cb,
58  void* usr);
59  virtual int remove(RTI::ObjectClassHandle h, DtUpdateControlCb cb,
60  void* usr);
61 
63  virtual void clear();
64 
67  virtual void apply(RTI::ObjectClassHandle objectClass,
68  const RTI::AttributeHandleSet& hSet);
69 
70 protected:
71 
75  void dtorClear();
76 
79  void ctorCopyList(const DtUpdateControlCbList& orig);
80 
81 protected:
82 
83  DtList myList;
84 };
85 
86 typedef DtUpdateControlCbList DtStartUpdatesCbList;
87 typedef DtUpdateControlCbList DtStopUpdatesCbList;
88 
89 #endif
90 #endif
91 #endif
92 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)