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

#include <SignalLoggerPlugin.hpp>

Inheritance diagram for rqt_signal_logger::SignalLoggerPlugin:
Inheritance graph

Public Types

enum  MessageType { MessageType::ERROR, MessageType::WARNING, MessageType::SUCCESS, MessageType::STATUS }
 Status message types. More...
 
enum  TaskList {
  TaskList::ENABLE_ALL, TaskList::DISABLE_ALL, TaskList::SET_DIVIDER, TaskList::SET_ACTION,
  TaskList::SET_BUFFER_TYPE, TaskList::SET_BUFFER_SIZE, TaskList::SET_BUFFER_SIZE_FROM_TIME
}
 Tasks in combo box. More...
 

Signals

void parametersChanged ()
 

Public Member Functions

 SignalLoggerPlugin ()
 
virtual void initPlugin (qt_gui_cpp::PluginContext &context)
 
virtual void shutdownPlugin ()
 
virtual void saveSettings (qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const
 
virtual void restoreSettings (const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings)
 
void statusMessage (std::string message, MessageType type, double displaySeconds=2.0)
 
void shutdownROS ()
 
bool checkNamespace (const QString &text)
 

Protected Slots

void refreshAll ()
 
void changeAll ()
 
void drawParamList ()
 
void setNamespace ()
 
void startLogger ()
 
void stopLogger ()
 
void restartLogger ()
 
void saveLoggerData ()
 
void selectYamlFile ()
 
void loadYamlFile ()
 
void saveYamlFile ()
 
void taskChanged (int index)
 
void valueChanged (double value)
 
void applyButtonPressed ()
 
void checkLoggerState ()
 

Private Attributes

Ui::SignalLoggerPlugin ui_
 
Ui::SignalLoggerVariables varsUi_
 
Ui::SignalLoggerConfigure configureUi_
 
QWidget * widget_
 
QTabWidget * tabWidget_
 
QStatusBar * statusBar_
 
QWidget * varsWidget_
 
QWidget * configureWidget_
 
QGridLayout * paramsGrid_
 
QWidget * paramsWidget_
 
QWidget * paramsScrollHelperWidget_
 
QVBoxLayout * paramsScrollLayout_
 
QStringList namespaceList_
 
ros::ServiceClient getLoggerConfigurationClient_
 
ros::ServiceClient getLoggerElementClient_
 
ros::ServiceClient setLoggerElementClient_
 
ros::ServiceClient startLoggerClient_
 
ros::ServiceClient stopLoggerClient_
 
ros::ServiceClient saveLoggerDataClient_
 
ros::ServiceClient loadLoggerScriptClient_
 
ros::ServiceClient saveLoggerScriptClient_
 
ros::ServiceClient isLoggerRunningClient_
 
std::string getLoggerConfigurationServiceName_
 
std::string getParameterServiceName_
 
std::string setParameterServiceName_
 
std::string startLoggerServiceName_
 
std::string stopLoggerServiceName_
 
std::string saveLoggerDataServiceName_
 
std::string loadLoggerScriptServiceName_
 
std::string saveLoggerScriptServiceName_
 
std::string isLoggerRunningServiceName_
 
std::vector< std::shared_ptr< LogElement > > logElements_
 
std::vector< std::string > logElementNames_
 
double updateFrequency_
 

Member Enumeration Documentation

◆ MessageType

Status message types.

Enumerator
ERROR 
WARNING 
SUCCESS 
STATUS 

◆ TaskList

Tasks in combo box.

Enumerator
ENABLE_ALL 
DISABLE_ALL 
SET_DIVIDER 
SET_ACTION 
SET_BUFFER_TYPE 
SET_BUFFER_SIZE 
SET_BUFFER_SIZE_FROM_TIME 

Constructor & Destructor Documentation

◆ SignalLoggerPlugin()

rqt_signal_logger::SignalLoggerPlugin::SignalLoggerPlugin ( )

Member Function Documentation

◆ applyButtonPressed

void rqt_signal_logger::SignalLoggerPlugin::applyButtonPressed ( )
protectedslot

◆ changeAll

void rqt_signal_logger::SignalLoggerPlugin::changeAll ( )
protectedslot

◆ checkLoggerState

void rqt_signal_logger::SignalLoggerPlugin::checkLoggerState ( )
protectedslot

◆ checkNamespace()

bool rqt_signal_logger::SignalLoggerPlugin::checkNamespace ( const QString &  text)

◆ drawParamList

void rqt_signal_logger::SignalLoggerPlugin::drawParamList ( )
protectedslot

◆ initPlugin()

virtual void rqt_signal_logger::SignalLoggerPlugin::initPlugin ( qt_gui_cpp::PluginContext &  context)
virtual

◆ loadYamlFile

void rqt_signal_logger::SignalLoggerPlugin::loadYamlFile ( )
protectedslot

◆ parametersChanged

void rqt_signal_logger::SignalLoggerPlugin::parametersChanged ( )
signal

◆ refreshAll

void rqt_signal_logger::SignalLoggerPlugin::refreshAll ( )
protectedslot

◆ restartLogger

void rqt_signal_logger::SignalLoggerPlugin::restartLogger ( )
protectedslot

◆ restoreSettings()

virtual void rqt_signal_logger::SignalLoggerPlugin::restoreSettings ( const qt_gui_cpp::Settings &  plugin_settings,
const qt_gui_cpp::Settings &  instance_settings 
)
virtual

◆ saveLoggerData

void rqt_signal_logger::SignalLoggerPlugin::saveLoggerData ( )
protectedslot

◆ saveSettings()

virtual void rqt_signal_logger::SignalLoggerPlugin::saveSettings ( qt_gui_cpp::Settings &  plugin_settings,
qt_gui_cpp::Settings &  instance_settings 
) const
virtual

◆ saveYamlFile

void rqt_signal_logger::SignalLoggerPlugin::saveYamlFile ( )
protectedslot

◆ selectYamlFile

void rqt_signal_logger::SignalLoggerPlugin::selectYamlFile ( )
protectedslot

◆ setNamespace

void rqt_signal_logger::SignalLoggerPlugin::setNamespace ( )
protectedslot

◆ shutdownPlugin()

virtual void rqt_signal_logger::SignalLoggerPlugin::shutdownPlugin ( )
virtual

◆ shutdownROS()

void rqt_signal_logger::SignalLoggerPlugin::shutdownROS ( )

◆ startLogger

void rqt_signal_logger::SignalLoggerPlugin::startLogger ( )
protectedslot

◆ statusMessage()

void rqt_signal_logger::SignalLoggerPlugin::statusMessage ( std::string  message,
MessageType  type,
double  displaySeconds = 2.0 
)

◆ stopLogger

void rqt_signal_logger::SignalLoggerPlugin::stopLogger ( )
protectedslot

◆ taskChanged

void rqt_signal_logger::SignalLoggerPlugin::taskChanged ( int  index)
protectedslot

◆ valueChanged

void rqt_signal_logger::SignalLoggerPlugin::valueChanged ( double  value)
protectedslot

Member Data Documentation

◆ configureUi_

Ui::SignalLoggerConfigure rqt_signal_logger::SignalLoggerPlugin::configureUi_
private

◆ configureWidget_

QWidget* rqt_signal_logger::SignalLoggerPlugin::configureWidget_
private

◆ getLoggerConfigurationClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::getLoggerConfigurationClient_
private

◆ getLoggerConfigurationServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::getLoggerConfigurationServiceName_
private

◆ getLoggerElementClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::getLoggerElementClient_
private

◆ getParameterServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::getParameterServiceName_
private

◆ isLoggerRunningClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::isLoggerRunningClient_
private

◆ isLoggerRunningServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::isLoggerRunningServiceName_
private

◆ loadLoggerScriptClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::loadLoggerScriptClient_
private

◆ loadLoggerScriptServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::loadLoggerScriptServiceName_
private

◆ logElementNames_

std::vector<std::string> rqt_signal_logger::SignalLoggerPlugin::logElementNames_
private

◆ logElements_

std::vector<std::shared_ptr<LogElement> > rqt_signal_logger::SignalLoggerPlugin::logElements_
private

◆ namespaceList_

QStringList rqt_signal_logger::SignalLoggerPlugin::namespaceList_
private

◆ paramsGrid_

QGridLayout* rqt_signal_logger::SignalLoggerPlugin::paramsGrid_
private

◆ paramsScrollHelperWidget_

QWidget* rqt_signal_logger::SignalLoggerPlugin::paramsScrollHelperWidget_
private

◆ paramsScrollLayout_

QVBoxLayout* rqt_signal_logger::SignalLoggerPlugin::paramsScrollLayout_
private

◆ paramsWidget_

QWidget* rqt_signal_logger::SignalLoggerPlugin::paramsWidget_
private

◆ saveLoggerDataClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::saveLoggerDataClient_
private

◆ saveLoggerDataServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::saveLoggerDataServiceName_
private

◆ saveLoggerScriptClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::saveLoggerScriptClient_
private

◆ saveLoggerScriptServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::saveLoggerScriptServiceName_
private

◆ setLoggerElementClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::setLoggerElementClient_
private

◆ setParameterServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::setParameterServiceName_
private

◆ startLoggerClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::startLoggerClient_
private

◆ startLoggerServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::startLoggerServiceName_
private

◆ statusBar_

QStatusBar* rqt_signal_logger::SignalLoggerPlugin::statusBar_
private

◆ stopLoggerClient_

ros::ServiceClient rqt_signal_logger::SignalLoggerPlugin::stopLoggerClient_
private

◆ stopLoggerServiceName_

std::string rqt_signal_logger::SignalLoggerPlugin::stopLoggerServiceName_
private

◆ tabWidget_

QTabWidget* rqt_signal_logger::SignalLoggerPlugin::tabWidget_
private

◆ ui_

Ui::SignalLoggerPlugin rqt_signal_logger::SignalLoggerPlugin::ui_
private

◆ updateFrequency_

double rqt_signal_logger::SignalLoggerPlugin::updateFrequency_
private

◆ varsUi_

Ui::SignalLoggerVariables rqt_signal_logger::SignalLoggerPlugin::varsUi_
private

◆ varsWidget_

QWidget* rqt_signal_logger::SignalLoggerPlugin::varsWidget_
private

◆ widget_

QWidget* rqt_signal_logger::SignalLoggerPlugin::widget_
private

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