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

#include <qx_value.h>

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

Public Types

typedef promoted< value_t > promoted
 

Public Member Functions

void clear () noexcept
 
void ignore (promoted *value) noexcept
 
 listen ()=default
 
 listen (const std::set< promoted * > &values)
 
 listen (promoted *value)
 
virtual void notify (const value_t &) noexcept=0
 pre-change notification More...
 
virtual void notify (const value_t &, const promoted &) noexcept
 
void obey (const std::initializer_list< promoted * > &values, bool initial_update=true) noexcept
 
void obey (promoted *value, bool initial_update=true) noexcept
 
virtual void remove (const promoted &) noexcept
 indicate promoted end-of-lifetime More...
 
void trigger () noexcept
 
virtual ~listen () noexcept
 

Public Attributes

std::set< promoted * > values
 

Protected Member Functions

 listen (const listen &)
 

Member Typedef Documentation

◆ promoted

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

Constructor & Destructor Documentation

◆ listen() [1/4]

template<class value_t >
qx::listen< value_t >::listen ( const listen< value_t > &  )
inlineprotected

◆ listen() [2/4]

template<class value_t >
qx::listen< value_t >::listen ( )
default

◆ listen() [3/4]

template<class value_t >
qx::listen< value_t >::listen ( promoted value)
inline

◆ listen() [4/4]

template<class value_t >
qx::listen< value_t >::listen ( const std::set< promoted * > &  values)
inline

◆ ~listen()

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

Member Function Documentation

◆ clear()

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

◆ ignore()

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

◆ notify() [1/2]

template<class value_t >
virtual void qx::listen< value_t >::notify ( const value_t &  )
pure virtualnoexcept

pre-change notification

change-done notification

◆ notify() [2/2]

template<class value_t >
virtual void qx::listen< value_t >::notify ( const value_t &  ,
const promoted  
)
inlinevirtualnoexcept
+ Here is the caller graph for this function:

◆ obey() [1/2]

template<class value_t >
void qx::listen< value_t >::obey ( const std::initializer_list< promoted * > &  values,
bool  initial_update = true 
)
inlinenoexcept
+ Here is the call graph for this function:

◆ obey() [2/2]

template<class value_t >
void qx::listen< value_t >::obey ( promoted value,
bool  initial_update = true 
)
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

template<class value_t >
virtual void qx::listen< value_t >::remove ( const promoted )
inlinevirtualnoexcept

indicate promoted end-of-lifetime

◆ trigger()

template<class value_t >
void qx::listen< value_t >::trigger ( )
inlinenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ values

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

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.