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

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

Enum mapping defining possible buffer types.

Enumerator
FIXED_SIZE 
LOOPING 
EXPONENTIALLY_GROWING 
enum rqt_signal_logger::LogElement::LogAction : unsigned int
strong

Enum mapping defining possible log actions.

Enumerator
SAVE_AND_PUBLISH 
SAVE 
PUBLISH 

Constructor & Destructor Documentation

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

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

Member Function Documentation

bool rqt_signal_logger::LogElement::changeElement ( )
inlineslot
bool rqt_signal_logger::LogElement::refreshElement ( )
inlineslot

Member Data Documentation

BufferIndicator* rqt_signal_logger::LogElement::bufferInd_
QCheckBox* rqt_signal_logger::LogElement::checkBoxIsLogging
QComboBox* rqt_signal_logger::LogElement::comboBoxBufferType
QComboBox* rqt_signal_logger::LogElement::comboBoxLogType
ros::ServiceClient* rqt_signal_logger::LogElement::getLogElementClient_
protected
QGridLayout* rqt_signal_logger::LogElement::grid_
protected
QLabel* rqt_signal_logger::LogElement::labelBuffer
QLabel* rqt_signal_logger::LogElement::labelDivider
QLabel* rqt_signal_logger::LogElement::labelParamName
QLabel* rqt_signal_logger::LogElement::labelParamNumber
std::string rqt_signal_logger::LogElement::name_
protected
QPushButton* rqt_signal_logger::LogElement::pushButtonChangeParam
QPushButton* rqt_signal_logger::LogElement::pushButtonRefreshParam
ros::ServiceClient* rqt_signal_logger::LogElement::setLogElementClient_
protected
QSpinBox* rqt_signal_logger::LogElement::spinBoxBufferSize
QSpinBox* rqt_signal_logger::LogElement::spinBoxDivider

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