mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
circularBuffer.hpp File Reference

A circular buffer class. More...

A circular buffer class.

Author
Jared R. Males

Definition in file circularBuffer.hpp.

#include <atomic>
#include <vector>

Go to the source code of this file.

Classes

class  mx::sigproc::circularBufferBase< _derivedT, _storedT, _indexT >
 CRTP base class for all circular buffers, providing the underlying memory management and accessors. More...
class  mx::sigproc::circularBufferBranch< _storedT, _indexT >
 Circular buffer which wraps with an if statement (branching) [faster than mod, less memory than index]. More...
class  mx::sigproc::circularBufferMod< _storedT, _indexT >
 Circular buffer which wraps with the mod operator [very slow]. More...
class  mx::sigproc::circularBufferIndex< _storedT, _indexT, true >
 Fixed-size circular buffer specialization for single-producer/single-consumer use. More...
struct  mx::sigproc::circularBufferIndex< _storedT, _indexT, true >::snapshotT
 Snapshot of the readable state of the buffer. More...

Namespaces

namespace  mx
 The mxlib c++ namespace.