Lab Streaming Layer (LSL) integration for real-time data exchange. More...
Classes | |
| class | stream_info |
| Describes a particular stream on the network. More... | |
| class | StreamInletPrivate |
| class | stream_inlet |
| A stream inlet to receive data from a stream_outlet on the network. More... | |
| class | StreamOutletPrivate |
| class | stream_outlet |
| A stream outlet to publish data on the network. More... | |
Enumerations | |
| enum | channel_format_t { cf_undefined = 0 , cf_float32 = 1 , cf_double64 = 2 , cf_string = 3 , cf_int32 = 4 , cf_int16 = 5 , cf_int8 = 6 , cf_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.
Data format of a channel (mirroring the values used in the original LSL protocol).
Definition at line 60 of file stream_info.h.
| const char * LSLLIB::buildDateTime | ( | ) |
Returns build date and time.
Definition at line 45 of file lsl_global.cpp.
| const char * LSLLIB::buildHash | ( | ) |
Returns abbreviated build git hash.
Definition at line 49 of file lsl_global.cpp.
| const char * LSLLIB::buildHashLong | ( | ) |
Returns full build git hash.
Definition at line 53 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 151 of file 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 70 of file stream_discovery.cpp.