VR-Forces Developer's Guide
 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 
40  {
41  return myParameterData;
42  }
43 
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:
80  };
81  }
82 }
DtRwProperties myParameterData
Definition: aggregateResourcesPageLogic.h:76
const DtRwProperties & parameterData() const
Definition: aggregateResourcesPageLogic.h:39
makVrv::DtSignalConnectionManager myConnections
Definition: aggregateResourcesPageLogic.h:79
Contains makVrv::DtInformationDialogPage class.
const DtRwProperties & stateProperties() const
Definition: aggregateResourcesPageLogic.h:44
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Base class to provide boost signal/slot management.
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
DtRwProperties myStateProperties
Definition: aggregateResourcesPageLogic.h:77
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
bool myMonitoring
Definition: aggregateResourcesPageLogic.h:78
This is a general class which will update QStandardItemModels to display resource data in a standard ...
Definition: aggregateResourcesPageLogic.h:26

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)