Public Member Functions | Private Attributes | List of all members
QueueMemcpy Class Reference

#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_
 

Detailed Description

Definition at line 12 of file queue_memcpy.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

long QueueMemcpy::annode_size_
private

Definition at line 27 of file queue_memcpy.h.

char* QueueMemcpy::buf_
private

Definition at line 32 of file queue_memcpy.h.

long QueueMemcpy::cnt_
private

Definition at line 29 of file queue_memcpy.h.

long QueueMemcpy::head_
private

Definition at line 30 of file queue_memcpy.h.

std::mutex QueueMemcpy::mutex_
private

Definition at line 34 of file queue_memcpy.h.

long QueueMemcpy::tail_
private

Definition at line 31 of file queue_memcpy.h.

long QueueMemcpy::total_
private

Definition at line 26 of file queue_memcpy.h.


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


xarm_api
Author(s):
autogenerated on Sat May 8 2021 02:51:23