v2.0.0
Loading...
Searching...
No Matches
rt_data_client.cpp File Reference

Translation unit for COMLIB::RtDataClient: FIFF-tag parsing on the mne_rt_server data port (4218). More...

#include "rt_data_client.h"
#include <fiff/fiff_file.h>
Include dependency graph for rt_data_client.cpp:

Go to the source code of this file.

Detailed Description

Translation unit for COMLIB::RtDataClient: FIFF-tag parsing on the mne_rt_server data port (4218).

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

Implements the three reads the rest of COMLIB depends on: getClientId() exchanges a small FIFF block to obtain the server-assigned routing handle, readInfo() / readMetadata() stream the measurement header (and optional digitiser block) through FIFFLIB::FiffStream, and readRawBuffer() blocks until the next sample frame arrives, reshaping the payload into an Eigen::MatrixXf and reporting the tag kind so callers can distinguish data buffers from block-control markers.

Definition in file rt_data_client.cpp.