Public Member Functions | Private Attributes
rsimpl::small_heap< T, C > Class Template Reference

#include <types.h>

List of all members.

Public Member Functions

T * allocate ()
void deallocate (T *item)
 small_heap ()
void stop_allocation ()
void wait_until_empty ()

Private Attributes

buffer [C]
std::condition_variable cv
bool is_free [C]
bool keep_allocating = true
std::mutex mutex
int size = 0

Detailed Description

template<class T, int C>
class rsimpl::small_heap< T, C >

Definition at line 496 of file types.h.


Constructor & Destructor Documentation

template<class T, int C>
rsimpl::small_heap< T, C >::small_heap ( ) [inline]

Definition at line 506 of file types.h.


Member Function Documentation

template<class T, int C>
T* rsimpl::small_heap< T, C >::allocate ( ) [inline]

Definition at line 515 of file types.h.

template<class T, int C>
void rsimpl::small_heap< T, C >::deallocate ( T *  item) [inline]

Definition at line 532 of file types.h.

template<class T, int C>
void rsimpl::small_heap< T, C >::stop_allocation ( ) [inline]

Definition at line 555 of file types.h.

template<class T, int C>
void rsimpl::small_heap< T, C >::wait_until_empty ( ) [inline]

Definition at line 561 of file types.h.


Member Data Documentation

template<class T, int C>
T rsimpl::small_heap< T, C >::buffer[C] [private]

Definition at line 498 of file types.h.

template<class T, int C>
std::condition_variable rsimpl::small_heap< T, C >::cv [private]

Definition at line 502 of file types.h.

template<class T, int C>
bool rsimpl::small_heap< T, C >::is_free[C] [private]

Definition at line 499 of file types.h.

template<class T, int C>
bool rsimpl::small_heap< T, C >::keep_allocating = true [private]

Definition at line 501 of file types.h.

template<class T, int C>
std::mutex rsimpl::small_heap< T, C >::mutex [private]

Definition at line 500 of file types.h.

template<class T, int C>
int rsimpl::small_heap< T, C >::size = 0 [private]

Definition at line 503 of file types.h.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41