RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
#include <data_recorder.hpp>
Public Member Functions | |
Plugin (const Plugin &)=delete | |
Plugin (Plugin &&)=delete | |
Plugin & | operator= (const Plugin &)=delete |
Plugin & | operator= (Plugin &&)=delete |
Plugin (Event::Manager *ev_manager) | |
~Plugin () override | |
void | receiveEvent (Event::Object *event) override |
void | startRecording () |
void | stopRecording () |
void | openFile (const std::string &file_name) |
void | closeFile () |
void | change_file (const std::string &file_name) |
int | create_component (IO::endpoint endpoint) |
void | destroy_component (IO::endpoint endpoint) |
std::string | getRecorderName (IO::endpoint endpoint) |
DataRecorder::Component * | getRecorderPtr (IO::endpoint endpoint) |
RT::OS::Fifo * | getFifo (IO::endpoint endpoint) |
std::vector< record_channel > | get_recording_channels () |
int | apply_tag (const std::string &tag) |
void | process_data_worker () |
std::string | getOpenFilename () const |
bool | isFileOpen () |
bool | isRecording () |
int | getTrialCount () const |
Public Member Functions inherited from Widgets::Plugin | |
Plugin (Event::Manager *ev_manager, std::string mod_name) | |
Plugin (const Plugin &plugin)=delete | |
Plugin & | operator= (const Plugin &plugin)=delete |
Plugin (Plugin &&)=delete | |
Plugin & | operator= (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 ¶meter_id) |
uint64_t | getComponentUIntParameter (const Variable::Id ¶meter_id) |
double | getComponentDoubleParameter (const Variable::Id ¶meter_id) |
template<typename T > | |
int | setComponentParameter (const Variable::Id ¶meter_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::Info > | getComponentParametersInfo () |
Public Member Functions inherited from Event::Handler | |
Handler ()=default | |
Handler (const Handler &)=default | |
Handler (Handler &&)=delete | |
Handler & | operator= (const Handler &)=default |
Handler & | operator= (Handler &&)=delete |
virtual | ~Handler ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from Widgets::Plugin | |
Widgets::Component * | getComponent () |
Event::Manager * | getEventManager () |
QMainWindow * | getQMainWindow () |
Widgets::Panel * | getPanel () |
Definition at line 162 of file data_recorder.hpp.
| delete |
| delete |
| explicit |
Definition at line 498 of file data_recorder.cpp.
| override |
Definition at line 504 of file data_recorder.cpp.
int DataRecorder::Plugin::apply_tag | ( | const std::string & | tag | ) |
Definition at line 835 of file data_recorder.cpp.
void DataRecorder::Plugin::change_file | ( | const std::string & | file_name | ) |
Definition at line 715 of file data_recorder.cpp.
void DataRecorder::Plugin::closeFile | ( | ) |
int DataRecorder::Plugin::create_component | ( | IO::endpoint | endpoint | ) |
void DataRecorder::Plugin::destroy_component | ( | IO::endpoint | endpoint | ) |
std::vector< DataRecorder::record_channel > DataRecorder::Plugin::get_recording_channels | ( | ) |
Definition at line 824 of file data_recorder.cpp.
RT::OS::Fifo* DataRecorder::Plugin::getFifo | ( | IO::endpoint | endpoint | ) |
| inline |
Definition at line 186 of file data_recorder.hpp.
std::string DataRecorder::Plugin::getRecorderName | ( | IO::endpoint | endpoint | ) |
Definition at line 796 of file data_recorder.cpp.
DataRecorder::Component * DataRecorder::Plugin::getRecorderPtr | ( | IO::endpoint | endpoint | ) |
Definition at line 809 of file data_recorder.cpp.
| inline |
Definition at line 189 of file data_recorder.hpp.
| inline |
Definition at line 187 of file data_recorder.hpp.
| inline |
Definition at line 188 of file data_recorder.hpp.
void DataRecorder::Plugin::openFile | ( | const std::string & | file_name | ) |
void DataRecorder::Plugin::process_data_worker | ( | ) |
Definition at line 840 of file data_recorder.cpp.
| overridevirtual |
Function called when a new event is fired
event | pointer to Qt event object |
Reimplemented from Widgets::Plugin.
Definition at line 518 of file data_recorder.cpp.
void DataRecorder::Plugin::startRecording | ( | ) |
Definition at line 546 of file data_recorder.cpp.
void DataRecorder::Plugin::stopRecording | ( | ) |
Definition at line 564 of file data_recorder.cpp.