v2.0.0
Loading...
Searching...
No Matches
LSLLIB::StreamOutletPrivate Class Reference

Public Member Functions

 StreamOutletPrivate (const stream_info &info)
 ~StreamOutletPrivate ()
void start ()
void stop ()
void enqueueSample (const std::vector< float > &sample)
void enqueueChunk (const std::vector< std::vector< float > > &chunk)
stream_info info () const
bool haveConsumers () const

Detailed Description

Definition at line 91 of file stream_outlet.cpp.

Constructor & Destructor Documentation

◆ StreamOutletPrivate()

LSLLIB::StreamOutletPrivate::StreamOutletPrivate ( const stream_info & info)
inline

Definition at line 94 of file stream_outlet.cpp.

◆ ~StreamOutletPrivate()

LSLLIB::StreamOutletPrivate::~StreamOutletPrivate ( )
inline

Definition at line 100 of file stream_outlet.cpp.

Member Function Documentation

◆ enqueueChunk()

void LSLLIB::StreamOutletPrivate::enqueueChunk ( const std::vector< std::vector< float > > & chunk)
inline

Enqueue a chunk of samples for transmission.

Definition at line 141 of file stream_outlet.cpp.

◆ enqueueSample()

void LSLLIB::StreamOutletPrivate::enqueueSample ( const std::vector< float > & sample)
inline

Enqueue a single sample for transmission to connected inlets.

Definition at line 131 of file stream_outlet.cpp.

◆ haveConsumers()

bool LSLLIB::StreamOutletPrivate::haveConsumers ( ) const
inline

Check if any inlets are connected.

Definition at line 162 of file stream_outlet.cpp.

◆ info()

stream_info LSLLIB::StreamOutletPrivate::info ( ) const
inline

Get the stream_info with updated data port.

Definition at line 153 of file stream_outlet.cpp.

◆ start()

void LSLLIB::StreamOutletPrivate::start ( )
inline

Start the background thread (TCP server + UDP broadcast).

Definition at line 109 of file stream_outlet.cpp.

◆ stop()

void LSLLIB::StreamOutletPrivate::stop ( )
inline

Stop the background thread and clean up all network resources.

Definition at line 119 of file stream_outlet.cpp.


The documentation for this class was generated from the following file: