MAK Data Logger API Documentation for HLA
objectInstanceListCtrl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: objectInstanceListCtrl.h,v $ $Revision: 135947 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
10 #include "trafficAnalyzerPlugin.h"
11 
12 #pragma warning(disable : 4100)
13 
14 #include <absoluteTime.h>
15 #include <omtReader/entityTypeDatatypeRep.h>
16 
17 #include <QtCore/QObject>
18 
19 #include <map>
20 
21 class Q3ListView;
22 class Q3ListViewItem;
23 class DtReflectedGenericObject;
26 class DtFomReflGenList;
27 class DtOMTTree;
28 class DtDatatypeManager;
29 class DtDisDictionary;
30 class DtStateMsg;
31 class DtHlaObject;
32 
35 {
42 };
43 
50 {
51  Q_OBJECT
52 
53 public:
54 
57  DtOMTTree& omtTree, DtDatatypeManager& datatypeManager,
58  DtDisDictionary& entityTypeDictionary);
59 
61  virtual ~DtObjectInstanceListCtrl();
62 
63  virtual void fillListView(Q3ListView * listView);
64  virtual DtObjectClassFedNode* findCurrentObjFedNode(Q3ListViewItem* currentLoc);
65 
67  virtual void setCurrentTime(const MAKLogger::DtAbsoluteTime& newTime);
68 
70  virtual const MAKLogger::DtAbsoluteTime& currentTime() const;
71 
73  virtual DtReflectedGenericObject* reflectedObject(const DtString& objectName);
74 
76  virtual void discoverObject(DtReflectedGenericObject *obj);
77 
79  virtual void removeObject(DtReflectedGenericObject *obj);
80 
81 protected:
82 
84  virtual void updateEntityType(DtReflectedGenericObject *obj);
85 
87  virtual void updateObjectTime(const DtStateMsg& msg, DtHlaObject* obj);
88 
92  virtual bool getEntityType(DtReflectedGenericObject *obj,
93  bool addCallback, QString& entityTypeString);
94 
95 protected:
96 
98  static void updateEntityTypeCb(DtReflectedGenericObject* obj, void* userData);
99 
101  static void updateObjectTimeCb( const DtStateMsg& msg, DtHlaObject* obj, void* usr );
102 
103 public slots:
104 
105 signals:
106 
107 protected:
108 
110  DtObjectInstanceListCtrl & operator = (const DtObjectInstanceListCtrl &);
111 
112 protected:
113 
114  Q3ListView * myListView;
120 
121 };

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)