Lab Streaming Layer (LSL) integration for real-time data exchange. More...
Classes | |
| class | stream_info |
| Value-type descriptor of a single LSL stream: semantic metadata plus transport endpoint, API-compatible with liblsl's stream_info. More... | |
| class | StreamInletPrivate |
| class | stream_inlet |
| Client-side LSL endpoint: connects to a resolved outlet over TCP and exposes pulled samples as float chunks. More... | |
| class | StreamOutletPrivate |
| class | stream_outlet |
| Server-side LSL endpoint: binds a TCP data server, advertises the stream on the LSL discovery multicast group, and fans samples out to every connected inlet. More... | |
Enumerations | |
| enum class | ChannelFormat : int { Undefined = 0 , Float32 = 1 , Double64 = 2 , String = 3 , Int32 = 4 , Int16 = 5 , Int8 = 6 , Int64 = 7 } |
Functions | |
| const char * | buildDateTime () |
| const char * | buildHash () |
| const char * | buildHashLong () |
| std::vector< stream_info > | resolve_streams (double timeout=1.0) |
| Resolve all streams currently available on the network. | |
| std::vector< stream_info > | resolve_stream (const std::string &prop, const std::string &value, double timeout=1.0) |
| Resolve streams by a specific property value. | |
Lab Streaming Layer (LSL) integration for real-time data exchange.
|
strong |
Data format of a channel (mirroring the values used in the original LSL protocol).
Definition at line 59 of file lsl_stream_info.h.
| const char * LSLLIB::buildDateTime | ( | ) |
Returns build date and time.
Definition at line 32 of file lsl_global.cpp.
| const char * LSLLIB::buildHash | ( | ) |
Returns abbreviated build git hash.
Definition at line 36 of file lsl_global.cpp.
| const char * LSLLIB::buildHashLong | ( | ) |
Returns full build git hash.
Definition at line 40 of file lsl_global.cpp.
| std::vector< LSLLIB::stream_info > LSLLIB::resolve_stream | ( | const std::string & | prop, |
| const std::string & | value, | ||
| double | timeout = 1.0 ) |
Resolve streams by a specific property value.
Listens on the UDP multicast discovery channel and returns only streams whose specified property matches the given value.
| [in] | prop | The stream property to match (e.g. "name", "type", "source_id"). |
| [in] | value | The value that the property must have. |
| [in] | timeout | Duration (in seconds) to listen for stream announcements. Default: 1.0. |
Definition at line 149 of file lsl_stream_discovery.cpp.
| std::vector< LSLLIB::stream_info > LSLLIB::resolve_streams | ( | double | timeout = 1.0 | ) |
Resolve all streams currently available on the network.
Listens on the UDP multicast discovery channel for stream announcements from outlets. This call blocks for the specified timeout duration while collecting results.
| [in] | timeout | Duration (in seconds) to listen for stream announcements. Default: 1.0. |
Definition at line 68 of file lsl_stream_discovery.cpp.