MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Signals | Public Member Functions | Protected Attributes | List of all members
DISPLIB::AbstractView Class Referenceabstract

The AbstractView class provides the base calss for all Disp viewers. More...

#include <abstractview.h>

Public Types

enum  StyleMode { Default, Dark }
 
enum  GuiMode { Clinical, Research }
 
enum  ProcessingMode { RealTime, Offline }
 
typedef QSharedPointer< AbstractViewSPtr
 
typedef QSharedPointer< const AbstractViewConstSPtr
 

Signals

void guiStyleChanged (DISPLIB::AbstractView::StyleMode style)
 

Public Member Functions

 AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
virtual void setGuiMode (GuiMode mode)
 
virtual void setProcessingMode (ProcessingMode mode)
 
virtual void saveSettings ()=0
 
virtual void loadSettings ()=0
 
virtual void updateGuiMode (GuiMode mode)=0
 
virtual void updateProcessingMode (ProcessingMode mode)=0
 
virtual void clearView ()=0
 

Protected Attributes

bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Detailed Description

The AbstractView class provides the base calss for all Disp viewers.

DECLARE CLASS AbstractView

Definition at line 75 of file abstractview.h.

Inheritance diagram for DISPLIB::AbstractView:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const AbstractView> DISPLIB::AbstractView::ConstSPtr

Const shared pointer type for AbstractView.

Definition at line 81 of file abstractview.h.

◆ SPtr

typedef QSharedPointer<AbstractView> DISPLIB::AbstractView::SPtr

Shared pointer type for AbstractView.

Definition at line 80 of file abstractview.h.

Constructor & Destructor Documentation

◆ AbstractView()

AbstractView::AbstractView ( QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)

Constructs a AbstractView which is a child of parent.

Parameters
[in]parentparent of widget.

Definition at line 60 of file abstractview.cpp.

Member Function Documentation

◆ clearView()

virtual void DISPLIB::AbstractView::clearView ( )
pure virtual

◆ guiStyleChanged

void DISPLIB::AbstractView::guiStyleChanged ( DISPLIB::AbstractView::StyleMode  style)
signal

Signal emited whenever the gui style mode changes.

◆ loadSettings()

virtual void DISPLIB::AbstractView::loadSettings ( )
pure virtual

◆ saveSettings()

virtual void DISPLIB::AbstractView::saveSettings ( )
pure virtual

◆ setGuiMode()

void AbstractView::setGuiMode ( GuiMode  mode)
virtual

Sets the GUI of this view to a specific mode. Clinical = 0, Research = 0.

Parameters
modeThe new mode.

Definition at line 68 of file abstractview.cpp.

◆ setProcessingMode()

void AbstractView::setProcessingMode ( ProcessingMode  mode)
virtual

Sets the GUI of this view to a specific mode. RealTime = 0, Offline = 0.

Parameters
modeThe new mode.

Definition at line 75 of file abstractview.cpp.

◆ updateGuiMode()

virtual void DISPLIB::AbstractView::updateGuiMode ( GuiMode  mode)
pure virtual

◆ updateProcessingMode()

virtual void DISPLIB::AbstractView::updateProcessingMode ( ProcessingMode  mode)
pure virtual

Member Data Documentation

◆ m_bOfflineModeIsActive

bool DISPLIB::AbstractView::m_bOfflineModeIsActive
protected

The flag describing whether offline mode of the view is active or not.

Definition at line 167 of file abstractview.h.

◆ m_bResearchModeIsActive

bool DISPLIB::AbstractView::m_bResearchModeIsActive
protected

The flag describing whether the research mode of the view is active or not.

Definition at line 166 of file abstractview.h.

◆ m_sSettingsPath

QString DISPLIB::AbstractView::m_sSettingsPath
protected

The settings path to store the GUI settings to.

Definition at line 169 of file abstractview.h.


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