RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Public Member Functions
Connector::Plugin Class Reference

#include <connector.hpp>

Inheritance diagram for Connector::Plugin:
Inheritance graph
Collaboration diagram for Connector::Plugin:
Collaboration graph

Public Member Functions

 Plugin (Event::Manager *ev_manager)
 
void receiveEvent (Event::Object *event) override
 
- Public Member Functions inherited from Widgets::Plugin
 Plugin (Event::Manager *ev_manager, std::string mod_name)
 
 Plugin (const Plugin &plugin)=delete
 
Pluginoperator= (const Plugin &plugin)=delete
 
 Plugin (Plugin &&)=delete
 
Pluginoperator= (Plugin &&)=delete
 
 ~Plugin () override
 
size_t getID ()
 
void attachComponent (std::unique_ptr< Widgets::Component > component)
 
void attachPanel (Widgets::Panel *panel)
 
int64_t getComponentIntParameter (const Variable::Id &parameter_id)
 
uint64_t getComponentUIntParameter (const Variable::Id &parameter_id)
 
double getComponentDoubleParameter (const Variable::Id &parameter_id)
 
template<typename T >
int setComponentParameter (const Variable::Id &parameter_id, T value)
 
std::string getName () const
 
bool getActive ()
 
int setActive (bool state)
 
std::string getLibrary () const
 
void setLibrary (const std::string &lib)
 
void registerComponent ()
 
void setComponentState (RT::State::state_t state)
 
virtual std::vector< Widgets::Variable::InfogetComponentParametersInfo ()
 
- Public Member Functions inherited from Event::Handler
 Handler ()=default
 
 Handler (const Handler &)=default
 
 Handler (Handler &&)=delete
 
Handleroperator= (const Handler &)=default
 
Handleroperator= (Handler &&)=delete
 
virtual ~Handler ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from Widgets::Plugin
Widgets::ComponentgetComponent ()
 
Event::ManagergetEventManager ()
 
QMainWindow * getQMainWindow ()
 
Widgets::PanelgetPanel ()
 

Detailed Description

Definition at line 77 of file connector.hpp.

Constructor & Destructor Documentation

◆ Plugin()

Connector::Plugin::Plugin(Event::Managerev_manager)
explicit

Definition at line 467 of file connector.cpp.

Member Function Documentation

◆ receiveEvent()

void Connector::Plugin::receiveEvent(Event::Objectevent)
overridevirtual

Function called when a new event is fired

Parameters
eventpointer to Qt event object

Reimplemented from Widgets::Plugin.

Definition at line 228 of file connector.cpp.

Here is the call graph for this function:

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