MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fomReflGenList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fomReflGenList.h,v $ $Revision: 276309 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 
12 
13 #include <vl/reflectedGenericObjectList.h>
14 #include <vl/region.h>
15 
16 #include <vector>
17 #include <map>
18 
19 class DtExerciseConn;
20 class DtFom;
21 
22 // This is an update to the generic object list that allows
23 // All classes to be subscribed to one list instead of one.
25 {
26 public:
27  DtFomReflGenList(DtExerciseConn* ex, DtFom* fom, bool passive = true);
28 
29  virtual ~DtFomReflGenList();
30 
31 
32  // Register interest in this FOM object class. Typically called by derived
33  // class constructor.
34  virtual void addObjectClass(RTI::ObjectClassHandle handle, bool passive = true);
35  virtual void removeObjectClass(RTI::ObjectClassHandle handle);
36 
37  //returns -1 if class is not subscribed or the location in the subscribe vector in the handle
38  virtual bool isClassSubscribed(RTI::ObjectClassHandle handle);
39 
41  virtual void removeAllObjects();
42 
43 protected:
44 
45  // Process object addition/removal callbacks.
46  virtual void processObjectAdditionCallbacks(DtReflectedObject* object);
47 
48  std::map<RTI::ObjectClassHandle,bool> myHandleMap;
49 private:
50 
51  // Copy Constructor
53 
54  // Assignment Operator
55  DtFomReflGenList& operator=(const DtFomReflGenList& rhs);
56 
57 };
58 
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:16
Definition: fomReflGenList.h:24
std::map< RTI::ObjectClassHandle, bool > myHandleMap
Definition: fomReflGenList.h:48

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)