MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
trafficAnalyzer
interactionGenList.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: interactionGenList.h,v $ $Revision: 119313 $ $State: Exp $
7
*******************************************************************************/
8
9
#pragma once
10
#pragma warning(disable : 4100)
11
12
#include "
trafficAnalyzerPlugin.h
"
13
14
#include <vl/rtiNamespace.h>
15
16
#include <QtCore/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.
26
class
DT_DLL_TRFCANLZR
DtInteractionGenList
:
public
QObject
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
;
50
DtExerciseConn
*
myExConn
;
51
52
53
private
:
54
55
// Copy Constructor
56
DtInteractionGenList
(
const
DtInteractionGenList
& orig);
57
58
// Assignment Operator
59
DtInteractionGenList
& operator=(
const
DtInteractionGenList
& rhs);
60
61
};
Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)