SignalLogger
A library for signal logging.
rqt_signal_logger::BufferIndicator Class Reference

#include <BufferIndicator.hpp>

Inheritance diagram for rqt_signal_logger::BufferIndicator:
Inheritance graph

Public Slots

void updateData (const std::size_t nrUnreadElements, std::size_t nrTotalElements, std::size_t bufferSize)
 

Signals

void refresh ()
 

Public Member Functions

 BufferIndicator (QWidget *parent=0)
 
 ~BufferIndicator ()
 
double diameter () const
 
void setDiameter ()
 
Qt::Alignment alignment () const
 
void setAlignment (Qt::Alignment alignment)
 
int heightForWidth (int width) const
 
QSize sizeHint () const
 
QSize minimumSizeHint () const
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 

Properties

Qt::Alignment alignment
 

Private Attributes

Qt::Alignment alignment_
 
double diameter_
 
std::size_t nrUnreadElements_
 
std::size_t nrTotalElements_
 
std::size_t bufferSize_
 
QColor colorUnread_
 
QColor colorTotal_
 
int pixX_
 
int pixY_
 
int diamX_
 
int diamY_
 

Constructor & Destructor Documentation

◆ BufferIndicator()

rqt_signal_logger::BufferIndicator::BufferIndicator ( QWidget *  parent = 0)
explicit

◆ ~BufferIndicator()

rqt_signal_logger::BufferIndicator::~BufferIndicator ( )

Member Function Documentation

◆ alignment()

Qt::Alignment rqt_signal_logger::BufferIndicator::alignment ( ) const

◆ diameter()

double rqt_signal_logger::BufferIndicator::diameter ( ) const

◆ heightForWidth()

int rqt_signal_logger::BufferIndicator::heightForWidth ( int  width) const

◆ minimumSizeHint()

QSize rqt_signal_logger::BufferIndicator::minimumSizeHint ( ) const

◆ paintEvent()

void rqt_signal_logger::BufferIndicator::paintEvent ( QPaintEvent *  event)
protected

◆ refresh

void rqt_signal_logger::BufferIndicator::refresh ( )
signal

◆ setAlignment()

void rqt_signal_logger::BufferIndicator::setAlignment ( Qt::Alignment  alignment)

◆ setDiameter()

void rqt_signal_logger::BufferIndicator::setDiameter ( )

◆ sizeHint()

QSize rqt_signal_logger::BufferIndicator::sizeHint ( ) const

◆ updateData

void rqt_signal_logger::BufferIndicator::updateData ( const std::size_t  nrUnreadElements,
std::size_t  nrTotalElements,
std::size_t  bufferSize 
)
slot

Member Data Documentation

◆ alignment_

Qt::Alignment rqt_signal_logger::BufferIndicator::alignment_
private

◆ bufferSize_

std::size_t rqt_signal_logger::BufferIndicator::bufferSize_
private

◆ colorTotal_

QColor rqt_signal_logger::BufferIndicator::colorTotal_
private

◆ colorUnread_

QColor rqt_signal_logger::BufferIndicator::colorUnread_
private

◆ diameter_

double rqt_signal_logger::BufferIndicator::diameter_
private

◆ diamX_

int rqt_signal_logger::BufferIndicator::diamX_
private

◆ diamY_

int rqt_signal_logger::BufferIndicator::diamY_
private

◆ nrTotalElements_

std::size_t rqt_signal_logger::BufferIndicator::nrTotalElements_
private

◆ nrUnreadElements_

std::size_t rqt_signal_logger::BufferIndicator::nrUnreadElements_
private

◆ pixX_

int rqt_signal_logger::BufferIndicator::pixX_
private

◆ pixY_

int rqt_signal_logger::BufferIndicator::pixY_
private

Property Documentation

◆ alignment

Qt::Alignment rqt_signal_logger::BufferIndicator::alignment
readwrite

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