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

Status message types.

Enumerator
ERROR 
WARNING 
SUCCESS 
STATUS 

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

rqt_signal_logger::SignalLoggerPlugin::SignalLoggerPlugin ( )

Member Function Documentation

void rqt_signal_logger::SignalLoggerPlugin::applyButtonPressed ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::changeAll ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::checkLoggerState ( )
protectedslot
bool rqt_signal_logger::SignalLoggerPlugin::checkNamespace ( const QString &  text)
void rqt_signal_logger::SignalLoggerPlugin::drawParamList ( )
protectedslot
virtual void rqt_signal_logger::SignalLoggerPlugin::initPlugin ( qt_gui_cpp::PluginContext &  context)
virtual
void rqt_signal_logger::SignalLoggerPlugin::loadYamlFile ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::parametersChanged ( )
signal
void rqt_signal_logger::SignalLoggerPlugin::refreshAll ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::restartLogger ( )
protectedslot
virtual void rqt_signal_logger::SignalLoggerPlugin::restoreSettings ( const qt_gui_cpp::Settings &  plugin_settings,
const qt_gui_cpp::Settings &  instance_settings 
)
virtual
void rqt_signal_logger::SignalLoggerPlugin::saveLoggerData ( )
protectedslot
virtual void rqt_signal_logger::SignalLoggerPlugin::saveSettings ( qt_gui_cpp::Settings &  plugin_settings,
qt_gui_cpp::Settings &  instance_settings 
) const
virtual
void rqt_signal_logger::SignalLoggerPlugin::saveYamlFile ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::selectYamlFile ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::setNamespace ( )
protectedslot
virtual void rqt_signal_logger::SignalLoggerPlugin::shutdownPlugin ( )
virtual
void rqt_signal_logger::SignalLoggerPlugin::shutdownROS ( )
void rqt_signal_logger::SignalLoggerPlugin::startLogger ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::statusMessage ( std::string  message,
MessageType  type,
double  displaySeconds = 2.0 
)
void rqt_signal_logger::SignalLoggerPlugin::stopLogger ( )
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::taskChanged ( int  index)
protectedslot
void rqt_signal_logger::SignalLoggerPlugin::valueChanged ( double  value)
protectedslot

Member Data Documentation

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

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