Copies FIFF recordings into a shared directory and signals their arrival to a watching consumer. More...
#include <fiff_file_sharer.h>
Signals | |
| void | newFileAtPath (const QString &sPath) |
Public Member Functions | |
| FiffFileSharer () | |
| FiffFileSharer (const QString &sDirName) | |
| void | copyRealtimeFile (const QString &sSourcePath) |
| void | initWatcher () |
Copies FIFF recordings into a shared directory and signals their arrival to a watching consumer.
Definition at line 46 of file fiff_file_sharer.h.

| FiffFileSharer::FiffFileSharer | ( | ) |
Constructs a FiffFileSharer with default paramaters (based on m_sDefaultDirectory and m_sDefaultFileName)
Definition at line 46 of file fiff_file_sharer.cpp.
| FiffFileSharer::FiffFileSharer | ( | const QString & | sDirName | ) |
Constructs a FiffFileSharer to watch/save to sDirName
| [in] | sDirName | Directory to/from which data will saved/read |
Definition at line 53 of file fiff_file_sharer.cpp.
| void FiffFileSharer::copyRealtimeFile | ( | const QString & | sSourcePath | ) |
Copies an unfinished FIFF file into the shared directory and closes its raw block; the copy appears there only once it is complete
| [in] | sSourcePath | source file to ber copied |
Definition at line 61 of file fiff_file_sharer.cpp.
| void FiffFileSharer::initWatcher | ( | ) |
Sets member QFileSystemWatcher to watch set directory
Definition at line 86 of file fiff_file_sharer.cpp.
|
signal |
Emits path of new shared fiff file.
| [in] | sPath | Path of new shared fiff file. |