OpenCPN Partial API docs
Loading...
Searching...
No Matches
circular_buffer< T > Class Template Reference

Public Member Functions

 circular_buffer (size_t size)
 
void reset ()
 
size_t capacity () const
 
size_t size () const
 
bool empty () const
 
bool full () const
 
void put (T item)
 
get ()
 
 circular_buffer (size_t size)
 
void reset ()
 
size_t capacity () const
 
size_t size () const
 
bool empty () const
 
bool full () const
 
void put (T item)
 
get ()
 
 circular_buffer (size_t size)
 
void reset ()
 
size_t capacity () const
 
size_t size () const
 
bool empty () const
 
bool full () const
 
void put (T item)
 
get ()
 
 circular_buffer (size_t size)
 
void reset ()
 
size_t capacity () const
 
size_t size () const
 
bool empty () const
 
bool full () const
 
void put (unsigned char item)
 
unsigned char get ()
 

Detailed Description

template<class T>
class circular_buffer< T >

Definition at line 123 of file comm_drv_n0183_android_bt.cpp.

Constructor & Destructor Documentation

◆ circular_buffer() [1/3]

template<class T >
circular_buffer< T >::circular_buffer ( size_t  size)
inlineexplicit

Definition at line 125 of file comm_drv_n0183_android_bt.cpp.

◆ circular_buffer() [2/3]

template<class T >
circular_buffer< T >::circular_buffer ( size_t  size)
inlineexplicit

Definition at line 125 of file comm_drv_n0183_android_int.cpp.

◆ circular_buffer() [3/3]

template<class T >
circular_buffer< T >::circular_buffer ( size_t  size)
inlineexplicit

Definition at line 83 of file comm_drv_n2k_serial.cpp.

Member Function Documentation

◆ empty() [1/3]

template<class T >
bool circular_buffer< T >::empty ( ) const
inline

Definition at line 132 of file comm_drv_n0183_android_bt.cpp.

◆ empty() [2/3]

template<class T >
bool circular_buffer< T >::empty ( ) const
inline

Definition at line 132 of file comm_drv_n0183_android_int.cpp.

◆ empty() [3/3]

template<class T >
bool circular_buffer< T >::empty ( ) const
inline

Definition at line 90 of file comm_drv_n2k_serial.cpp.

◆ full() [1/3]

template<class T >
bool circular_buffer< T >::full ( ) const
inline

Definition at line 137 of file comm_drv_n0183_android_bt.cpp.

◆ full() [2/3]

template<class T >
bool circular_buffer< T >::full ( ) const
inline

Definition at line 137 of file comm_drv_n0183_android_int.cpp.

◆ full() [3/3]

template<class T >
bool circular_buffer< T >::full ( ) const
inline

Definition at line 95 of file comm_drv_n2k_serial.cpp.

◆ get() [1/3]

template<class T >
unsigned char circular_buffer< T >::get ( )
inline

Definition at line 152 of file comm_drv_n0183_android_bt.cpp.

◆ get() [2/3]

template<class T >
T circular_buffer< T >::get ( )
inline

Definition at line 152 of file comm_drv_n0183_android_int.cpp.

◆ get() [3/3]

template<class T >
T circular_buffer< T >::get ( )
inline

Definition at line 110 of file comm_drv_n2k_serial.cpp.

◆ put() [1/4]

template<class T >
void circular_buffer< T >::put ( item)
inline

Definition at line 142 of file comm_drv_n0183_android_bt.cpp.

◆ put() [2/4]

template<class T >
void circular_buffer< T >::put ( item)
inline

Definition at line 142 of file comm_drv_n0183_android_int.cpp.

◆ put() [3/4]

template<class T >
void circular_buffer< T >::put ( item)
inline

Definition at line 100 of file comm_drv_n2k_serial.cpp.

◆ put() [4/4]

template<class T >
void circular_buffer< T >::put ( unsigned char  item)

Definition at line 109 of file comm_drv_n2k_net.cpp.


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