v2.0.0
Loading...
Searching...
No Matches
lsl_stream_discovery.h
Go to the documentation of this file.
1//=============================================================================================================
32
33#ifndef LSL_STREAM_DISCOVERY_H
34#define LSL_STREAM_DISCOVERY_H
35
36//=============================================================================================================
37// INCLUDES
38//=============================================================================================================
39
40#include "lsl_global.h"
41#include "lsl_stream_info.h"
42
43//=============================================================================================================
44// STL INCLUDES
45//=============================================================================================================
46
47#include <vector>
48#include <string>
49
50//=============================================================================================================
51// DEFINE NAMESPACE LSLLIB
52//=============================================================================================================
53
54namespace LSLLIB {
55
56//=============================================================================================================
66LSLSHARED_EXPORT std::vector<stream_info> resolve_streams(double timeout = 1.0);
67
68//=============================================================================================================
80LSLSHARED_EXPORT std::vector<stream_info> resolve_stream(const std::string& prop,
81 const std::string& value,
82 double timeout = 1.0);
83
84} // namespace LSLLIB
85
86#endif // LSL_STREAM_DISCOVERY_H
Declares stream_info, the LSL metadata descriptor that identifies and routes a stream on the network.
LSLLIB shared-library export macro and build-stamp accessors used by every public LSL symbol.
#define LSLSHARED_EXPORT
Definition lsl_global.h:51
Lab Streaming Layer (LSL) integration for real-time data exchange.
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.