MNE-CPP
beta 0.1
|
The ProgressBar class is the base class of every ProgressBar Measurement. More...
#include <progressbar.h>
Public Types | |
typedef QSharedPointer < ProgressBar > | SPtr |
typedef QSharedPointer< const ProgressBar > | ConstSPtr |
![]() | |
typedef QSharedPointer < SngChnMeasurement > | SPtr |
typedef QSharedPointer< const SngChnMeasurement > | ConstSPtr |
![]() | |
typedef QSharedPointer < Measurement > | SPtr |
typedef QSharedPointer< const Measurement > | ConstSPtr |
![]() | |
typedef QSharedPointer< Subject > | SPtr |
typedef QSharedPointer< const Subject > | ConstSPtr |
typedef QSet< IObserver * > | t_Observers |
Public Member Functions | |
ProgressBar () | |
virtual | ~ProgressBar () |
void | setMinScale (int iMin) |
int | getMinScale () const |
void | setMaxScale (int iMax) |
int | getMaxScale () const |
void | setValue (double v) |
virtual double | getValue () const |
![]() | |
SngChnMeasurement () | |
virtual | ~SngChnMeasurement () |
virtual bool | isSingleChannel () const |
![]() | |
Measurement () | |
virtual | ~Measurement () |
void | setName (const QString &name) |
QString | getName () const |
void | setVisibility (bool visibility) |
bool | isVisible () const |
![]() | |
virtual | ~Subject () |
void | attach (IObserver *pObserver) |
void | detach (IObserver *pObserver) |
void | notify () |
t_Observers & | observers () |
int | observerNumDebug () |
Additional Inherited Members | |
![]() | |
static bool | notifyEnabled = true |
![]() | |
Subject () | |
The ProgressBar class is the base class of every ProgressBar Measurement.
DECLARE CLASS ProgressBar
Definition at line 71 of file progressbar.h.
typedef QSharedPointer<const ProgressBar> XMEASLIB::ProgressBar::ConstSPtr |
Const shared pointer type for ProgressBar.
Definition at line 75 of file progressbar.h.
typedef QSharedPointer<ProgressBar> XMEASLIB::ProgressBar::SPtr |
Shared pointer type for ProgressBar.
Definition at line 74 of file progressbar.h.
ProgressBar::ProgressBar | ( | ) |
Constructs a ProgressBar.
Definition at line 57 of file progressbar.cpp.
|
virtual |
Destroys the ProgressBar.
Definition at line 70 of file progressbar.cpp.
|
inline |
|
inline |
|
inlinevirtual |
Returns the current value. This method is inherited by Measurement.
Implements XMEASLIB::SngChnMeasurement.
Definition at line 179 of file progressbar.h.
|
inline |
Sets the maximal value. If value to set is bigger, current value is set to maximal value.
[in] | iMax | maximal value. |
Definition at line 163 of file progressbar.h.
|
inline |
Sets the minimal value. If current value to set is smaller, current value is set to minimal value.
[in] | iMin | minimal value. |
Definition at line 147 of file progressbar.h.
|
virtual |
Sets a value and notify() all attached observers. This Method is inherited by Measurement.
[in] | v | the value which is set to the ProgressBar measurement. |
Implements XMEASLIB::SngChnMeasurement.
Definition at line 78 of file progressbar.cpp.