MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
interactionListViewItem.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: interactionListViewItem.h,v $ $Revision: 174599 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
11 
12 //VR-Link
13 #include <vlutil/vlUtil.h>
14 #include <vl/rtiNamespace.h>
15 #include <vlutil/vlString.h>
16 
17 #include <QTreeWidget>
18 #include <QTreeWidgetItem>
19 #include <QtCore/QTime>
20 
21 class DtInteraction;
22 
23 // An extension on Qt's List that allows each item to keep a pointer
24 // to the reflected entity this item refers to.
26 {
27 public:
28 
29  // Constructor
30  DtInteractionTreeWidgetItem(QTreeWidget* parent, QStringList lst, DtInteraction *inter);
31 
32  // Destructor
33  virtual ~DtInteractionTreeWidgetItem();
34 
35  // Get the parameter handle value pair set for the interaction.
36 #if DtHLA_1516
37  virtual const RTI::ParameterHandleValueMap& phvm() const;
38 #else
39  virtual const RTI::ParameterHandleValuePairSet& phvps() const;
40 #endif
41  virtual RTI::InteractionClassHandle interactionHandle() const;
42 
43  virtual const char* className();
44 
45 protected:
46 
47 
48  // Decode into this object from parameter value list.
49 #if DtHLA_1516
50  virtual void setFromPhvm(
51  const RTI::ParameterHandleValueMap& pvMap);
52 #else
53  virtual void setFromPhvps(
54  const RTI::ParameterHandleValuePairSet& pvList);
55 #endif
56 
57  virtual void setHandle(RTI::InteractionClassHandle handle);
58  virtual void setClassName(char* classNme);
59 
60 
61 protected:
62 
63 #if DtHLA_1516
64  RTI::ParameterHandleValueMap myParams;
65 #else
66  RTI::ParameterHandleValuePairSet* myParams;
67 #endif
68  RTI::InteractionClassHandle myHandle;
69  DtString myClassName;
70 
71 private:
72 
73  // Copy Constructor
75 
76  // Assignment Operator
78 
79 };
RTI::InteractionClassHandle myHandle
Definition: interactionListViewItem.h:68
RTI::ParameterHandleValuePairSet * myParams
Definition: interactionListViewItem.h:66
DtString myClassName
Definition: interactionListViewItem.h:69
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:18
Definition: interactionListViewItem.h:25

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)