SpikeStream Application Library  0.2
spikestream::AbstractExperimentWidget Class Reference

#include <AbstractExperimentWidget.h>

List of all members.

Signals

void experimentStarted ()
void experimentEnded ()

Public Member Functions

 AbstractExperimentWidget (QWidget *parent=0)
virtual ~AbstractExperimentWidget ()
virtual void setWrapper (void *wrapper)=0

Protected Slots

void parametersButtonClicked ()
virtual void startExperiment ()=0
virtual void stopExperiment ()=0

Protected Member Functions

virtual void buildParameters ()=0
QToolBar * getToolBar ()

Protected Attributes

QAction * playAction
QAction * stopAction
QPushButton * parametersButton
QHash< QString, double > parameterMap
QHash< QString, double > defaultParameterMap
QList< ParameterInfo > parameterInfoList

Detailed Description

Definition at line 15 of file AbstractExperimentWidget.h.


Constructor & Destructor Documentation

Constructor

Definition at line 9 of file AbstractExperimentWidget.cpp.

Destructor

Definition at line 15 of file AbstractExperimentWidget.cpp.


Member Function Documentation

virtual void spikestream::AbstractExperimentWidget::buildParameters ( ) [protected, pure virtual]
QToolBar * AbstractExperimentWidget::getToolBar ( ) [protected]

Builds the toolbar for the widget

Definition at line 24 of file AbstractExperimentWidget.cpp.

Called when the parameters button is clicked. Sets the parameters.

Definition at line 51 of file AbstractExperimentWidget.cpp.

virtual void spikestream::AbstractExperimentWidget::setWrapper ( void *  wrapper) [pure virtual]
virtual void spikestream::AbstractExperimentWidget::startExperiment ( ) [protected, pure virtual, slot]
virtual void spikestream::AbstractExperimentWidget::stopExperiment ( ) [protected, pure virtual, slot]

Member Data Documentation

Default arameters for the experiment

Definition at line 50 of file AbstractExperimentWidget.h.

Meta information about the parameters fro the experiment.

Definition at line 53 of file AbstractExperimentWidget.h.

QHash<QString, double> spikestream::AbstractExperimentWidget::parameterMap [protected]

Current parameters for the experiment

Definition at line 47 of file AbstractExperimentWidget.h.

Button to set parameters

Definition at line 44 of file AbstractExperimentWidget.h.

Action to start experiment

Definition at line 38 of file AbstractExperimentWidget.h.

Action to stop experiment.

Definition at line 41 of file AbstractExperimentWidget.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines