26 #ifndef MONITOR_MONITOR_H
27 #define MONITOR_MONITOR_H
35 #include "MonitorIn.hxx"
64 static const unsigned int typeCount = 4;
75 virtual void calculate()=0;
88 bool getValuesOfIndex(
int i,
double values[]);
90 int getIndexOfValues(
const unsigned int i);
92 double getValue(
const unsigned int i);
94 unsigned int getNumberOfIndex();
96 unsigned int getNumberOfValues();
131 #endif // MONITOR_MONITOR_H
std::vector< Reference * > references
references used when monitor need references
Definition: Monitor.h:106
std::string target
the name of the component targeted by the monitor
Definition: Monitor.h:108
double dz
offset in z direction (if reference is not aligned)
Definition: Monitor.h:124
type
type of the values stored (please update typeCount and doc if you update the enum) SCALAR: the monito...
Definition: Monitor.h:57
Monitor::type valueType
type of the values stored
Definition: Monitor.h:116
std::map< int, std::vector< double > > indexToValuesMap
map between indexes and values
Definition: Monitor.h:110
MonitoringManager * monitoringManager
monitoring manager
Definition: Monitor.h:114
double dx
offset in x direction (if reference is not aligned)
Definition: Monitor.h:120
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:46
Manager of the benchmark tests.
Definition: MonitoringManager.h:50
double stopAt
time to stop monitoring
Definition: Monitor.h:104
double startAt
time to start monitoring
Definition: Monitor.h:102
double dy
offset in y direction (if reference is not aligned)
Definition: Monitor.h:122
mml::Monitor * mappedObject
the xsdcxx object representing monitor, used for serialization
Definition: Monitor.h:112
int index
index of monitor
Definition: Monitor.h:100
std::vector< int > indexes
vector which contains target's atoms index (in same order that values associate with) ...
Definition: Monitor.h:128
int dimension
dimension of data stored
Definition: Monitor.h:118
#define MML_API
Definition: MMLAPI.h:43
string(REGEX REPLACE"^.*-(.*)-.*""\\1"ARCH"${CAMITK_CONTINUOUS_INTEGRATION}") string(REGEX REPLACE"^.*-.*-(.*)""\\1"BUILDTYPE"$
Definition: continuous.cmake:34
std::vector< double > values
the vector which contains data monitored
Definition: Monitor.h:126