OpenEV
Extending OpenCV to event-based vision
Loading...
Searching...
No Matches
concurrent_queue.hpp File Reference

Queue container for basic event structures, safe between a thread that pushes and a thread that pops. More...

#include "openev/core/types.hpp"
#include <boost/lockfree/spsc_queue.hpp>
#include <cstddef>

Go to the source code of this file.

Classes

class  ev::ConcurrentQueue_< T >
 This class extends boost::lockfree::spsc_queue to implement event queues that one thread fills while another one empties, with no locks. For more information, please refer here. More...

Typedefs

using ev::ConcurrentQueuei = ConcurrentQueue_<int>
using ev::ConcurrentQueuel = ConcurrentQueue_<long>
using ev::ConcurrentQueuef = ConcurrentQueue_<float>
using ev::ConcurrentQueued = ConcurrentQueue_<double>
using ev::ConcurrentQueue = ConcurrentQueuei

Variables

constexpr bool ev::USING_CONCURRENT_QUEUE_HPP = true

Detailed Description

Queue container for basic event structures, safe between a thread that pushes and a thread that pops.

Author
Raul Tapia

Typedef Documentation

◆ ConcurrentQueue

using ev::ConcurrentQueue = ConcurrentQueuei

Alias for ConcurrentQueue_ using Event

Examples
example-event-camera-dataset.cpp.

◆ ConcurrentQueued

using ev::ConcurrentQueued = ConcurrentQueue_<double>

Alias for ConcurrentQueue_ using double

◆ ConcurrentQueuef

using ev::ConcurrentQueuef = ConcurrentQueue_<float>

Alias for ConcurrentQueue_ using float

◆ ConcurrentQueuei

using ev::ConcurrentQueuei = ConcurrentQueue_<int>

Alias for ConcurrentQueue_ using int

◆ ConcurrentQueuel

using ev::ConcurrentQueuel = ConcurrentQueue_<long>

Alias for ConcurrentQueue_ using long