SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Public Attributes | List of all members
leansdr::pipereader< T > Struct Template Reference

#include <framework.h>

Public Member Functions

 pipereader (pipebuf< T > &_buf)
 
long readable ()
 
T * rd ()
 
void read (unsigned long n)
 

Public Attributes

pipebuf< T > & buf
 
int id
 

Detailed Description

template<typename T>
struct leansdr::pipereader< T >

Definition at line 348 of file framework.h.

Constructor & Destructor Documentation

◆ pipereader()

template<typename T>
leansdr::pipereader< T >::pipereader ( pipebuf< T > &  _buf)
inline

Definition at line 353 of file framework.h.

353  : buf(_buf), id(_buf.add_reader())
354  {
355  }
pipebuf< T > & buf
Definition: framework.h:350

Member Function Documentation

◆ rd()

template<typename T>
T* leansdr::pipereader< T >::rd ( )
inline

◆ read()

template<typename T>
void leansdr::pipereader< T >::read ( unsigned long  n)
inline

◆ readable()

template<typename T>
long leansdr::pipereader< T >::readable ( )
inline

Member Data Documentation

◆ buf

template<typename T>
pipebuf<T>& leansdr::pipereader< T >::buf

Definition at line 350 of file framework.h.

◆ id

template<typename T>
int leansdr::pipereader< T >::id

Definition at line 351 of file framework.h.


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