RTXI  3.0.0
The Real-Time eXperiment Interface Reference Manual
Data Structures | Public Member Functions
Oscilloscope::Plugin Class Reference

#include <oscilloscope.hpp>

Inheritance diagram for Oscilloscope::Plugin:
Inheritance graph
Collaboration diagram for Oscilloscope::Plugin:
Collaboration graph

Public Member Functions

 Plugin (Event::Manager *ev_manager)
 
 Plugin (const Plugin &)=delete
 
 Plugin (Plugin &&)=delete
 
Pluginoperator= (const Plugin &)=delete
 
Pluginoperator= (Plugin &&)=delete
 
 ~Plugin () override
 
void receiveEvent (Event::Object *event) override
 
RT::OS::FifocreateProbe (IO::endpoint probe_info)
 
void deleteProbe (IO::endpoint probe_info)
 
void deleteAllProbes (IO::Block *block)
 
Oscilloscope::Trigger::Info getTriggerInfo ()
 
void setProbeActivity (IO::endpoint endpoint, bool activity)
 
std::vector< IO::endpointgetTrackedEndpoints ()
 
void setAllProbesActivity (bool activity)
 
Oscilloscope::ComponentgetProbeComponentPtr (IO::endpoint endpoint)
 
- 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 175 of file oscilloscope.hpp.

Constructor & Destructor Documentation

◆ Plugin() [1/3]

Oscilloscope::Plugin::Plugin(Event::Managerev_manager)
explicit

Definition at line 901 of file oscilloscope.cpp.

◆ Plugin() [2/3]

Oscilloscope::Plugin::Plugin(const Plugin)
delete

◆ Plugin() [3/3]

Oscilloscope::Plugin::Plugin(Plugin && )
delete

◆ ~Plugin()

Oscilloscope::Plugin::~Plugin()
override

Definition at line 906 of file oscilloscope.cpp.

Member Function Documentation

◆ createProbe()

RT::OS::Fifo * Oscilloscope::Plugin::createProbe(IO::endpoint probe_info)

Definition at line 919 of file oscilloscope.cpp.

Here is the call graph for this function:

◆ deleteAllProbes()

void Oscilloscope::Plugin::deleteAllProbes(IO::Blockblock)

Definition at line 975 of file oscilloscope.cpp.

◆ deleteProbe()

void Oscilloscope::Plugin::deleteProbe(IO::endpoint probe_info)

Definition at line 958 of file oscilloscope.cpp.

◆ getProbeComponentPtr()

Oscilloscope::Component * Oscilloscope::Plugin::getProbeComponentPtr(IO::endpoint endpoint)

Definition at line 1032 of file oscilloscope.cpp.

◆ getTrackedEndpoints()

std::vector< IO::endpoint > Oscilloscope::Plugin::getTrackedEndpoints()

Definition at line 1007 of file oscilloscope.cpp.

◆ getTriggerInfo()

Oscilloscope::Trigger::Info Oscilloscope::Plugin::getTriggerInfo()
inline

Definition at line 189 of file oscilloscope.hpp.

◆ operator=() [1/2]

Plugin& Oscilloscope::Plugin::operator=(const Plugin)
delete

◆ operator=() [2/2]

Plugin& Oscilloscope::Plugin::operator=(Plugin && )
delete

◆ receiveEvent()

void Oscilloscope::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 42 of file oscilloscope.cpp.

Here is the call graph for this function:

◆ setAllProbesActivity()

void Oscilloscope::Plugin::setAllProbesActivity(bool activity)

Definition at line 1017 of file oscilloscope.cpp.

◆ setProbeActivity()

void Oscilloscope::Plugin::setProbeActivity(IO::endpoint endpoint,
bool activity 
)

Definition at line 988 of file oscilloscope.cpp.

Here is the call graph for this function:

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