VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectAttributeValuesCbList.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 DtReflectAttributeValuesCbList_H_
11 #define DtReflectAttributeValuesCbList_H_
12 
13 #if DtHLA
14 
15 #include <vlutil/vlList.h>
16 
17 
18 #include "rtiNamespace.h"
19 
20 
21 
22 class DT_DLL_VL DtStateMsg;
23 
24 typedef void (*DtReflectAttributeValuesCb)(const DtStateMsg& stateMsg,
25  void* usr);
26 
32 {
33 
34 public:
35 
38 
41 
44  const DtReflectAttributeValuesCbList& orig);
45 
48  const DtReflectAttributeValuesCbList& orig);
49 
52  virtual int add(
53 #if DtHLA_1516
54  RTI::ObjectInstanceHandle id,
55 #else
56  RTI::ObjectHandle id,
57 #endif
59  void* usr);
60 
61  virtual int remove(
62 #if DtHLA_1516
63  RTI::ObjectInstanceHandle id,
64 #else
65  RTI::ObjectHandle id,
66 #endif
68  void* usr);
69 
71  virtual void clear();
72 
77  virtual void apply(const DtStateMsg &msg);
78 
79 protected:
80 
84  void dtorClear();
85 
88  void ctorCopyList(const DtReflectAttributeValuesCbList& orig);
89 
90 protected:
91 
93 };
94 
95 #endif
96 #endif
97 
DtList myList
Definition: reflectAttributeValuesCbList.h:92
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtList and DtListItem.
void(* DtReflectAttributeValuesCb)(const DtStateMsg &stateMsg, void *usr)
Definition: reflectAttributeValuesCbList.h:24
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
Instances of DtReflectAttributeValuesCbList are used to provide a list of callbacks (DtReflectAttribu...
Definition: reflectAttributeValuesCbList.h:31
class DtStateMsg:
Definition: stateMsgHLA.h:32

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)