![]() |
Klang C++ 0.7.15
Language Reference (draft)
|
Signal modifier object (input-output) More...
#include <klang.h>
Inheritance diagram for klang::Generic::Modifier< SIGNAL >:Public Member Functions | |
| virtual | ~Modifier () |
| operator const SIGNAL & () override | |
| operator const SIGNAL & () const override | |
| virtual void | process () override |
| template<typename... params> | |
| Modifier< SIGNAL > & | operator() (params &&... p) |
| virtual const SIGNAL & | input () const |
| virtual void | input (const SIGNAL &source) |
| virtual void | operator<< (const SIGNAL &source) |
| virtual const SIGNAL & | output () const |
| template<typename TYPE , class = decltype( std::declval<TYPE&>() = std::declval<SIGNAL&>())> | |
| TYPE & | operator>> (TYPE &destination) |
| template<typename TYPE > | |
| SIGNAL | operator+ (TYPE &other) |
| template<typename TYPE > | |
| SIGNAL | operator* (TYPE &other) |
| template<typename TYPE > | |
| SIGNAL | operator- (TYPE &other) |
| template<typename TYPE > | |
| SIGNAL | operator/ (TYPE &other) |
| void | reset () |
Public Attributes | |
| SIGNAL | in = { 0.f } |
| SIGNAL | out = { 0.f } |
|
inlinevirtual |
|
inlineprotectedvirtualinherited |
Reimplemented in klang::Debug, klang::Delay< SIZE >, klang::Delay< 0 >, klang::Generic::Function< SIGNAL, Args >, klang::Generic::Function< signal, Args... >, klang::Generic::Graph< SIZE >::Series, and klang::Modifiers::Modal.
Definition at line 2955 of file klang.h.
|
inlinevirtualinherited |
Reimplemented in klang::Generic::Graph< SIZE >::Series.
Definition at line 2947 of file klang.h.
References klang::Generic::Input< SIGNAL >::in.
Referenced by klang::Generic::Input< SIGNAL >::operator<<().
|
inlinevirtualinherited |
Reimplemented in klang::Debug.
Definition at line 2951 of file klang.h.
References klang::Generic::Input< SIGNAL >::in, and klang::Generic::Input< SIGNAL >::input().
Referenced by klang::Generic::Input< SIGNAL >::input().
|
inlineoverridevirtual |
Reimplemented from klang::Generic::Output< SIGNAL >.
Definition at line 3091 of file klang.h.
References klang::Generic::Output< SIGNAL >::out.
|
inlineoverridevirtual |
Reimplemented from klang::Generic::Output< SIGNAL >.
Definition at line 3090 of file klang.h.
References klang::Generic::Output< SIGNAL >::out, and klang::Generic::Modifier< SIGNAL >::process().
|
inline |
|
inlineinherited |
Definition at line 2977 of file klang.h.
References klang::Generic::Output< SIGNAL >::process().
|
inlineinherited |
Definition at line 2976 of file klang.h.
References klang::Generic::Output< SIGNAL >::process().
|
inlineinherited |
Definition at line 2978 of file klang.h.
References klang::Generic::Output< SIGNAL >::process().
|
inlineinherited |
Definition at line 2979 of file klang.h.
References klang::Generic::Output< SIGNAL >::process().
|
inlinevirtualinherited |
Reimplemented in klang::Debug.
Definition at line 2950 of file klang.h.
References klang::Generic::Input< SIGNAL >::in, and klang::Generic::Input< SIGNAL >::input().
|
inlineinherited |
Definition at line 2969 of file klang.h.
References klang::Generic::Output< SIGNAL >::out, and klang::Generic::Output< SIGNAL >::process().
|
inlinevirtualinherited |
|
inlineoverridevirtual |
Implements klang::Generic::Output< SIGNAL >.
Reimplemented in klang::Delay< SIZE >, klang::Delay< 0 >, klang::Effect, klang::Envelope::Follower::AR, klang::Envelope::Follower, klang::Envelope::Follower::Window< WINDOW >, klang::Filters::Biquad::Filter, klang::Filters::Butterworth::LPF< 1 >, klang::Filters::DCF, klang::Filters::IIR< ORDER >, klang::Filters::IIR< 1 >, klang::Filters::OnePole::Filter, klang::Filters::OnePole::LPF, klang::Generic::Function< SIGNAL, Args >, klang::Generic::Function< signal, Args... >, klang::Modifiers::Modal, klang::Sound, klang::Stereo::Effect, klang::Stereo::Sound, klang::Stereo::Synth, and klang::Synth.
Definition at line 3094 of file klang.h.
References klang::Generic::Input< SIGNAL >::in, and klang::Generic::Output< SIGNAL >::out.
Referenced by klang::Generic::Modifier< SIGNAL >::operator const SIGNAL &().
|
inlineinherited |
Definition at line 2981 of file klang.h.
References klang::Generic::Output< SIGNAL >::out.
|
inherited |
Definition at line 2944 of file klang.h.
Referenced by klang::Generic::Function< SIGNAL, Args >::evaluate(), klang::Generic::Function< SIGNAL, Args >::input(), klang::Generic::Input< SIGNAL >::input(), klang::Generic::Input< SIGNAL >::input(), klang::Generic::Function< SIGNAL, Args >::operator()(), klang::Generic::Function< SIGNAL, Args >::operator()(), klang::Generic::Input< SIGNAL >::operator<<(), klang::Generic::Modifier< SIGNAL >::process(), and klang::Generic::Function< SIGNAL, Args >::with().
|
inherited |
Definition at line 2961 of file klang.h.
Referenced by klang::Generic::Generator< SIGNAL >::operator const SIGNAL &(), klang::Generic::Generator< SIGNAL >::operator const SIGNAL &(), klang::Generic::Modifier< SIGNAL >::operator const SIGNAL &(), klang::Generic::Modifier< SIGNAL >::operator const SIGNAL &(), klang::Generic::Output< SIGNAL >::operator const SIGNAL &(), klang::Generic::Output< SIGNAL >::operator const SIGNAL &(), klang::Generic::Function< SIGNAL, Args >::operator float(), klang::Generic::Function< SIGNAL, Args >::operator param(), klang::Generic::Function< SIGNAL, Args >::operator SIGNAL(), klang::Generic::Function< SIGNAL, Args >::operator()(), klang::Generic::Output< SIGNAL >::operator>>(), klang::Generic::Output< SIGNAL >::output(), klang::Generic::Function< SIGNAL, Args >::process(), klang::Generic::Modifier< SIGNAL >::process(), and klang::Generic::Output< SIGNAL >::reset().