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

This class draws and handles log elements. More...

#include <LogElement.hpp>

Inheritance diagram for rqt_signal_logger::LogElement:
Inheritance graph

Public Types

enum  LogAction : unsigned int { LogAction::SAVE_AND_PUBLISH = signal_logger_msgs::LogElement::ACTION_SAVE_AND_PUBLISH, LogAction::SAVE = signal_logger_msgs::LogElement::ACTION_SAVE, LogAction::PUBLISH = signal_logger_msgs::LogElement::ACTION_PUBLISH }
 Enum mapping defining possible log actions. More...
 
enum  BufferType : unsigned int { BufferType::FIXED_SIZE = signal_logger_msgs::LogElement::BUFFERTYPE_FIXED_SIZE, BufferType::LOOPING = signal_logger_msgs::LogElement::BUFFERTYPE_LOOPING, BufferType::EXPONENTIALLY_GROWING = signal_logger_msgs::LogElement::BUFFERTYPE_EXPONENTIALLY_GROWING }
 Enum mapping defining possible buffer types. More...
 

Public Slots

bool changeElement ()
 
bool refreshElement ()
 

Public Member Functions

 LogElement (const std::string &name, QWidget *widget, QGridLayout *grid, ros::ServiceClient *getLogElementClient, ros::ServiceClient *setLogElementClient, size_t maxParamNameWidth)
 
virtual ~LogElement ()
 

Public Attributes

QLabel * labelParamNumber
 
QCheckBox * checkBoxIsLogging
 
QLabel * labelParamName
 
QLabel * labelDivider
 
QSpinBox * spinBoxDivider
 
QComboBox * comboBoxLogType
 
QLabel * labelBuffer
 
QSpinBox * spinBoxBufferSize
 
QComboBox * comboBoxBufferType
 
BufferIndicatorbufferInd_
 
QPushButton * pushButtonRefreshParam
 
QPushButton * pushButtonChangeParam
 

Protected Attributes

std::string name_
 
QGridLayout * grid_
 
ros::ServiceClient * getLogElementClient_
 
ros::ServiceClient * setLogElementClient_
 

Detailed Description

This class draws and handles log elements.

Member Enumeration Documentation

◆ BufferType

enum rqt_signal_logger::LogElement::BufferType : unsigned int
strong

Enum mapping defining possible buffer types.

Enumerator
FIXED_SIZE 
LOOPING 
EXPONENTIALLY_GROWING 

◆ LogAction

enum rqt_signal_logger::LogElement::LogAction : unsigned int
strong

Enum mapping defining possible log actions.

Enumerator
SAVE_AND_PUBLISH 
SAVE 
PUBLISH 

Constructor & Destructor Documentation

◆ LogElement()

rqt_signal_logger::LogElement::LogElement ( const std::string &  name,
QWidget *  widget,
QGridLayout *  grid,
ros::ServiceClient *  getLogElementClient,
ros::ServiceClient *  setLogElementClient,
size_t  maxParamNameWidth 
)
inline

Add number label

Add is logging checkbox

Add name label

Add log type combobox

Add divider label

Add divider spinbox

Add buffer label

Add buffer size spinbox

Add buffer looping combobox

Change button

Change button

◆ ~LogElement()

virtual rqt_signal_logger::LogElement::~LogElement ( )
inlinevirtual

Member Function Documentation

◆ changeElement

bool rqt_signal_logger::LogElement::changeElement ( )
inlineslot

◆ refreshElement

bool rqt_signal_logger::LogElement::refreshElement ( )
inlineslot

Member Data Documentation

◆ bufferInd_

BufferIndicator* rqt_signal_logger::LogElement::bufferInd_

◆ checkBoxIsLogging

QCheckBox* rqt_signal_logger::LogElement::checkBoxIsLogging

◆ comboBoxBufferType

QComboBox* rqt_signal_logger::LogElement::comboBoxBufferType

◆ comboBoxLogType

QComboBox* rqt_signal_logger::LogElement::comboBoxLogType

◆ getLogElementClient_

ros::ServiceClient* rqt_signal_logger::LogElement::getLogElementClient_
protected

◆ grid_

QGridLayout* rqt_signal_logger::LogElement::grid_
protected

◆ labelBuffer

QLabel* rqt_signal_logger::LogElement::labelBuffer

◆ labelDivider

QLabel* rqt_signal_logger::LogElement::labelDivider

◆ labelParamName

QLabel* rqt_signal_logger::LogElement::labelParamName

◆ labelParamNumber

QLabel* rqt_signal_logger::LogElement::labelParamNumber

◆ name_

std::string rqt_signal_logger::LogElement::name_
protected

◆ pushButtonChangeParam

QPushButton* rqt_signal_logger::LogElement::pushButtonChangeParam

◆ pushButtonRefreshParam

QPushButton* rqt_signal_logger::LogElement::pushButtonRefreshParam

◆ setLogElementClient_

ros::ServiceClient* rqt_signal_logger::LogElement::setLogElementClient_
protected

◆ spinBoxBufferSize

QSpinBox* rqt_signal_logger::LogElement::spinBoxBufferSize

◆ spinBoxDivider

QSpinBox* rqt_signal_logger::LogElement::spinBoxDivider

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