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: 130969 $ $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 {
41 };
42 
49 {
50  Q_OBJECT
51 
52 public:
53 
56  DtOMTTree& omtTree, DtDatatypeManager& datatypeManager,
57  DtDisDictionary& entityTypeDictionary);
58 
60  virtual ~DtObjectInstanceListCtrl();
61 
62  virtual void fillListView(Q3ListView * listView);
63  virtual DtObjectClassFedNode* findCurrentObjFedNode(Q3ListViewItem* currentLoc);
64 
66  virtual void setCurrentTime(const MAKLogger::DtAbsoluteTime& newTime);
67 
69  virtual const MAKLogger::DtAbsoluteTime& currentTime() const;
70 
72  virtual DtReflectedGenericObject* reflectedObject(const DtString& objectName);
73 
75  virtual void discoverObject(DtReflectedGenericObject *obj);
76 
78  virtual void removeObject(DtReflectedGenericObject *obj);
79 
80 protected:
81 
83  virtual void updateEntityType(DtReflectedGenericObject *obj);
84 
86  virtual void updateObjectTime(const DtStateMsg& msg, DtHlaObject* obj);
87 
91  virtual bool getEntityType(DtReflectedGenericObject *obj,
92  bool addCallback, QString& entityTypeString);
93 
94 protected:
95 
97  static void updateEntityTypeCb(DtReflectedGenericObject* obj, void* userData);
98 
100  static void updateObjectTimeCb( const DtStateMsg& msg, DtHlaObject* obj, void* usr );
101 
102 public slots:
103 
104 signals:
105 
106 protected:
107 
109  DtObjectInstanceListCtrl & operator = (const DtObjectInstanceListCtrl &);
110 
111 protected:
112 
113  Q3ListView * myListView;
119 
120 };

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)