iCub-main
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
embot::tools::Histogram Class Reference

#include <embot_tools.h>

Classes

struct  Config
 
struct  Impl
 
struct  Values
 

Public Member Functions

 Histogram ()
 
 ~Histogram ()
 
bool init (const Config &config)
 
bool add (std::uint64_t value)
 
bool reset ()
 
const embot::tools::Histogram::Configgetconfig () const
 
const embot::tools::Histogram::Valuesgetvalues () const
 
bool probabilitydensityfunction (std::vector< std::uint32_t > &values, const std::uint32_t scale) const
 
bool probabilitydensityfunction (std::vector< double > &values) const
 

Detailed Description

Definition at line 37 of file embot_tools.h.

Constructor & Destructor Documentation

◆ Histogram()

embot::tools::Histogram::Histogram ( )

Definition at line 373 of file embot_tools.cpp.

◆ ~Histogram()

embot::tools::Histogram::~Histogram ( )

Definition at line 379 of file embot_tools.cpp.

Member Function Documentation

◆ add()

bool embot::tools::Histogram::add ( std::uint64_t  value)

Definition at line 397 of file embot_tools.cpp.

◆ getconfig()

const embot::tools::Histogram::Config * embot::tools::Histogram::getconfig ( ) const

Definition at line 402 of file embot_tools.cpp.

◆ getvalues()

const embot::tools::Histogram::Values * embot::tools::Histogram::getvalues ( ) const

Definition at line 407 of file embot_tools.cpp.

◆ init()

bool embot::tools::Histogram::init ( const Config config)

Definition at line 385 of file embot_tools.cpp.

◆ probabilitydensityfunction() [1/2]

bool embot::tools::Histogram::probabilitydensityfunction ( std::vector< double > &  values) const

Definition at line 476 of file embot_tools.cpp.

◆ probabilitydensityfunction() [2/2]

bool embot::tools::Histogram::probabilitydensityfunction ( std::vector< std::uint32_t > &  values,
const std::uint32_t  scale 
) const

Definition at line 498 of file embot_tools.cpp.

◆ reset()

bool embot::tools::Histogram::reset ( )

Definition at line 391 of file embot_tools.cpp.


The documentation for this class was generated from the following files: