|
libpsynth 0.2.1
|
Function object that returns a grayscale reference of the N-th sample of a given reference. More...
#include <buffer_range_factory.hpp>
Public Types | |
| typedef nth_sample_deref_fn < const_ref_t > | const_type |
| typedef frame_value_type < sample_t, mono_layout > ::type | value_type |
| typedef frame_reference_type < sample_t, mono_layout, false, false >::type | const_reference |
| typedef SrcP | argument_type |
| typedef boost::mpl::if_c < is_mutable, ref_t, value_type >::type | reference |
| typedef reference | result_type |
Public Member Functions | |
| BOOST_STATIC_CONSTANT (bool, is_mutable=frame_is_reference< SrcP >::value &&frame_reference_is_mutable< SrcP >::value) | |
| nth_sample_deref_fn (int n=0) | |
| template<typename P > | |
| nth_sample_deref_fn (const nth_sample_deref_fn< P > &d) | |
| result_type | operator() (argument_type src_f) const |
Function object that returns a grayscale reference of the N-th sample of a given reference.
Models: FrameDereferenceAdaptorConcept.
If the input is a frame value or constant reference, the function object is immutable. Otherwise it is mutable (and returns non-const reference to the n-th sample)
| typedef SrcP psynth::sound::detail::nth_sample_deref_fn< SrcP >::argument_type |
| typedef frame_reference_type< sample_t,mono_layout,false,false>::type psynth::sound::detail::nth_sample_deref_fn< SrcP >::const_reference |
| typedef nth_sample_deref_fn<const_ref_t> psynth::sound::detail::nth_sample_deref_fn< SrcP >::const_type |
| typedef boost::mpl::if_c< is_mutable, ref_t, value_type>::type psynth::sound::detail::nth_sample_deref_fn< SrcP >::reference |
| typedef reference psynth::sound::detail::nth_sample_deref_fn< SrcP >::result_type |
| typedef frame_value_type< sample_t, mono_layout>::type psynth::sound::detail::nth_sample_deref_fn< SrcP >::value_type |
| psynth::sound::detail::nth_sample_deref_fn< SrcP >::nth_sample_deref_fn | ( | int | n = 0 | ) | [inline] |
| psynth::sound::detail::nth_sample_deref_fn< SrcP >::nth_sample_deref_fn | ( | const nth_sample_deref_fn< P > & | d | ) | [inline] |
| psynth::sound::detail::nth_sample_deref_fn< SrcP >::BOOST_STATIC_CONSTANT | ( | bool | , |
| is_mutable | = frame_is_reference< SrcP >::value &&frame_reference_is_mutable< SrcP >::value |
||
| ) |
| result_type psynth::sound::detail::nth_sample_deref_fn< SrcP >::operator() | ( | argument_type | src_f | ) | const [inline] |
1.7.4