Umbrella include header that exposes the full LSLLIB public surface in a single import. More...
#include "lsl_global.h"#include "lsl_stream_info.h"#include "lsl_stream_outlet.h"#include "lsl_stream_inlet.h"#include "lsl_stream_discovery.h"
Go to the source code of this file.
Umbrella include header that exposes the full LSLLIB public surface in a single import.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
LSLLIB is mne-cpp's in-tree, Qt-based reimplementation of the Lab Streaming Layer (LSL) client API. It is designed as an ABI- and source-compatible drop-in replacement for the public subset of liblsl's lsl_cpp.h header, so acquisition plug-ins and analysis tools can talk to any LSL-speaking device on the network without pulling the external liblsl dependency into the build.
Including this header transitively pulls in the four public components that together cover the round-trip data path: LSLLIB::stream_info for describing a stream's content type, channel layout and sampling rate; LSLLIB::stream_outlet for publishing samples over TCP while advertising the stream via UDP multicast; LSLLIB::stream_inlet for connecting to a resolved outlet and pulling chunks of multichannel float samples; and the resolve_streams / resolve_stream free functions in lsl_stream_discovery.h for enumerating outlets currently visible on the LAN. Downstream code should depend on this single header rather than the individual component headers so that the public surface remains coherent as the library evolves.
Definition in file lsl.h.