26#ifndef MONITOR_MONITOR_H
27#define MONITOR_MONITOR_H
36#include <MonitorIn.hxx>
95 double getValue(
const unsigned int i);
#define MML_API
Definition MMLAPI.h:43
unsigned int getNumberOfValues()
get number of value in values vetor
Definition Monitor.cpp:270
double dx
offset in x direction (if reference is not aligned)
Definition Monitor.h:123
Monitor::type getValueType()
Definition Monitor.cpp:222
int dimension
dimension of data stored
Definition Monitor.h:121
Monitor::type valueType
type of the values stored
Definition Monitor.h:119
std::string getTargetName()
Definition Monitor.cpp:217
double dz
offset in z direction (if reference is not aligned)
Definition Monitor.h:127
unsigned int getNumberOfIndex()
get number of index in indexes vetor
Definition Monitor.cpp:260
mml::Monitor * mappedObject
the xsdcxx object representing monitor, used for serialization
Definition Monitor.h:115
std::vector< int > indexes
vector which contains target's atoms index (in same order that values associate with)
Definition Monitor.h:131
type
type of the values stored (please update typeCount and doc if you update the enum) SCALAR: the monito...
Definition Monitor.h:60
@ SCALARSET
Definition Monitor.h:62
@ SCALAR
Definition Monitor.h:61
@ VECTORSET
Definition Monitor.h:63
@ MATRIX_33SET
Definition Monitor.h:64
static const unsigned int typeCount
number of possible types (siez of the previous enum). Please always update if the enum is updated.
Definition Monitor.h:67
double getStopAt()
Definition Monitor.cpp:212
Monitor(mml::Monitor *m, MonitoringManager *monitoringManager, Monitor::type type)
constructor
Definition Monitor.cpp:37
std::map< int, std::vector< double > > indexToValuesMap
map between indexes and values
Definition Monitor.h:113
double dy
offset in y direction (if reference is not aligned)
Definition Monitor.h:125
std::string getReferenceName()
Definition Monitor.cpp:192
int index
index of monitor
Definition Monitor.h:103
double stopAt
time to stop monitoring
Definition Monitor.h:107
bool getValuesOfIndex(int i, double values[])
populate values with the corresponding values at index i
Definition Monitor.cpp:227
virtual void calculate()=0
calculate current followed data and store them in values vector
int getIndex()
Definition Monitor.cpp:201
MonitoringManager * monitoringManager
monitoring manager
Definition Monitor.h:117
double startAt
time to start monitoring
Definition Monitor.h:105
virtual std::string getTypeName()=0
virtual void write()
write data stored in values vector into mmlOut file
Definition Monitor.cpp:171
std::vector< double > values
the vector which contains data monitored
Definition Monitor.h:129
std::string target
the name of the component targeted by the monitor
Definition Monitor.h:111
int getIndexOfValues(const unsigned int i)
get index i of indexes vector
Definition Monitor.cpp:240
std::vector< Reference * > references
references used when monitor need references
Definition Monitor.h:109
double getStartAt()
Definition Monitor.cpp:207
Manager of the benchmark tests.
Definition MonitoringManager.h:50
static Value getValue(const QMap< const QtProperty *, PrivateData > &propertyMap, const QtProperty *property, const Value &defaultValue=Value())
Definition qtpropertymanager.cpp:222