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 70 of file stream_inlet.cpp.
|
inline |
Definition at line 73 of file stream_inlet.cpp.
|
inline |
Definition at line 82 of file stream_inlet.cpp.
|
inline |
Close the TCP connection.
Definition at line 159 of file stream_inlet.cpp.
|
inline |
Open a TCP connection to the stream outlet.
Definition at line 91 of file stream_inlet.cpp.
|
inline |
Extract all complete samples from the byte buffer as a chunk.
Definition at line 203 of file stream_inlet.cpp.
|
inline |
Try to read pending data from the TCP socket into the raw byte buffer (non-blocking).
Definition at line 181 of file stream_inlet.cpp.
| bool LSLLIB::StreamInletPrivate::m_bIsOpen |
Whether the stream is currently open.
Definition at line 242 of file stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iBytesPerSample |
Bytes per sample (channels * sizeof(float)).
Definition at line 244 of file stream_inlet.cpp.
| int LSLLIB::StreamInletPrivate::m_iChannelCount |
Number of channels.
Definition at line 243 of file stream_inlet.cpp.
| stream_info LSLLIB::StreamInletPrivate::m_info |
The stream info for this inlet.
Definition at line 240 of file stream_inlet.cpp.
| QTcpSocket* LSLLIB::StreamInletPrivate::m_pSocket |
TCP socket for data reception.
Definition at line 241 of file stream_inlet.cpp.
| QByteArray LSLLIB::StreamInletPrivate::m_rawBuffer |
Raw byte buffer for incoming TCP data.
Definition at line 245 of file stream_inlet.cpp.