MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
objectInstanceListCtrl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2024 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: objectInstanceListCtrl.h,v $ $Revision: 266449 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
11 
12 #pragma warning(disable : 4100)
13 
14 #include <lgrUtil/absoluteTime.h>
16 
17 #include <QObject>
18 
19 #include <map>
20 
21 class QTreWidget;
22 class QTreeWidgetItem;
23 class QTreeWidget;
24 class DtReflectedGenericObject;
27 class DtFomReflGenList;
28 class DtOMTTree;
29 class DtDatatypeManager;
30 class DtDisDictionary;
31 class DtStateMsg;
32 class DtHlaObject;
33 
36 {
43 };
44 
51 {
52  Q_OBJECT
53 
54 public:
55 
58  DtOMTTree& omtTree, DtDatatypeManager& datatypeManager,
59  DtDisDictionary& entityTypeDictionary);
60 
62  virtual ~DtObjectInstanceListCtrl();
63 
64  virtual void fillListView(QTreeWidget * listView);
65  virtual DtObjectClassFedNode* findCurrentObjFedNode(QTreeWidgetItem* currentLoc);
66 
68  virtual void setCurrentTime(const MAKLogger::DtAbsoluteTime& newTime);
69 
71  virtual const MAKLogger::DtAbsoluteTime& currentTime() const;
72 
74  virtual DtReflectedGenericObject* reflectedObject(const DtString& objectName);
75 
77  virtual void discoverObject(DtReflectedGenericObject *obj);
78 
80  virtual void removeObject(DtReflectedGenericObject *obj);
81 
82 protected:
83 
85  virtual void updateEntityType(DtReflectedGenericObject *obj);
86 
88  virtual void updateObjectTime(const DtStateMsg& msg, DtHlaObject* obj);
89 
93  virtual bool getEntityType(DtReflectedGenericObject *obj,
94  bool addCallback, QString& entityTypeString);
95 
96 protected:
97 
99  static void updateEntityTypeCb(DtReflectedGenericObject* obj, void* userData);
100 
102  static void updateObjectTimeCb( const DtStateMsg& msg, DtHlaObject* obj, void* usr );
103 
104 public slots:
105 
106 signals:
107 
108 protected:
109 
111  DtObjectInstanceListCtrl & operator = (const DtObjectInstanceListCtrl &);
112 
113 protected:
114 
121 
122 };
Definition: objectInstanceListCtrl.h:38
DtEntityTypeDatatypeRep myEntityTypeDatatypeRep
Definition: objectInstanceListCtrl.h:119
MAKLogger::DtAbsoluteTime myCurrentTime
Definition: objectInstanceListCtrl.h:120
DtOMTTree & myOmtTree
Definition: objectInstanceListCtrl.h:117
Definition: disDictionary.h:53
DtObjectInstanceListCtrl UI Controller type for object instances Populates a QListView with the objec...
Definition: objectInstanceListCtrl.h:50
This class handles the conversion between a byte stream and an English readable view of the data in a...
Definition: datatypeManager.h:41
Definition: objectInstanceListCtrl.h:41
Definition: objectInstanceListCtrl.h:40
Definition: objectInstanceListCtrl.h:37
Definition: objectInstanceListCtrl.h:39
Display an entity type in English.
Definition: entityTypeDatatypeRep.h:15
DtObjectListColumn
Data column index.
Definition: objectInstanceListCtrl.h:35
Contains MAKLogger::DtAbsoluteTime and MAKLogger::DtRelativeTime classes.
defines an object class inside our Fed Tree
Definition: objectClassFedNode.h:30
Definition: objectInstanceListCtrl.h:42
DtFomReflGenList & myReflectedObjects
Definition: objectInstanceListCtrl.h:116
Definition: reflectedListViewItem.h:21
A tree using the an OMT File information.
Definition: omtTree.h:58
QTreeWidget * myListView
Definition: objectInstanceListCtrl.h:115
#define DT_DLL_TRFCANLZR
Definition: trafficAnalyzerPlugin.h:18
DtDatatypeManager & myDatatypeManager
Definition: objectInstanceListCtrl.h:118
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82
Definition: fomReflGenList.h:24

Document ID: Generated on Fri May 31 15:45:35 EDT 2024 from SVN revision 266500
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)