MAK Data Logger API Documentation for DIS
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: 119313 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 #include "trafficAnalyzerPlugin.h"
11 
12 //VR-Link
13 #include <vlutil/vlUtil.h>
14 #include <vl/rtiNamespace.h>
15 #include <vlutil/vlString.h>
16 
17 #include <Q3ListView>
18 #include <QtCore/QTime>
19 
20 class DtInteraction;
21 
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  DtInteractionListViewItem(Q3ListView* parent,Q3ListViewItem * after,
31  const char * label, DtInteraction *inter);
32 
33  // Destructor
34  virtual ~DtInteractionListViewItem();
35 
36  // Get the parameter handle value pair set for the interaction.
37 #if DtHLA_1516
38  virtual const RTI::ParameterHandleValueMap& phvm() const;
39 #else
40  virtual const RTI::ParameterHandleValuePairSet& phvps() const;
41 #endif
42  virtual RTI::InteractionClassHandle interactionHandle() const;
43 
44  virtual const char* className();
45 
46 protected:
47 
48 
49  // Decode into this object from parameter value list.
50 #if DtHLA_1516
51  virtual void setFromPhvm(
52  const RTI::ParameterHandleValueMap& pvMap);
53 #else
54  virtual void setFromPhvps(
55  const RTI::ParameterHandleValuePairSet& pvList);
56 #endif
57 
58  virtual void setHandle(RTI::InteractionClassHandle handle);
59  virtual void setClassName(char* classNme);
60 
61 
62 protected:
63 
64 #if DtHLA_1516
65  RTI::ParameterHandleValueMap myParams;
66 #else
67  RTI::ParameterHandleValuePairSet* myParams;
68 #endif
69  RTI::InteractionClassHandle myHandle;
70  DtString myClassName;
71 
72 private:
73 
74  // Copy Constructor
76 
77  // Assignment Operator
79 
80 };

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)