RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
#include <widgets.hpp>
Data Fields | |
std::unique_ptr< Widgets::Plugin >(* | createPlugin )(Event::Manager *) = nullptr |
Function that returns a smart pointer to plugin object. More... | |
std::unique_ptr< Widgets::Component >(* | createComponent )(Widgets::Plugin *) |
Widgets::Panel *(* | createPanel )(QMainWindow *, Event::Manager *) = nullptr |
This structure contains functions for creating Widget instances.
This struct is used when loading and unloading RTXI modules. It allows RTXI to use the builder pattern for loading widgets by calling these functions to generate the widget specific classes, then using relevant assembly methods to put them together and display them.
Definition at line 134 of file widgets.hpp.
std::unique_ptr< Widgets::Component > Widgets::FactoryMethods::createComponent |
event_manager | Raw pointer to Widgets::Plugin object |
Definition at line 118 of file widgets.hpp.
Widgets::Panel * Widgets::FactoryMethods::createPanel = nullptr |
returns the pointer
window | QMainWindow pointer to attach the panel to |
event_manager | Raw pointer to Event::Manager object |
Definition at line 170 of file widgets.hpp.
std::unique_ptr< Widgets::Plugin > Widgets::FactoryMethods::createPlugin = nullptr |
Function that returns a smart pointer to plugin object.
event_manager | Raw pointer to Event::Manager object |
Definition at line 118 of file widgets.hpp.