HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
DoubleBuffer.h
Go to the documentation of this file.
1#pragma once
2#include "HephShared.h"
3#include "ArithmeticBuffer.h"
4
7namespace Heph
8{
13 class HEPH_API DoubleBuffer final : public SignedArithmeticBuffer<DoubleBuffer, double>
14 {
15 public:
18
20 explicit DoubleBuffer(size_t size);
21
23 DoubleBuffer(size_t size, BufferFlags flags);
24
26 DoubleBuffer(const std::initializer_list<double>& rhs);
27
30
32 DoubleBuffer(DoubleBuffer&& rhs) noexcept;
33
34 DoubleBuffer& operator=(const std::initializer_list<double>& rhs);
35 DoubleBuffer& operator=(const DoubleBuffer& rhs);
36 DoubleBuffer& operator=(DoubleBuffer&& rhs) noexcept;
37 };
38}
BufferFlags
Definition BufferBase.h:13
#define HEPH_API
Definition HephShared.h:132
buffer for storing doubles.
Definition DoubleBuffer.h:14
DoubleBuffer(const std::initializer_list< double > &rhs)
DoubleBuffer(size_t size)
DoubleBuffer(size_t size, BufferFlags flags)
DoubleBuffer(const DoubleBuffer &rhs)
DoubleBuffer(DoubleBuffer &&rhs) noexcept
base class for buffers that store signed arithmetic types. Provides operations and methods for signed...
Definition ArithmeticBuffer.h:147