VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateResourcesPageLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
15 #include <QStandardItemModel>
16 #include <QPixmap>
17 
18 namespace makVrf
19 {
20  namespace makVrfGuiObjectInformationQt
21  {
22 
27  {
28  public:
30 
32 
34  static void initializeHeaders(QStandardItemModel* model);
35 
36  virtual void activate(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
37  virtual void updateStateProperties(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* state);
38 
39  const DtRwProperties& parameterData() const
40  {
41  return myParameterData;
42  }
43 
44  const DtRwProperties& stateProperties() const
45  {
46  return myStateProperties;
47  }
48 
49  protected:
50 
52  virtual void removeResourceType(QStandardItemModel* model,
53  const QString& type);
54 
56  virtual void addResourceType(QStandardItemModel* model,
57  const QString& type, double maxAmount,
58  const QString& category = QString(),
59  bool alignLeft = false);
60 
62  virtual void updateResourceTypeMaximum(QStandardItemModel* model,
63  const QString& type, double maxAmount);
64 
66  virtual void updateResourceType(QStandardItemModel* model,
67  const QString& type, double amount, double asrValue = 0.,
68  const QString& pacingTracking = QString(),
69  const QString& category = QString());
70 
72  virtual void slot_aggregateUpdated(makVrv::DtUniqueID id, int flags);
74 
75  protected:
81  };
82  }
83 }

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)