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 |
| 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 75 of file lsl_stream_inlet.cpp.
|
inline |
Close the TCP connection.
Definition at line 152 of file lsl_stream_inlet.cpp.
|
inline |
Open a TCP connection to the stream outlet.
Definition at line 84 of file lsl_stream_inlet.cpp.
|
inline |
Extract all complete samples from the byte buffer as a chunk.
Definition at line 196 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 174 of file lsl_stream_inlet.cpp.
| bool LSLLIB::StreamInletPrivate::m_bIsOpen |
Whether the stream is currently open.
Definition at line 235 of file lsl_stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iBytesPerSample |
Bytes per sample (channels * sizeof(float)).
Definition at line 237 of file lsl_stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iChannelCount |
Number of channels.
Definition at line 236 of file lsl_stream_inlet.cpp.
| stream_info LSLLIB::StreamInletPrivate::m_info |
The stream info for this inlet.
Definition at line 233 of file lsl_stream_inlet.cpp.
| QTcpSocket* LSLLIB::StreamInletPrivate::m_pSocket |
TCP socket for data reception.
Definition at line 234 of file lsl_stream_inlet.cpp.
| QByteArray LSLLIB::StreamInletPrivate::m_rawBuffer |
Raw byte buffer for incoming TCP data.
Definition at line 238 of file lsl_stream_inlet.cpp.