Klang C++
Language Reference (draft)
Loading...
Searching...
No Matches
klang::Stereo::Outputabstract

Audio output object (stereo) More...

#include <klang.h>

+ Inheritance diagram for klang::Stereo::Output:

Public Member Functions

virtual ~Output ()
 
virtual const signaloutput () const
 
TYPE & operator>> (TYPE &destination)
 
virtual operator const signal & ()
 
virtual operator const signal & () const
 
signal operator+ (TYPE &other)
 
signal operator* (TYPE &other)
 
signal operator- (TYPE &other)
 
signal operator/ (TYPE &other)
 

Public Attributes

signal out
 

Detailed Description

Definition at line 3387 of file klang.h.

Constructor & Destructor Documentation

◆ ~Output()

virtual klang::Stereo::Output::~Output ( )
inlinevirtual

Definition at line 3387 of file klang.h.

3387: Generic::Output<signal> { virtual ~Output() {} };
virtual ~Output()
Definition klang.h:3387

Member Function Documentation

◆ operator const signal &() [1/2]

virtual klang::Generic::Output< signal >::operator const signal & ( )
inlinevirtualinherited

Reimplemented in klang::Generic::Generator< signal >, and klang::Generic::Modifier< signal >.

Definition at line 1367 of file klang.h.

1367{ process(); return out; } // return processed output

◆ operator const signal &() [2/2]

virtual klang::Generic::Output< signal >::operator const signal & ( ) const
inlinevirtualinherited

Reimplemented in klang::Generic::Generator< signal >, and klang::Generic::Modifier< signal >.

Definition at line 1368 of file klang.h.

1368{ return out; } // return last output

◆ operator*()

signal klang::Generic::Output< signal >::operator* ( TYPE & other)
inlineinherited

Definition at line 1372 of file klang.h.

1372{ process(); return out * (other); }

◆ operator+()

signal klang::Generic::Output< signal >::operator+ ( TYPE & other)
inlineinherited

Definition at line 1371 of file klang.h.

1371{ process(); return out + (other); }

◆ operator-()

signal klang::Generic::Output< signal >::operator- ( TYPE & other)
inlineinherited

Definition at line 1373 of file klang.h.

1373{ process(); return out - (other); }

◆ operator/()

signal klang::Generic::Output< signal >::operator/ ( TYPE & other)
inlineinherited

Definition at line 1374 of file klang.h.

1374{ process(); return out / (other); }

◆ operator>>()

TYPE & klang::Generic::Output< signal >::operator>> ( TYPE & destination)
inlineinherited

Definition at line 1364 of file klang.h.

1364{ process(); return destination = out; }

◆ output()

virtual const signal & klang::Generic::Output< signal >::output ( ) const
inlinevirtualinherited

Definition at line 1360 of file klang.h.

1360{ return out; }

◆ process()

Member Data Documentation

◆ out

Definition at line 1357 of file klang.h.

1357{ 0.f };