MAK Data Logger API Documentation for HLA
fomReflGenList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fomReflGenList.h,v $ $Revision: 119313 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 
11 #include "trafficAnalyzerPlugin.h"
12 
13 #include <vl/refGenList.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 

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)