GemaCoreLib
The GeMA Core library
Loading...
Searching...
No Matches
gmAttributeResultsManager.h File Reference

Declaration of the GmAttributeResultsManager class. More...

#include "gmCoreConfig.h"
#include "gmAttributeResultsDataSrcInfo.h"
#include "gmVector.h"
#include "gmMatrix.h"
#include <qtPtrList.h>
#include <QObject>
#include <QMap>
Include dependency graph for gmAttributeResultsManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GmAttributeResultsManager
 A class used to host the metadata and the values for all attributes added to the results data. This includes the attributes referenced by result data sets and attributes created by the progress stats classes, also managing their correspondence. It also controls which attributes are being monitored and among those, which of them should have value changes broadcasted "immediately". More...
 
struct  GmAttributeResultsManager::AttrValueWithStats
 An option to store an attribute value with statistics. More...
 
union  GmAttributeResultsManager::AttrValue
 The union representing the saved value Using a QString instead of a QString* should be possible, but would require an explicit destructor for the union due to the non POD member and more complicated code to init the value and destroy the union. See, for example, https://en.cppreference.com/w/cpp/language/union Since the set of string attributes is minimal, storing a pointer should not really matter. More...
 
struct  GmAttributeResultsManager::RegisteredAttrData
 The data associated with registered attributes. It includes the object "owner" to allow for auto deregistering when the object is destroyed. This helps to solve some destruction order dependencies related to objects holding a simulation model data pointer, used to access the results data only to unregister attributes on the object destructor (see the comments on SVN revision 4139). More...
 

Detailed Description

Declaration of the GmAttributeResultsManager class.

Author
Carlos Augusto Teixeira Mendes
Date
April, 2025