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

#include <file_output.hpp>

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

List of all members.

Public Types

typedef base::range range
typedef base::const_range const_range

Public Member Functions

 static_assert (file_support< Range >::is_supported::value,"Audio file format not supported.")
 file_output (const std::string &fname, file_fmt format, std::size_t rate)
 ~file_output ()
std::size_t put (const const_range &data)
 Write a bunch of data into the device.
std::size_t seek (std::ptrdiff_t offset, seek_dir dir)

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


Member Typedef Documentation

template<class Range >
typedef base::const_range psynth::io::file_output< Range >::const_range

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

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

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


Constructor & Destructor Documentation

template<class Range >
psynth::io::file_output< Range >::file_output ( const std::string &  fname,
file_fmt  format,
std::size_t  rate 
)
template<class Range >
psynth::io::file_output< Range >::~file_output ( )

Member Function Documentation

template<class Range >
std::size_t psynth::io::file_output< Range >::put ( const const_range data) [virtual]

Write a bunch of data into the device.

Implements psynth::io::output< Range >.

template<class Range >
std::size_t psynth::io::file_output< Range >::seek ( std::ptrdiff_t  offset,
seek_dir  dir 
) [virtual]
template<class Range >
psynth::io::file_output< Range >::static_assert ( file_support< Range >::is_supported::value  ,
"Audio file format not supported."   
)

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