#include <queue_memcpy.h>
Public Member Functions | |
char | flush (void) |
char | get (void *data) |
int | is_full (void) |
long | node_size (void) |
char | pop (void *data) |
char | push (void *data) |
QueueMemcpy (long n, long n_size) | |
long | size (void) |
~QueueMemcpy (void) | |
Private Attributes | |
long | annode_size_ |
char * | buf_ |
long | cnt_ |
long | head_ |
std::mutex | mutex_ |
long | tail_ |
long | total_ |
Definition at line 12 of file queue_memcpy.h.
QueueMemcpy::QueueMemcpy | ( | long | n, |
long | n_size | ||
) |
Definition at line 12 of file queue_memcpy.cc.
QueueMemcpy::~QueueMemcpy | ( | void | ) |
Definition at line 19 of file queue_memcpy.cc.
char QueueMemcpy::flush | ( | void | ) |
Definition at line 21 of file queue_memcpy.cc.
char QueueMemcpy::get | ( | void * | data | ) |
Definition at line 54 of file queue_memcpy.cc.
int QueueMemcpy::is_full | ( | void | ) |
Definition at line 32 of file queue_memcpy.cc.
long QueueMemcpy::node_size | ( | void | ) |
Definition at line 39 of file queue_memcpy.cc.
char QueueMemcpy::pop | ( | void * | data | ) |
Definition at line 41 of file queue_memcpy.cc.
char QueueMemcpy::push | ( | void * | data | ) |
Definition at line 66 of file queue_memcpy.cc.
long QueueMemcpy::size | ( | void | ) |
Definition at line 30 of file queue_memcpy.cc.
|
private |
Definition at line 27 of file queue_memcpy.h.
|
private |
Definition at line 32 of file queue_memcpy.h.
|
private |
Definition at line 29 of file queue_memcpy.h.
|
private |
Definition at line 30 of file queue_memcpy.h.
|
private |
Definition at line 34 of file queue_memcpy.h.
|
private |
Definition at line 31 of file queue_memcpy.h.
|
private |
Definition at line 26 of file queue_memcpy.h.