Public Types | Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
PJ::ToolboxPlugin Class Referenceabstract

#include <toolbox_base.h>

Inheritance diagram for PJ::ToolboxPlugin:
Inheritance graph
[legend]

Public Types

enum  WidgetType { FLOATING, FIXED }
 

Public Slots

virtual bool onShowWidget ()=0
 

Signals

void closed ()
 
void importData (PlotDataMapRef &new_data, bool remove_old)
 
void plotCreated (std::string plot_name, bool is_custom=true)
 

Public Member Functions

virtual void init (PlotDataMapRef &src_data, TransformsMap &transform_map)=0
 
const ParserFactoriesparserFactories () const
 
virtual std::pair< QWidget *, WidgetTypeprovidedWidget () const =0
 
void setParserFactories (ParserFactories *parsers)
 
 ToolboxPlugin ()=default
 
virtual ~ToolboxPlugin ()=default
 
- 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...
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . 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...
 

Private Attributes

ParserFactories_parser_factories = nullptr
 

Detailed Description

Definition at line 20 of file toolbox_base.h.

Member Enumeration Documentation

◆ WidgetType

Enumerator
FLOATING 
FIXED 

Definition at line 31 of file toolbox_base.h.

Constructor & Destructor Documentation

◆ ToolboxPlugin()

PJ::ToolboxPlugin::ToolboxPlugin ( )
default

◆ ~ToolboxPlugin()

virtual PJ::ToolboxPlugin::~ToolboxPlugin ( )
virtualdefault

Member Function Documentation

◆ closed

void PJ::ToolboxPlugin::closed ( )
signal

◆ importData

void PJ::ToolboxPlugin::importData ( PlotDataMapRef new_data,
bool  remove_old 
)
signal

◆ init()

virtual void PJ::ToolboxPlugin::init ( PlotDataMapRef src_data,
TransformsMap transform_map 
)
pure virtual

◆ onShowWidget

virtual bool PJ::ToolboxPlugin::onShowWidget ( )
pure virtualslot

◆ parserFactories()

const ParserFactories* PJ::ToolboxPlugin::parserFactories ( ) const
inline

Definition at line 44 of file toolbox_base.h.

◆ plotCreated

void PJ::ToolboxPlugin::plotCreated ( std::string  plot_name,
bool  is_custom = true 
)
signal

◆ providedWidget()

virtual std::pair<QWidget*, WidgetType> PJ::ToolboxPlugin::providedWidget ( ) const
pure virtual

◆ setParserFactories()

void PJ::ToolboxPlugin::setParserFactories ( ParserFactories parsers)
inline

Definition at line 39 of file toolbox_base.h.

Member Data Documentation

◆ _parser_factories

ParserFactories* PJ::ToolboxPlugin::_parser_factories = nullptr
private

Definition at line 62 of file toolbox_base.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:52