MNE-CPP  0.1.9
A Framework for Electrophysiology
Signals | Public Member Functions | List of all members
FIFFLIB::FiffFileSharer Class Reference

#include <fifffilesharer.h>

Signals

void newFileAtPath (const QString &sPath)
 

Public Member Functions

 FiffFileSharer ()
 
 FiffFileSharer (const QString &sDirName)
 
void copyRealtimeFile (const QString &sSourcePath)
 
void initWatcher ()
 

Detailed Description

FiffFileSharer provides a way to share fiff files while they are being saved in real time

Definition at line 61 of file fifffilesharer.h.

Inheritance diagram for FIFFLIB::FiffFileSharer:
Inheritance graph

Constructor & Destructor Documentation

◆ FiffFileSharer() [1/2]

FiffFileSharer::FiffFileSharer ( )

Constructs a FiffFileSharer with default paramaters (based on m_sDefaultDirectory and m_sDefaultFileName)

Definition at line 64 of file fifffilesharer.cpp.

◆ FiffFileSharer() [2/2]

FiffFileSharer::FiffFileSharer ( const QString &  sDirName)

Constructs a FiffFileSharer to watch/save to sDirName

Parameters
[in]sDirNameDirectory to/from which data will saved/read

Definition at line 71 of file fifffilesharer.cpp.

Member Function Documentation

◆ copyRealtimeFile()

void FiffFileSharer::copyRealtimeFile ( const QString &  sSourcePath)

Copies unfinished fiff file to set directory and appends relevant end tags to copy

Parameters
[in]sSourcePathsource file to ber copied

Definition at line 79 of file fifffilesharer.cpp.

◆ initWatcher()

void FiffFileSharer::initWatcher ( )

Sets member QFileSystemWatcher to watch set directory

Definition at line 99 of file fifffilesharer.cpp.

◆ newFileAtPath

void FIFFLIB::FiffFileSharer::newFileAtPath ( const QString &  sPath)
signal

Emits path of new shared fiff file.

Parameters
[in]sPathPath of new shared fiff file.

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