Hands finished FIFF recordings from one application to another through a watched directory. More...


Go to the source code of this file.
Classes | |
| class | FIFFLIB::FiffFileSharer |
| Copies FIFF recordings into a shared directory and signals their arrival to a watching consumer. More... | |
Namespaces | |
| namespace | FIFFLIB |
| FIFF file I/O, in-memory data structures and high-level readers/writers. | |
Hands finished FIFF recordings from one application to another through a watched directory.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
The producer (e.g. MNE Scan's file writer) calls FIFFLIB::FiffFileSharer::copyRealtimeFile, which copies a recording into the shared directory as realtime_file<N>_raw.fif and closes its raw block so it is a complete FIFF file. The consumer (e.g. MNE Analyze) calls FIFFLIB::FiffFileSharer::initWatcher and receives newFileAtPath once the next file has been written.
Definition in file fiff_file_sharer.h.