Public Member Functions | |
| StreamInletPrivate (const stream_info &info) | |
| ~StreamInletPrivate () | |
| void | openStream () |
| void | closeStream () |
| bool | readPending () |
| std::vector< std::vector< float > > | pullChunkFloat () |
Public Attributes | |
| stream_info | m_info |
| std::unique_ptr< QTcpSocket > | m_pSocket |
| bool | m_bIsOpen |
| int | m_iChannelCount |
| int | m_iBytesPerSample |
| QByteArray | m_rawBuffer |
Definition at line 63 of file lsl_stream_inlet.cpp.
|
inline |
Definition at line 66 of file lsl_stream_inlet.cpp.
|
inline |
Definition at line 74 of file lsl_stream_inlet.cpp.
|
inline |
Close the TCP connection.
Definition at line 146 of file lsl_stream_inlet.cpp.
|
inline |
Open a TCP connection to the stream outlet.
Definition at line 83 of file lsl_stream_inlet.cpp.
|
inline |
Extract all complete samples from the byte buffer as a chunk.
Definition at line 189 of file lsl_stream_inlet.cpp.
|
inline |
Try to read pending data from the TCP socket into the raw byte buffer (non-blocking).
Definition at line 167 of file lsl_stream_inlet.cpp.
| bool LSLLIB::StreamInletPrivate::m_bIsOpen |
Whether the stream is currently open.
Definition at line 228 of file lsl_stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iBytesPerSample |
Bytes per sample (channels * sizeof(float)).
Definition at line 230 of file lsl_stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iChannelCount |
Number of channels.
Definition at line 229 of file lsl_stream_inlet.cpp.
| stream_info LSLLIB::StreamInletPrivate::m_info |
The stream info for this inlet.
Definition at line 226 of file lsl_stream_inlet.cpp.
| std::unique_ptr<QTcpSocket> LSLLIB::StreamInletPrivate::m_pSocket |
TCP socket for data reception.
Definition at line 227 of file lsl_stream_inlet.cpp.
| QByteArray LSLLIB::StreamInletPrivate::m_rawBuffer |
Raw byte buffer for incoming TCP data.
Definition at line 231 of file lsl_stream_inlet.cpp.