Embedded Template Library  1.0
etl::buffer_descriptors< TBuffer, BUFFER_SIZE_, N_BUFFERS_, TFlag > Class Template Reference

buffer_descriptors More...

#include <buffer_descriptors.h>

Classes

class  descriptor
 Describes a buffer. More...
 
class  notification
 Describes a notification. More...
 

Public Types

typedef TBuffer value_type
 
typedef value_type * pointer
 
typedef size_t size_type
 
typedef TFlag flag_type
 
typedef etl::delegate< void(notification)> callback_type
 

Public Member Functions

 buffer_descriptors (TBuffer *pbuffers_, callback_type callback_=callback_type())
 
void set_callback (const callback_type &callback_)
 
void clear ()
 
ETL_NODISCARD bool is_valid () const
 
void notify (notification n)
 
ETL_NODISCARD descriptor allocate ()
 
ETL_NODISCARD descriptor allocate (value_type fill_)
 

Static Public Attributes

static ETL_CONSTANT size_type N_BUFFERS = N_BUFFERS_
 
static ETL_CONSTANT size_type BUFFER_SIZE = BUFFER_SIZE_
 

Detailed Description

template<typename TBuffer, size_t BUFFER_SIZE_, size_t N_BUFFERS_, typename TFlag = bool>
class etl::buffer_descriptors< TBuffer, BUFFER_SIZE_, N_BUFFERS_, TFlag >

buffer_descriptors


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