libpsynth 0.2.1
Public Types | Public Member Functions | Public Attributes
psynth::sound::detail::unsafe_ring_position< Ring > Class Template Reference

A pointer a reader can use to read data from the buffer. More...

#include <ring_buffer_range.hpp>

Inheritance diagram for psynth::sound::detail::unsafe_ring_position< Ring >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Ring::size_type size_type
typedef Ring::difference_type difference_type
typedef Ring ring_type

Public Member Functions

 unsafe_ring_position ()
 unsafe_ring_position (const unsafe_ring_position &r)
unsafe_ring_positionoperator= (const unsafe_ring_position &p)
 unsafe_ring_position (size_type p)
size_type offset () const
bool operator== (const unsafe_ring_position &p) const
void _add (difference_type n)

Public Attributes

size_type _pos

Detailed Description

template<class Ring>
class psynth::sound::detail::unsafe_ring_position< Ring >

A pointer a reader can use to read data from the buffer.


Member Typedef Documentation

template<class Ring>
typedef Ring::difference_type psynth::sound::detail::unsafe_ring_position< Ring >::difference_type
template<class Ring>
typedef Ring psynth::sound::detail::unsafe_ring_position< Ring >::ring_type
template<class Ring>
typedef Ring::size_type psynth::sound::detail::unsafe_ring_position< Ring >::size_type

Constructor & Destructor Documentation

template<class Ring>
psynth::sound::detail::unsafe_ring_position< Ring >::unsafe_ring_position ( const unsafe_ring_position< Ring > &  r)
template<class Ring>
psynth::sound::detail::unsafe_ring_position< Ring >::unsafe_ring_position ( size_type  p) [inline, explicit]

Member Function Documentation

template<class Ring>
void psynth::sound::detail::unsafe_ring_position< Ring >::_add ( difference_type  n) [inline]
template<class Ring>
size_type psynth::sound::detail::unsafe_ring_position< Ring >::offset ( ) const [inline]
template<class Ring>
unsafe_ring_position& psynth::sound::detail::unsafe_ring_position< Ring >::operator= ( const unsafe_ring_position< Ring > &  p)
template<class Ring>
bool psynth::sound::detail::unsafe_ring_position< Ring >::operator== ( const unsafe_ring_position< Ring > &  p) const [inline]

Member Data Documentation


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