vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
Public Member Functions | List of all members
viva::BufferedChannel< Data > Class Template Reference

#include <channel.h>

Public Member Functions

void close ()
 
bool isOpen ()
 
void addData (Data &data)
 
bool empty ()
 
bool getData (Data &data)
 
float getFrequency ()
 
void setFrequency (float frequency)
 
void setCapacity (size_t capacity)
 
 BufferedChannel (size_t capacity=10)
 

Detailed Description

template<class Data>
class viva::BufferedChannel< Data >

BufferedChannel template class The class is used to comunicate data between two threads using a producer-consurmer philosophy and a FIFO order.


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