libpsynth 0.2.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
psynth::io::detail::buffered_output_impl< Base, OutputPtr > Class Template Reference

#include <buffered_output.hpp>

Inheritance diagram for psynth::io::detail::buffered_output_impl< Base, OutputPtr >:
Inheritance graph
[legend]
Collaboration diagram for psynth::io::detail::buffered_output_impl< Base, OutputPtr >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Base::range range
typedef Base::const_range const_range
typedef base::pointee
< OutputPtr >::type 
output_type
typedef output_type::range output_range
typedef output_type::const_range output_const_range
typedef
sound::buffer_from_range
< output_range >::type 
buffer_type

Public Member Functions

 buffered_output_impl (OutputPtr output_ptr=0)
std::size_t put (const const_range &data)
template<class Range2 >
std::size_t put (const Range2 &data)
output_typeoutput ()
const output_typeoutput () const
const buffer_typebuffer () const
void set_buffer_size (std::size_t new_size)

Protected Member Functions

void set_output (OutputPtr ptr)

Protected Attributes

buffer_type _buffer
OutputPtr _output_ptr

template<class Base, class OutputPtr>
class psynth::io::detail::buffered_output_impl< Base, OutputPtr >


Member Typedef Documentation

template<class Base, class OutputPtr>
typedef sound::buffer_from_range<output_range>::type psynth::io::detail::buffered_output_impl< Base, OutputPtr >::buffer_type
template<class Base, class OutputPtr>
typedef Base::const_range psynth::io::detail::buffered_output_impl< Base, OutputPtr >::const_range
template<class Base, class OutputPtr>
typedef output_type::const_range psynth::io::detail::buffered_output_impl< Base, OutputPtr >::output_const_range
template<class Base, class OutputPtr>
typedef output_type::range psynth::io::detail::buffered_output_impl< Base, OutputPtr >::output_range
template<class Base, class OutputPtr>
typedef base::pointee<OutputPtr>::type psynth::io::detail::buffered_output_impl< Base, OutputPtr >::output_type
template<class Base, class OutputPtr>
typedef Base::range psynth::io::detail::buffered_output_impl< Base, OutputPtr >::range

Constructor & Destructor Documentation

template<class Base, class OutputPtr>
psynth::io::detail::buffered_output_impl< Base, OutputPtr >::buffered_output_impl ( OutputPtr  output_ptr = 0) [inline]

Member Function Documentation

template<class Base, class OutputPtr>
const buffer_type& psynth::io::detail::buffered_output_impl< Base, OutputPtr >::buffer ( ) const [inline]
template<class Base, class OutputPtr>
output_type& psynth::io::detail::buffered_output_impl< Base, OutputPtr >::output ( ) [inline]
template<class Base, class OutputPtr>
const output_type& psynth::io::detail::buffered_output_impl< Base, OutputPtr >::output ( ) const [inline]
template<class Base, class OutputPtr>
template<class Range2 >
std::size_t psynth::io::detail::buffered_output_impl< Base, OutputPtr >::put ( const Range2 &  data)
template<class Base, class OutputPtr>
std::size_t psynth::io::detail::buffered_output_impl< Base, OutputPtr >::put ( const const_range data)
template<class Base, class OutputPtr>
void psynth::io::detail::buffered_output_impl< Base, OutputPtr >::set_buffer_size ( std::size_t  new_size) [inline]
template<class Base, class OutputPtr>
void psynth::io::detail::buffered_output_impl< Base, OutputPtr >::set_output ( OutputPtr  ptr) [inline, protected]

Member Data Documentation

template<class Base, class OutputPtr>
buffer_type psynth::io::detail::buffered_output_impl< Base, OutputPtr >::_buffer [protected]
template<class Base, class OutputPtr>
OutputPtr psynth::io::detail::buffered_output_impl< Base, OutputPtr >::_output_ptr [protected]

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