Privacy
An open-source, flexible 3D physical simulation framework
data_broker_plotter2::DataBrokerPlotterLib Class Reference

#include <DataBrokerPlotterLib.hpp>

Public Member Functions

 DataBrokerPlotterLib (lib_manager::LibManager *theManager)
 
void setupGUI (std::string rPath=std::string("."))
 
virtual ~DataBrokerPlotterLib (void)
 
virtual void menuAction (int action, bool checked=false)
 Called whenever a menu item is selected. More...
 
int getLibVersion () const
 
const std::string getLibName () const
 
 CREATE_MODULE_INFO ()
 
void receiveData (const mars::data_broker::DataInfo &info, const mars::data_broker::DataPackage &dataPackage, int callbackParam)
 
void destroyPlotWindow (DataBrokerPlotter *)
 
- Public Member Functions inherited from lib_manager::LibInterface
 LibInterface (LibManager *theManager)
 
virtual ~LibInterface (void)
 
ModuleInfo getModuleInfo () const
 
virtual void newLibLoaded (const std::string &libName)
 
virtual void createModuleInfo (void)
 
- Public Member Functions inherited from mars::main_gui::MenuInterface
virtual ~MenuInterface ()
 

Protected Slots

void timerEvent (QTimerEvent *event)
 

Private Attributes

mars::main_gui::GuiInterfacegui
 
mars::cfg_manager::CFGManagerInterfacecfg
 
mars::data_broker::DataBrokerInterfacedataBroker
 
std::string configPath
 
std::map< std::string, DataBrokerPlotter * > plotWindows
 
std::list< DataBrokerPlotter * > toDelete
 
int num
 

Additional Inherited Members

- Protected Attributes inherited from lib_manager::LibInterface
LibManagerlibManager
 
ModuleInfo moduleInfo
 

Detailed Description

Definition at line 51 of file DataBrokerPlotterLib.hpp.

Constructor & Destructor Documentation

◆ DataBrokerPlotterLib()

data_broker_plotter2::DataBrokerPlotterLib::DataBrokerPlotterLib ( lib_manager::LibManager theManager)

Definition at line 16 of file DataBrokerPlotterLib.cpp.

◆ ~DataBrokerPlotterLib()

data_broker_plotter2::DataBrokerPlotterLib::~DataBrokerPlotterLib ( void  )
virtual

Definition at line 63 of file DataBrokerPlotterLib.cpp.

Member Function Documentation

◆ CREATE_MODULE_INFO()

data_broker_plotter2::DataBrokerPlotterLib::CREATE_MODULE_INFO ( )

◆ destroyPlotWindow()

void data_broker_plotter2::DataBrokerPlotterLib::destroyPlotWindow ( DataBrokerPlotter plotWindow)

Definition at line 125 of file DataBrokerPlotterLib.cpp.

◆ getLibName()

const std::string data_broker_plotter2::DataBrokerPlotterLib::getLibName ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 68 of file DataBrokerPlotterLib.hpp.

◆ getLibVersion()

int data_broker_plotter2::DataBrokerPlotterLib::getLibVersion ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 67 of file DataBrokerPlotterLib.hpp.

◆ menuAction()

void data_broker_plotter2::DataBrokerPlotterLib::menuAction ( int  action,
bool  checked = false 
)
virtual

Called whenever a menu item is selected.

Parameters
actionThe action that is passed to the GuiInterface via addGenericMenuAction function.
checkedIndicates if the menu/menu item is checked or not.

Implements mars::main_gui::MenuInterface.

Definition at line 75 of file DataBrokerPlotterLib.cpp.

◆ receiveData()

void data_broker_plotter2::DataBrokerPlotterLib::receiveData ( const mars::data_broker::DataInfo info,
const mars::data_broker::DataPackage dataPackage,
int  callbackParam 
)

◆ setupGUI()

void data_broker_plotter2::DataBrokerPlotterLib::setupGUI ( std::string  rPath = std::string("."))

Definition at line 24 of file DataBrokerPlotterLib.cpp.

◆ timerEvent

void data_broker_plotter2::DataBrokerPlotterLib::timerEvent ( QTimerEvent *  event)
protectedslot

Definition at line 105 of file DataBrokerPlotterLib.cpp.

Member Data Documentation

◆ cfg

mars::cfg_manager::CFGManagerInterface* data_broker_plotter2::DataBrokerPlotterLib::cfg
private

Definition at line 82 of file DataBrokerPlotterLib.hpp.

◆ configPath

std::string data_broker_plotter2::DataBrokerPlotterLib::configPath
private

Definition at line 84 of file DataBrokerPlotterLib.hpp.

◆ dataBroker

mars::data_broker::DataBrokerInterface* data_broker_plotter2::DataBrokerPlotterLib::dataBroker
private

Definition at line 83 of file DataBrokerPlotterLib.hpp.

◆ gui

mars::main_gui::GuiInterface* data_broker_plotter2::DataBrokerPlotterLib::gui
private

Definition at line 81 of file DataBrokerPlotterLib.hpp.

◆ num

int data_broker_plotter2::DataBrokerPlotterLib::num
private

Definition at line 87 of file DataBrokerPlotterLib.hpp.

◆ plotWindows

std::map<std::string, DataBrokerPlotter*> data_broker_plotter2::DataBrokerPlotterLib::plotWindows
private

Definition at line 85 of file DataBrokerPlotterLib.hpp.

◆ toDelete

std::list<DataBrokerPlotter*> data_broker_plotter2::DataBrokerPlotterLib::toDelete
private

Definition at line 86 of file DataBrokerPlotterLib.hpp.


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