Public Member Functions | Protected Attributes | List of all members
NlohmannParserCreator Class Reference

#include <nlohmann_parsers.h>

Inheritance diagram for NlohmannParserCreator:
Inheritance graph
[legend]

Public Member Functions

template<typename ParserT >
MessageParserPtr createParserImpl (const std::string &topic_name, PlotDataMapRef &data)
 
const char * encoding () const override
 
virtual void loadSettings ()
 
 NlohmannParserCreator (const char *encoding)
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . More...
 
virtual void saveSettings ()
 
- Public Member Functions inherited from PJ::ParserFactoryPlugin
virtual MessageParserPtr createParser (const std::string &topic_name, const std::string &type_name, const std::string &schema, PlotDataMapRef &data)=0
 
- Public Member Functions inherited from PJ::PlotJugglerPlugin
virtual const std::vector< QAction * > & availableActions ()
 
virtual bool isDebugPlugin ()
 
virtual const char * name () const =0
 Name of the plugin type, NOT the particular instance. More...
 
 PlotJugglerPlugin ()=default
 
virtual bool xmlLoadState (const QDomElement &parent_element)
 Override this method to load the status of the plugin from XML. More...
 
QDomElement xmlSaveState (QDomDocument &doc) const
 
virtual bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const
 Override this method to save the status of the plugin to XML. More...
 

Protected Attributes

QCheckBoxClose_checkbox_use_timestamp
 
const char * _encoding
 

Additional Inherited Members

- Public Types inherited from PJ::ParserFactoryPlugin
using Ptr = std::shared_ptr< ParserFactoryPlugin >
 

Detailed Description

Definition at line 111 of file nlohmann_parsers.h.

Constructor & Destructor Documentation

◆ NlohmannParserCreator()

NlohmannParserCreator::NlohmannParserCreator ( const char *  encoding)
inline

Definition at line 114 of file nlohmann_parsers.h.

Member Function Documentation

◆ createParserImpl()

template<typename ParserT >
MessageParserPtr NlohmannParserCreator::createParserImpl ( const std::string &  topic_name,
PlotDataMapRef data 
)
inline

Definition at line 122 of file nlohmann_parsers.h.

◆ encoding()

const char* NlohmannParserCreator::encoding ( ) const
inlineoverridevirtual

Implements PJ::ParserFactoryPlugin.

Definition at line 138 of file nlohmann_parsers.h.

◆ loadSettings()

virtual void NlohmannParserCreator::loadSettings ( )
inlinevirtual

Definition at line 143 of file nlohmann_parsers.h.

◆ optionsWidget()

virtual QWidget* NlohmannParserCreator::optionsWidget ( )
inlinevirtual

optionsWidget pointer to a persistent widget used to set the plugin options .

Reimplemented from PJ::PlotJugglerPlugin.

Definition at line 131 of file nlohmann_parsers.h.

◆ saveSettings()

virtual void NlohmannParserCreator::saveSettings ( )
inlinevirtual

Definition at line 154 of file nlohmann_parsers.h.

Member Data Documentation

◆ _checkbox_use_timestamp

QCheckBoxClose* NlohmannParserCreator::_checkbox_use_timestamp
protected

Definition at line 164 of file nlohmann_parsers.h.

◆ _encoding

const char* NlohmannParserCreator::_encoding
protected

Definition at line 165 of file nlohmann_parsers.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50