libpsynth 0.2.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
psynth::io::detail::buffered_input_impl< Range, InputPtr > Class Template Reference

#include <buffered_input.hpp>

Inheritance diagram for psynth::io::detail::buffered_input_impl< Range, InputPtr >:
Inheritance graph
[legend]
Collaboration diagram for psynth::io::detail::buffered_input_impl< Range, InputPtr >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Range range
typedef base::pointee
< InputPtr >::type 
input_type
typedef input_type::range input_range
typedef
sound::buffer_from_range
< input_range >::type 
buffer_type

Public Member Functions

 buffered_input_impl (InputPtr input_ptr=0)
std::size_t take (const range &data)
template<class Range2 >
std::size_t take (const Range2 &data)
input_typeinput ()
const input_typeinput () const
const buffer_typebuffer () const
void set_buffer_size (std::size_t new_size)

Protected Member Functions

void set_input (InputPtr ptr)

Protected Attributes

buffer_type _buffer
InputPtr _input_ptr

template<class Range, class InputPtr>
class psynth::io::detail::buffered_input_impl< Range, InputPtr >


Member Typedef Documentation

template<class Range, class InputPtr>
typedef sound::buffer_from_range<input_range>::type psynth::io::detail::buffered_input_impl< Range, InputPtr >::buffer_type
template<class Range, class InputPtr>
typedef input_type::range psynth::io::detail::buffered_input_impl< Range, InputPtr >::input_range
template<class Range, class InputPtr>
typedef base::pointee<InputPtr>::type psynth::io::detail::buffered_input_impl< Range, InputPtr >::input_type
template<class Range, class InputPtr>
typedef Range psynth::io::detail::buffered_input_impl< Range, InputPtr >::range

Reimplemented from psynth::io::input< Range >.


Constructor & Destructor Documentation

template<class Range, class InputPtr>
psynth::io::detail::buffered_input_impl< Range, InputPtr >::buffered_input_impl ( InputPtr  input_ptr = 0) [inline]

Member Function Documentation

template<class Range, class InputPtr>
const buffer_type& psynth::io::detail::buffered_input_impl< Range, InputPtr >::buffer ( ) const [inline]
template<class Range, class InputPtr>
input_type& psynth::io::detail::buffered_input_impl< Range, InputPtr >::input ( ) [inline]
template<class Range, class InputPtr>
const input_type& psynth::io::detail::buffered_input_impl< Range, InputPtr >::input ( ) const [inline]
template<class Range, class InputPtr>
void psynth::io::detail::buffered_input_impl< Range, InputPtr >::set_buffer_size ( std::size_t  new_size) [inline]
template<class Range, class InputPtr>
void psynth::io::detail::buffered_input_impl< Range, InputPtr >::set_input ( InputPtr  ptr) [inline, protected]
template<class Range, class InputPtr>
std::size_t psynth::io::detail::buffered_input_impl< Range, InputPtr >::take ( const range data) [virtual]
template<class Range, class InputPtr>
template<class Range2 >
std::size_t psynth::io::detail::buffered_input_impl< Range, InputPtr >::take ( const Range2 &  data)

Member Data Documentation

template<class Range, class InputPtr>
buffer_type psynth::io::detail::buffered_input_impl< Range, InputPtr >::_buffer [protected]
template<class Range, class InputPtr>
InputPtr psynth::io::detail::buffered_input_impl< Range, InputPtr >::_input_ptr [protected]

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