Relacs Core Library  0.9.8
Public Member Functions | Protected Member Functions | List of all members
ControlTabs Class Reference

#include <controltabs.h>

Inheritance diagram for ControlTabs:
Inheritance graph
[legend]
Collaboration diagram for ControlTabs:
Collaboration graph
[legend]

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)
 
Controlcontrol (int index)
 
Controlcontrol (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
RELACSWidgetRW
 

Detailed Description

Container organizing Control plugins.

Author
Jan Benda

Constructor & Destructor Documentation

ControlTabs ( RELACSWidget rw,
QWidget *  parent = 0 
)
~ControlTabs ( void  )

Member Function Documentation

void createControls ( void  )
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().

void assignTracesEvents ( const InList il,
const EventList el 
)

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().

Control * control ( const string &  name)

Return the control with name name.

References name.

void keyPressEvent ( QKeyEvent *  event)
protected
void keyReleaseEvent ( QKeyEvent *  event)
protected

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