45#include <visp3/core/vpConfig.h>
46#include <visp3/core/vpException.h>
134#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
155 const std::vector<double> &
get()
const {
return values; }
157 virtual const std::string
name()
const = 0;
This class allows to register all vpMoments so they can access each other according to their dependen...
Class for generic objects.
const vpMomentObject & getObject() const
virtual const std::string name() const =0
std::vector< double > values
vpMomentDatabase & getMoments() const
const std::vector< double > & get() const
void update(vpMomentObject &object)
friend VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpMoment &m)
virtual void printDependencies(std::ostream &os) const
vpMoment(const vpMoment &)=delete
vpMoment & operator=(const vpMoment &)=delete