26 #ifndef MONITOR_MONITOR_H 27 #define MONITOR_MONITOR_H 36 #include <MonitorIn.hxx> 67 static const unsigned int typeCount = 4;
78 virtual void calculate() = 0;
85 std::string getReferenceName();
86 std::string getTargetName();
88 virtual std::string getTypeName() = 0;
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();
134 #endif // MONITOR_MONITOR_H
std::vector< Reference * > references
references used when monitor need references
Definition: Monitor.h:109
std::string target
the name of the component targeted by the monitor
Definition: Monitor.h:111
double dz
offset in z direction (if reference is not aligned)
Definition: Monitor.h:127
type
type of the values stored (please update typeCount and doc if you update the enum) SCALAR: the monito...
Definition: Monitor.h:60
Monitor::type valueType
type of the values stored
Definition: Monitor.h:119
std::map< int, std::vector< double > > indexToValuesMap
map between indexes and values
Definition: Monitor.h:113
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:117
double dx
offset in x direction (if reference is not aligned)
Definition: Monitor.h:123
static Value getValue(const QMap< const QtProperty *, PrivateData > &propertyMap, const QtProperty *property, const Value &defaultValue=Value())
Definition: qtpropertymanager.cpp:221
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
double stopAt
time to stop monitoring
Definition: Monitor.h:107
double startAt
time to start monitoring
Definition: Monitor.h:105
double dy
offset in y direction (if reference is not aligned)
Definition: Monitor.h:125
mml::Monitor * mappedObject
the xsdcxx object representing monitor, used for serialization
Definition: Monitor.h:115
int index
index of monitor
Definition: Monitor.h:103
std::vector< int > indexes
vector which contains target's atoms index (in same order that values associate with) ...
Definition: Monitor.h:131
int dimension
dimension of data stored
Definition: Monitor.h:121
#define MML_API
Definition: MMLAPI.h:43
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:129