libpsynth 0.2.1
Public Types | Public Member Functions
psynth::io::file_input< Range > Class Template Reference

#include <file_input.hpp>

Inheritance diagram for psynth::io::file_input< Range >:
Inheritance graph
[legend]
Collaboration diagram for psynth::io::file_input< Range >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef base::range range

Public Member Functions

 static_assert (file_support< Range >::is_supported::value,"Audio file format not supported.")
 file_input (const std::string &fname)
 ~file_input ()
std::size_t take (const range &data)
std::size_t seek (std::ptrdiff_t offset, seek_dir dir)
std::size_t frame_rate () const
std::size_t length () const

template<class Range>
class psynth::io::file_input< Range >


Member Typedef Documentation

template<class Range >
typedef base::range psynth::io::file_input< Range >::range

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


Constructor & Destructor Documentation

template<class Range >
psynth::io::file_input< Range >::file_input ( const std::string &  fname)
template<class Range >
psynth::io::file_input< Range >::~file_input ( )

Member Function Documentation

template<class Range >
std::size_t psynth::io::file_input< Range >::frame_rate ( ) const [inline, virtual]
template<class Range >
std::size_t psynth::io::file_input< Range >::length ( ) const [inline, virtual]
template<class Range >
std::size_t psynth::io::file_input< Range >::seek ( std::ptrdiff_t  offset,
seek_dir  dir 
) [virtual]
template<class Range >
psynth::io::file_input< Range >::static_assert ( file_support< Range >::is_supported::value  ,
"Audio file format not supported."   
)
template<class Range >
std::size_t psynth::io::file_input< Range >::take ( const range &  data) [virtual]

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