MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
interactionGenList.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: interactionGenList.h,v $ $Revision: 276309 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 #pragma warning(disable : 4100)
11 
13 
14 #include <vl/rtiNamespace.h>
15 
16 #include <QObject>
17 
18 #include <map>
19 
20 class DtExerciseConn;
21 class DtFom;
22 class DtInteraction;
23 
24 // This class is similar to a generic object list except it controls
25 // interactions instead.
27 {
28  Q_OBJECT
29 
30 public:
31  DtInteractionGenList(DtExerciseConn* ex, DtFom* fom, bool passive = true);
32 
33  virtual ~DtInteractionGenList();
34 
35 
36  // Register interest in this FOM interaction class.
37  virtual void addInteractionClass(RTI::InteractionClassHandle handle, bool passive = true);
38  virtual void removeInteractionClass(RTI::InteractionClassHandle handle);
39 
40  //returns -1 if class is not subscribed or the location in the subscribe vector in the handle
41  virtual bool isClassSubscribed(RTI::InteractionClassHandle handle);
42 
43  virtual void foundNewInteraction(DtInteraction *inter);
44 
45 signals:
46  void discoverInteraction(DtInteraction *inter);
47 
48 protected:
49  std::map<RTI::InteractionClassHandle,bool> myHandleList;
51 
52 
53 private:
54 
55  // Copy Constructor
57 
58  // Assignment Operator
59  DtInteractionGenList& operator=(const DtInteractionGenList& rhs);
60 
61 };
Definition: interactionGenList.h:26
std::map< RTI::InteractionClassHandle, bool > myHandleList
Definition: interactionGenList.h:49
DtExerciseConn * myExConn
Definition: interactionGenList.h:50
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:16

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)