VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateEngagementsHistoryPageLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
16 #include <QStandardItemModel>
18 
19 class QTreeWidgetItem;
21 
22 namespace makVrf
23 {
24  namespace makVrfGuiObjectInformationQt
25  {
26 
28  {
29  public:
31 
33 
35  virtual void activate(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
36 
37  protected:
38  virtual void slot_onStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
39  virtual void updateEngagementEvent(const DtRwPropertiesStructure* engagementEvent, QTreeWidgetItem* item);
40  virtual void resetEngagement(int engagementId, QTreeWidgetItem* item);
41  virtual void updateEngagement(const DtRwPropertiesStructure* engagementEvent, QTreeWidgetItem* item);
42  virtual QString formatTime(double) const;
43 
44  protected:
45 
47  std::map<int, QTreeWidgetItem*> myEngagements;
48 
51  std::map<int, QTreeWidgetItem*> myEngagementEvents;
52  };
53  }
54 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)