VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resourceInformationPageLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
16 
17 class QTreeWidgetItem;
18 
19 namespace makVrf
20 {
21  namespace makVrfGuiObjectInformationQt
22  {
23  class DtResourceInformationPageLogic;
24 
26  {
27  public:
29 
30  protected:
31  virtual void addResource(const DtSimResource& resource) override;
32  virtual void resourceUpdated(const DtSimResource& resource) override;
33  virtual void resourcesChanged() override;
34  virtual void resourceCheckingDisabled() override;
35  virtual void resourceCheckComplete() override;
36 
37  protected:
39  };
40 
42  {
43  public:
45 
46  virtual ~DtResourceInformationPageLogic() override;
47 
48  virtual void addResource(const DtSimResource& resource);
49  virtual void resourceUpdated(const DtSimResource& resource);
50  virtual void clear();
51 
52  virtual void setUpdateRate(int);
53 
54  protected:
55  virtual void activate(DtSimObjectReference state) override;
56  virtual void deactivate() override;
57 
58  protected:
61 
62  typedef std::pair<DtEntityType, int> ResourceKey;
63  typedef std::map<ResourceKey, QTreeWidgetItem*> DtResourceItems;
64 
66  };
67  }
68 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtResourceItems myResourceItems
Definition: resourceInformationPageLogic.h:65
DtResourceInformationPageLogic * myLogic
Definition: resourceInformationPageLogic.h:38
Definition: resourceInformationPageLogic.h:25
Contains makVrv::DtInformationDialogPage class.
DtResourcePageRequestor myRequestor
Definition: resourceInformationPageLogic.h:59
DtUUID myMonitoring
Definition: resourceInformationPageLogic.h:60
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
The class that is the interface between the GUI and the back-end.
Definition: vrfResourceRequestor.h:36
DtSimResource is a class which will define a SISO Enumeration to use as a resource and the quantity o...
Definition: simResource.h:32
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:76
std::pair< DtEntityType, int > ResourceKey
Definition: resourceInformationPageLogic.h:62
std::map< ResourceKey, QTreeWidgetItem * > DtResourceItems
Definition: resourceInformationPageLogic.h:63

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)