Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
#include <string>
#include "inspectable.h"
#include "callbackable.h"
#include "measuremodes.h"
#include "analysationmodes.h"
#include "templatevalueanalysation.h"
Go to the source code of this file.
Classes | |
class | StatisticTools |
TODO: add possibility to pass description of a measure. More... | |
Macros | |
#define | GET_TYPE_ANALYSATION(type) getAnalysation<type,defaultZero,defaultLower<type>,defaultHigher<type>,defaultDoubleDiv<type>,defaultDoubleMul<type>,defaultAdd<type>,defaultSub<type>,defaultMul<type>,defaultDiv<type> > |
#define | GET_DOUBLE_ANALYSATION GET_TYPE_ANALYSATION(double) |
Functions | |
template<class type , type zero, bool lower, bool higher, type doubleDiv, type doubleMul, type add, type sub, type mul, type div> | |
ANALYSATION_CONTEXT * | getAnalysation (std::vector< type > values) |
use this function if you want more than one value analysed class type must implement following operators: More... | |
template<class type , type zero, bool lower, bool higher, type doubleDiv, type doubleMul, type add, type sub, type mul, type div> | |
type | getAnalysation (ANALYSATION_CONTEXT *tvAnalysation, AnalysationMode mode, unsigned int feature=0) |
class type must implement following operators: More... | |
template<class type , type zero, bool lower, bool higher, type doubleDiv, type doubleMul, type add, type sub, type mul, type div> | |
type | getAnalysation (std::vector< type > values, AnalysationMode mode, unsigned int feature=0) |
class type must implement following operators: More... | |
#define GET_DOUBLE_ANALYSATION GET_TYPE_ANALYSATION(double) |
#define GET_TYPE_ANALYSATION | ( | type | ) | getAnalysation<type,defaultZero,defaultLower<type>,defaultHigher<type>,defaultDoubleDiv<type>,defaultDoubleMul<type>,defaultAdd<type>,defaultSub<type>,defaultMul<type>,defaultDiv<type> > |
ANALYSATION_CONTEXT* getAnalysation | ( | std::vector< type > | values | ) |
use this function if you want more than one value analysed class type must implement following operators:
values | (vector<type>) values for the analysation |
type getAnalysation | ( | ANALYSATION_CONTEXT * | tvAnalysation, |
AnalysationMode | mode, | ||
unsigned int | feature = 0 |
||
) |
class type must implement following operators:
tvAnalysation | (TemplateValueAnalysation) the analysation context |
mode | (AnalysationMode) what value you want |
feature | (unsigned int) special param. for mode |
type getAnalysation | ( | std::vector< type > | values, |
AnalysationMode | mode, | ||
unsigned int | feature = 0 |
||
) |
class type must implement following operators:
values | (vector<type>) values for the analysation |
mode | (AnalysationMode) what value you want |
feature | (unsigned int) special param. for mode |