|
libpsynth 0.2.1
|
#include <ring_buffer.hpp>


Public Types | |
| typedef Buffer::allocator_type | allocator_type |
| typedef parent_type::range_base | range |
| typedef parent_type::const_range_base | const_range |
| typedef range::value_type | value_type |
| typedef range::reference | reference |
| typedef range::unsafe_iterator | unsafe_iterator |
| typedef const_range::unsafe_iterator | const_unsafe_iterator |
| typedef range::iterator | iterator |
| typedef const_range::iterator | const_iterator |
Public Member Functions | |
| ring_buffer (typename parent_type::size_type size=0, std::size_t alignment=0, const typename Buffer::allocator_type alloc_in=typename Buffer::allocator_type()) | |
| Create with size and optional initial value and alignment. | |
| ring_buffer (const Buffer &buf) | |
| template<typename F2 , bool IP2, typename Alloc2 > | |
| ring_buffer (const buffer< F2, IP2, Alloc2 > &buf) | |
| ring_buffer & | operator= (const ring_buffer &buf) |
| template<class Buffer2 > | |
| ring_buffer & | operator= (const ring_buffer< Buffer2 > &buf) |
| void | recreate (typename parent_type::size_type size, typename Buffer::range::value_type val, std::size_t alignment=0) |
| allocator_type & | allocator () |
| allocator_type const & | allocator () const |
Friends | |
| template<typename B > | |
| ring_buffer< B >::range & | range (ring_buffer< B > &buf) |
| template<typename B > | |
| const ring_buffer< B >::const_range | const_range (const ring_buffer< B > &buf) |
| typedef Buffer::allocator_type psynth::sound::ring_buffer< Buffer >::allocator_type |
| typedef const_range::iterator psynth::sound::ring_buffer< Buffer >::const_iterator |
| typedef parent_type::const_range_base psynth::sound::ring_buffer< Buffer >::const_range |
| typedef const_range::unsafe_iterator psynth::sound::ring_buffer< Buffer >::const_unsafe_iterator |
| typedef range::iterator psynth::sound::ring_buffer< Buffer >::iterator |
| typedef parent_type::range_base psynth::sound::ring_buffer< Buffer >::range |
| typedef range::reference psynth::sound::ring_buffer< Buffer >::reference |
| typedef range::unsafe_iterator psynth::sound::ring_buffer< Buffer >::unsafe_iterator |
| typedef range::value_type psynth::sound::ring_buffer< Buffer >::value_type |
| psynth::sound::ring_buffer< Buffer >::ring_buffer | ( | typename parent_type::size_type | size = 0, |
| std::size_t | alignment = 0, |
||
| const typename Buffer::allocator_type | alloc_in = typename Buffer::allocator_type () |
||
| ) | [inline, explicit] |
Create with size and optional initial value and alignment.
| psynth::sound::ring_buffer< Buffer >::ring_buffer | ( | const Buffer & | buf | ) | [inline, explicit] |
| psynth::sound::ring_buffer< Buffer >::ring_buffer | ( | const buffer< F2, IP2, Alloc2 > & | buf | ) | [inline, explicit] |
| allocator_type& psynth::sound::ring_buffer< Buffer >::allocator | ( | ) | [inline] |
| allocator_type const& psynth::sound::ring_buffer< Buffer >::allocator | ( | ) | const [inline] |
| ring_buffer& psynth::sound::ring_buffer< Buffer >::operator= | ( | const ring_buffer< Buffer2 > & | buf | ) | [inline] |
| ring_buffer& psynth::sound::ring_buffer< Buffer >::operator= | ( | const ring_buffer< Buffer > & | buf | ) | [inline] |
| void psynth::sound::ring_buffer< Buffer >::recreate | ( | typename parent_type::size_type | size, |
| typename Buffer::range::value_type | val, | ||
| std::size_t | alignment = 0 |
||
| ) | [inline] |
| const ring_buffer<B>::const_range const_range | ( | const ring_buffer< B > & | buf | ) | [friend] |
| ring_buffer<B>::range& range | ( | ring_buffer< B > & | buf | ) | [friend] |
Does this has bad consecuences? Is this the best alternative?
1.7.4