Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rtabmap::StatItem Class Reference

#include <StatsToolBox.h>

Inheritance diagram for rtabmap::StatItem:
Inheritance graph
[legend]

Public Slots

void updateMenu (const QMenu *menu)
 

Signals

void plotRequested (const StatItem *, const QString &)
 
void valueAdded (qreal)
 
void valueAdded (qreal, qreal)
 
void valuesChanged (const std::vector< qreal > &, const std::vector< qreal > &)
 

Public Member Functions

void addValue (qreal y)
 
void addValue (qreal x, qreal y)
 
void clearCache ()
 
void setCacheOn (bool on)
 
void setValues (const std::vector< qreal > &x, const std::vector< qreal > &y)
 
 StatItem (const QString &name, bool cacheOn, const std::vector< qreal > &x, const std::vector< qreal > &y, const QString &unit=QString(), const QMenu *menu=0, QGridLayout *grid=0, QWidget *parent=0)
 
QString value () const
 
std::vector< qreal > xValues () const
 
std::vector< qreal > yValues () const
 
virtual ~StatItem ()
 

Private Slots

void preparePlotRequest ()
 

Private Member Functions

void setupUi (QGridLayout *grid)
 

Private Attributes

QToolButton * _button
 
bool _cacheOn
 
QMenu * _menu
 
QLabel * _name
 
QLabel * _unit
 
QLabel * _value
 
std::vector< qreal > _x
 
std::vector< qreal > _y
 

Detailed Description

Definition at line 44 of file StatsToolBox.h.

Constructor & Destructor Documentation

rtabmap::StatItem::StatItem ( const QString &  name,
bool  cacheOn,
const std::vector< qreal > &  x,
const std::vector< qreal > &  y,
const QString &  unit = QString(),
const QMenu *  menu = 0,
QGridLayout *  grid = 0,
QWidget *  parent = 0 
)

Definition at line 47 of file StatsToolBox.cpp.

rtabmap::StatItem::~StatItem ( )
virtual

Definition at line 75 of file StatsToolBox.cpp.

Member Function Documentation

void rtabmap::StatItem::addValue ( qreal  y)

Definition at line 87 of file StatsToolBox.cpp.

void rtabmap::StatItem::addValue ( qreal  x,
qreal  y 
)

Definition at line 97 of file StatsToolBox.cpp.

void rtabmap::StatItem::clearCache ( )

Definition at line 80 of file StatsToolBox.cpp.

void rtabmap::StatItem::plotRequested ( const StatItem ,
const QString &   
)
signal
void rtabmap::StatItem::preparePlotRequest ( )
privateslot

Definition at line 200 of file StatsToolBox.cpp.

void rtabmap::StatItem::setCacheOn ( bool  on)

Definition at line 177 of file StatsToolBox.cpp.

void rtabmap::StatItem::setupUi ( QGridLayout *  grid)
private

Definition at line 137 of file StatsToolBox.cpp.

void rtabmap::StatItem::setValues ( const std::vector< qreal > &  x,
const std::vector< qreal > &  y 
)

Definition at line 114 of file StatsToolBox.cpp.

void rtabmap::StatItem::updateMenu ( const QMenu *  menu)
slot

Definition at line 187 of file StatsToolBox.cpp.

QString rtabmap::StatItem::value ( ) const

Definition at line 132 of file StatsToolBox.cpp.

void rtabmap::StatItem::valueAdded ( qreal  )
signal
void rtabmap::StatItem::valueAdded ( qreal  ,
qreal   
)
signal
void rtabmap::StatItem::valuesChanged ( const std::vector< qreal > &  ,
const std::vector< qreal > &   
)
signal
std::vector<qreal> rtabmap::StatItem::xValues ( ) const
inline

Definition at line 55 of file StatsToolBox.h.

std::vector<qreal> rtabmap::StatItem::yValues ( ) const
inline

Definition at line 56 of file StatsToolBox.h.

Member Data Documentation

QToolButton* rtabmap::StatItem::_button
private

Definition at line 76 of file StatsToolBox.h.

bool rtabmap::StatItem::_cacheOn
private

Definition at line 82 of file StatsToolBox.h.

QMenu* rtabmap::StatItem::_menu
private

Definition at line 80 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_name
private

Definition at line 77 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_unit
private

Definition at line 79 of file StatsToolBox.h.

QLabel* rtabmap::StatItem::_value
private

Definition at line 78 of file StatsToolBox.h.

std::vector<qreal> rtabmap::StatItem::_x
private

Definition at line 83 of file StatsToolBox.h.

std::vector<qreal> rtabmap::StatItem::_y
private

Definition at line 84 of file StatsToolBox.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09