quarx
high performance processing frameworks of interconnectable DSP modules
qx::promoted< value_t > Class Template Reference

listener base class More...

#include <qx_value.h>

+ Inheritance diagram for qx::promoted< value_t >:
+ Collaboration diagram for qx::promoted< value_t >:

Public Types

typedef value_t type
 

Public Member Functions

 operator const value_t & () const noexcept
 
 operator value_t & () noexcept
 
const value_t & operator* () const noexcept
 
value_t & operator* () noexcept
 
void operator+= (const value_t &value) noexcept
 
const value_t & operator-> () const noexcept
 
value_t & operator-> () noexcept
 
void operator= (const promoted &copy) noexcept
 
virtual void operator= (const value_t &value)
 
bool operator== (const value_t &value) const noexcept
 
 promoted (const promoted &copy)
 
 promoted (const value_t &value={})
 
void remove_all_listener () noexcept
 
virtual ~promoted () noexcept
 

Public Attributes

std::set< listen< value_t > * > listeners
 

Detailed Description

template<class value_t>
class qx::promoted< value_t >

listener base class

promoted value notification server above listeners can subscribe to

Member Typedef Documentation

◆ type

template<class value_t >
typedef value_t qx::promoted< value_t >::type

Constructor & Destructor Documentation

◆ promoted() [1/2]

template<class value_t >
qx::promoted< value_t >::promoted ( const promoted< value_t > &  copy)
inline

◆ promoted() [2/2]

template<class value_t >
qx::promoted< value_t >::promoted ( const value_t &  value = {})
inlineexplicit

◆ ~promoted()

template<class value_t >
virtual qx::promoted< value_t >::~promoted ( )
inlinevirtualnoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ operator const value_t &()

template<class value_t >
qx::promoted< value_t >::operator const value_t & ( ) const
inlinenoexcept

◆ operator value_t &()

template<class value_t >
qx::promoted< value_t >::operator value_t & ( )
inlinenoexcept

◆ operator*() [1/2]

template<class value_t >
const value_t& qx::promoted< value_t >::operator* ( ) const
inlinenoexcept

◆ operator*() [2/2]

template<class value_t >
value_t& qx::promoted< value_t >::operator* ( )
inlinenoexcept

◆ operator+=()

template<class value_t >
void qx::promoted< value_t >::operator+= ( const value_t &  value)
inlinenoexcept

◆ operator->() [1/2]

template<class value_t >
const value_t& qx::promoted< value_t >::operator-> ( ) const
inlinenoexcept

◆ operator->() [2/2]

template<class value_t >
value_t& qx::promoted< value_t >::operator-> ( )
inlinenoexcept

◆ operator=() [1/2]

template<class value_t >
void qx::promoted< value_t >::operator= ( const promoted< value_t > &  copy)
inlinenoexcept

◆ operator=() [2/2]

template<class value_t >
virtual void qx::promoted< value_t >::operator= ( const value_t &  value)
inlinevirtual

◆ operator==()

template<class value_t >
bool qx::promoted< value_t >::operator== ( const value_t &  value) const
inlinenoexcept

◆ remove_all_listener()

template<class value_t >
void qx::promoted< value_t >::remove_all_listener ( )
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ listeners

template<class value_t >
std::set<listen <value_t>*> qx::promoted< value_t >::listeners

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 17 2021

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.