libpsynth 0.2.1
Public Member Functions | Public Attributes
psynth::sound::FrameConvertibleConcept< SrcP, DstP > Struct Template Reference

Frame convertible concept. More...

#include <concept.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

SrcP src
DstP dst

Detailed Description

template<typename SrcP, typename DstP>
struct psynth::sound::FrameConvertibleConcept< SrcP, DstP >

Frame convertible concept.

Convertibility is non-symmetric and implies that one frame can be converted to another, approximating the value. Conversion is explicit and sometimes lossy.

template <FrameConcept SrcFrame, MutableFrameConcept DstFrame>
concept FrameConvertibleConcept {
    void channel_convert(const SrcFrame&, DstFrame&);
};

Member Function Documentation

template<typename SrcP , typename DstP >
void psynth::sound::FrameConvertibleConcept< SrcP, DstP >::constraints ( ) [inline]

Member Data Documentation

template<typename SrcP , typename DstP >
DstP psynth::sound::FrameConvertibleConcept< SrcP, DstP >::dst
template<typename SrcP , typename DstP >
SrcP psynth::sound::FrameConvertibleConcept< SrcP, DstP >::src

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