Public Member Functions | Private Member Functions | Private Attributes | List of all members
DataLoadZcm Class Reference

#include <dataload_zcm.h>

Inheritance diagram for DataLoadZcm:
Inheritance graph
[legend]

Public Member Functions

const std::vector< const char * > & compatibleFileExtensions () const override
 Provide a list of file extensions that this plugin can open. More...
 
 DataLoadZcm ()
 
const char * name () const override
 Name of the plugin type, NOT the particular instance. More...
 
bool readDataFromFile (PJ::FileLoadInfo *fileload_info, PlotDataMapRef &destination) override
 
bool xmlLoadState (const QDomElement &parent_element) override
 Override this method to load the status of the plugin from XML. More...
 
bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override
 Override this method to save the status of the plugin to XML. More...
 
virtual ~DataLoadZcm ()
 
- Public Member Functions inherited from PJ::DataLoader
 DataLoader ()=default
 
const ParserFactoriesparserFactories () const
 
void setParserFactories (ParserFactories *parsers)
 
virtual ~DataLoader ()=default
 
- Public Member Functions inherited from PJ::PlotJugglerPlugin
virtual const std::vector< QAction * > & availableActions ()
 
virtual bool isDebugPlugin ()
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . More...
 
 PlotJugglerPlugin ()=default
 
QDomElement xmlSaveState (QDomDocument &doc) const
 

Private Member Functions

bool launchDialog (const std::string &filepath)
 
bool refreshChannels (const std::string &filepath)
 

Private Attributes

std::unordered_set< std::string > _all_channels
 
std::string _all_channels_filepath
 
ConfigZCM_config_widget
 
QDialog * _dialog
 
std::unordered_set< std::string > _selected_channels
 
Ui::DialogZcm * _ui
 

Detailed Description

Definition at line 16 of file dataload_zcm.h.

Constructor & Destructor Documentation

◆ DataLoadZcm()

DataLoadZcm::DataLoadZcm ( )

Definition at line 24 of file dataload_zcm.cpp.

◆ ~DataLoadZcm()

DataLoadZcm::~DataLoadZcm ( )
virtual

Definition at line 44 of file dataload_zcm.cpp.

Member Function Documentation

◆ compatibleFileExtensions()

const vector< const char * > & DataLoadZcm::compatibleFileExtensions ( ) const
overridevirtual

Provide a list of file extensions that this plugin can open.

Implements PJ::DataLoader.

Definition at line 54 of file dataload_zcm.cpp.

◆ launchDialog()

bool DataLoadZcm::launchDialog ( const std::string &  filepath)
private

Definition at line 148 of file dataload_zcm.cpp.

◆ name()

const char * DataLoadZcm::name ( ) const
overridevirtual

Name of the plugin type, NOT the particular instance.

Implements PJ::PlotJugglerPlugin.

Definition at line 49 of file dataload_zcm.cpp.

◆ readDataFromFile()

bool DataLoadZcm::readDataFromFile ( PJ::FileLoadInfo fileload_info,
PlotDataMapRef destination 
)
overridevirtual

Implements PJ::DataLoader.

Definition at line 244 of file dataload_zcm.cpp.

◆ refreshChannels()

bool DataLoadZcm::refreshChannels ( const std::string &  filepath)
private

Definition at line 136 of file dataload_zcm.cpp.

◆ xmlLoadState()

bool DataLoadZcm::xmlLoadState ( const QDomElement &  parent_element)
overridevirtual

Override this method to load the status of the plugin from XML.

Reimplemented from PJ::PlotJugglerPlugin.

Definition at line 361 of file dataload_zcm.cpp.

◆ xmlSaveState()

bool DataLoadZcm::xmlSaveState ( QDomDocument &  doc,
QDomElement &  parent_element 
) const
overridevirtual

Override this method to save the status of the plugin to XML.

Reimplemented from PJ::PlotJugglerPlugin.

Definition at line 352 of file dataload_zcm.cpp.

Member Data Documentation

◆ _all_channels

std::unordered_set<std::string> DataLoadZcm::_all_channels
private

Definition at line 43 of file dataload_zcm.h.

◆ _all_channels_filepath

std::string DataLoadZcm::_all_channels_filepath
private

Definition at line 44 of file dataload_zcm.h.

◆ _config_widget

ConfigZCM* DataLoadZcm::_config_widget
private

Definition at line 40 of file dataload_zcm.h.

◆ _dialog

QDialog* DataLoadZcm::_dialog
private

Definition at line 39 of file dataload_zcm.h.

◆ _selected_channels

std::unordered_set<std::string> DataLoadZcm::_selected_channels
private

Definition at line 46 of file dataload_zcm.h.

◆ _ui

Ui::DialogZcm* DataLoadZcm::_ui
private

Definition at line 41 of file dataload_zcm.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:28