VR-Link API Documentation for DIS
stIntCbList.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 DtStartStopInterCbList_H_
11 #define DtStartStopInterCbList_H_
12 
13 #if DtHLA
14 
15 
16 #include "rtiNamespace.h"
17 #include <vlutil/vlList.h>
18 
19 
20 
21 typedef void (*DtStartStopInterCb)(
22  RTI::InteractionClassHandle intClass,
23  void* usr);
24 
31 
32 class DT_DLL_VL DtStartStopInterCbList
33 {
34 public:
35 
37  DtStartStopInterCbList();
38 
40  virtual ~DtStartStopInterCbList();
41 
43  DtStartStopInterCbList(
44  const DtStartStopInterCbList& orig);
45 
47  DtStartStopInterCbList& operator=(
48  const DtStartStopInterCbList& orig);
49 
52  virtual int add(RTI::InteractionClassHandle hand,
53  DtStartStopInterCb cb,
54  void* usr);
55  virtual int remove(RTI::InteractionClassHandle hand,
56  DtStartStopInterCb cb,
57  void* usr);
58 
60  virtual void clear();
61 
65  virtual void apply(RTI::InteractionClassHandle interClass);
66 
67 protected:
68 
72  void dtorClear();
73 
76  void ctorCopyList(const DtStartStopInterCbList& orig);
77 
78 protected:
79 
80  DtList myList;
81 };
82 
83 #endif
84 #endif
85 

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)