Relacs Core Library
0.9.8
|
#include <controltabs.h>
Public Member Functions | |
ControlTabs (RELACSWidget *rw, QWidget *parent=0) | |
~ControlTabs (void) | |
void | createControls (void) |
void | addMenu (QMenu *menu, bool doxydoc) |
void | initDevices (void) |
void | assignTracesEvents (const InList &il, const EventList &el) |
void | assignTracesEvents (void) |
void | start (void) |
void | requestStop (void) |
void | wait (double time=-1.0) |
void | modeChanged (void) |
void | notifyStimulusData (void) |
void | notifyMetaData (void) |
void | sessionStarted (void) |
void | sessionStopped (bool saved) |
Control * | control (int index) |
Control * | control (const string &name) |
Public Member Functions inherited from PluginTabs | |
PluginTabs (int key, RELACSWidget *rw, QWidget *parent=0) | |
~PluginTabs (void) | |
bool | eventFilter (QObject *obj, QEvent *event) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *event) |
void | keyReleaseEvent (QKeyEvent *event) |
Protected Member Functions inherited from PluginTabs | |
void | keyPressEvent (QKeyEvent *event) |
Additional Inherited Members | |
Static Protected Member Functions inherited from PluginTabs | |
static QWidget * | firstEnabledChildWidget (QLayout *l) |
Protected Attributes inherited from PluginTabs | |
RELACSWidget * | RW |
Container organizing Control plugins.
ControlTabs | ( | RELACSWidget * | rw, |
QWidget * | parent = 0 |
||
) |
~ControlTabs | ( | void | ) |
References RELACSPlugin::ControlId, and Plugins::destroy().
void createControls | ( | void | ) |
Creates Control plugins from configuration.
References RELACSPlugin::ControlId, Plugins::create(), ConfigDialog::name(), RELACSWidget::printlog(), PluginTabs::RW, RELACSPlugin::setRELACSWidget(), Parameter::size(), Parameter::text(), MessageBox::warning(), and RELACSPlugin::widget().
Referenced by RELACSWidget::RELACSWidget().
void addMenu | ( | QMenu * | menu, |
bool | doxydoc | ||
) |
Add the menu for configuring Controls to menu.
Referenced by RELACSWidget::RELACSWidget().
void initDevices | ( | void | ) |
Calls setSettings() and initDevices() of each Control.
Referenced by RELACSWidget::startFirstAcquisition(), and RELACSWidget::startIdle().
Copies il and el to each Control by copying a pointer to the data buffers only.
Referenced by RELACSWidget::startFirstAcquisition().
void assignTracesEvents | ( | void | ) |
Copies again all settings and indices from the reference traces and events to each Control.
void start | ( | void | ) |
Start all Control threads.
Referenced by RELACSWidget::startFirstAcquisition().
void requestStop | ( | void | ) |
Kindly requests all Control threads to be stopped.
Referenced by RELACSWidget::stopThreads().
void wait | ( | double | time = -1.0 | ) |
Wait for the Control threads to finish execution (time < 0) or for time seconds to be elapsed.
Referenced by RELACSWidget::stopThreads().
void modeChanged | ( | void | ) |
Calles modeChanged() of each Control whenever the mode is changed.
Referenced by RELACSWidget::setMode().
void notifyStimulusData | ( | void | ) |
Inform each Control that some stimulus data have been changed.
Referenced by RELACSWidget::notifyStimulusData().
void notifyMetaData | ( | void | ) |
Inform each Control that some meta data have been changed.
Referenced by RELACSWidget::notifyMetaData().
void sessionStarted | ( | void | ) |
Inform each Control that a new session is started.
Referenced by RELACSWidget::startSession().
void sessionStopped | ( | bool | saved | ) |
Inform each Control that the session is stopped.
Referenced by RELACSWidget::stopSession().
Control * control | ( | int | index | ) |
Return the control with index index.
Referenced by MacroCommand::check(), and RELACSPlugin::control().
|
protected |
References PluginTabs::keyPressEvent().
|
protected |