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

Translation unit for COMLIB::RtClient: the worker-thread loop that pulls raw buffers from mne_rt_server. More...

#include "rt_client.h"
#include "rt_cmd_client.h"
#include "rt_data_client.h"
Include dependency graph for rt_client.cpp:

Go to the source code of this file.

Detailed Description

Translation unit for COMLIB::RtClient: the worker-thread loop that pulls raw buffers from mne_rt_server.

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 initial handshake (alias registration on the command port, client-id propagation to the data port, FiffInfo retrieval, buffer-size negotiation) and the steady-state run() loop that dequeues sample matrices from RtDataClient and re-emits them on rawBufferReceived. Stop/start state is coordinated through m_bIsRunning and m_bIsConnected under mutex so the owning thread can request shutdown without racing the network reader.

Definition in file rt_client.cpp.