26 #ifndef MONITOR_MONITOR_H
27 #define MONITOR_MONITOR_H
36 #include <MonitorIn.hxx>
67 static const unsigned int typeCount = 4;
85 std::string getReferenceName();
86 std::string getTargetName();
91 bool getValuesOfIndex(
int i,
double values[]);
93 int getIndexOfValues(
const unsigned int i);
95 double getValue(
const unsigned int i);
97 unsigned int getNumberOfIndex();
99 unsigned int getNumberOfValues();
#define MML_API
Definition: MMLAPI.h:43
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
double dx
offset in x direction (if reference is not aligned)
Definition: Monitor.h:123
int dimension
dimension of data stored
Definition: Monitor.h:121
Monitor::type valueType
type of the values stored
Definition: Monitor.h:119
double dz
offset in z direction (if reference is not aligned)
Definition: Monitor.h:127
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
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
int index
index of monitor
Definition: Monitor.h:103
double stopAt
time to stop monitoring
Definition: Monitor.h:107
virtual void calculate()=0
calculate current followed data and store them in values vector
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:117
double startAt
time to start monitoring
Definition: Monitor.h:105
virtual std::string getTypeName()=0
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
std::vector< Reference * > references
references used when monitor need references
Definition: Monitor.h:109
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