The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAEvents::connector_t< receiver_t > Class Template Reference
Inheritance diagram for MHAEvents::connector_t< receiver_t >:
Inheritance graph

Public Member Functions

 connector_t (emitter_t *, receiver_t *, void(receiver_t::*)())
 
 connector_t (emitter_t *, receiver_t *, void(receiver_t::*)(const std::string &))
 
 connector_t (emitter_t *, receiver_t *, void(receiver_t::*)(const std::string &, unsigned int, unsigned int))
 
 ~connector_t ()
 
- Public Member Functions inherited from MHAEvents::connector_base_t
 connector_base_t ()
 
virtual ~connector_base_t ()
 
void emitter_die ()
 

Private Member Functions

void emit_event ()
 
void emit_event (const std::string &)
 
void emit_event (const std::string &, unsigned int, unsigned int)
 

Private Attributes

emitter_temitter
 
receiver_t * receiver
 
void(receiver_t::* eventhandler )()
 
void(receiver_t::* eventhandler_s )(const std::string &)
 
void(receiver_t::* eventhandler_suu )(const std::string &, unsigned int, unsigned int)
 

Additional Inherited Members

- Protected Attributes inherited from MHAEvents::connector_base_t
bool emitter_is_alive
 

Constructor & Destructor Documentation

◆ connector_t() [1/3]

template<class receiver_t >
MHAEvents::connector_t< receiver_t >::connector_t ( emitter_t e,
receiver_t *  r,
void(receiver_t::*)()  rfun 
)

◆ connector_t() [2/3]

template<class receiver_t >
MHAEvents::connector_t< receiver_t >::connector_t ( emitter_t e,
receiver_t *  r,
void(receiver_t::*)(const std::string &)  rfun 
)

◆ connector_t() [3/3]

template<class receiver_t >
MHAEvents::connector_t< receiver_t >::connector_t ( emitter_t e,
receiver_t *  r,
void(receiver_t::*)(const std::string &, unsigned int, unsigned int)  rfun 
)

◆ ~connector_t()

template<class receiver_t >
MHAEvents::connector_t< receiver_t >::~connector_t

Member Function Documentation

◆ emit_event() [1/3]

template<class receiver_t >
void MHAEvents::connector_t< receiver_t >::emit_event
privatevirtual

Reimplemented from MHAEvents::connector_base_t.

◆ emit_event() [2/3]

template<class receiver_t >
void MHAEvents::connector_t< receiver_t >::emit_event ( const std::string &  arg)
privatevirtual

Reimplemented from MHAEvents::connector_base_t.

◆ emit_event() [3/3]

template<class receiver_t >
void MHAEvents::connector_t< receiver_t >::emit_event ( const std::string &  arg,
unsigned int  arg2,
unsigned int  arg3 
)
privatevirtual

Reimplemented from MHAEvents::connector_base_t.

Member Data Documentation

◆ emitter

template<class receiver_t >
emitter_t* MHAEvents::connector_t< receiver_t >::emitter
private

◆ receiver

template<class receiver_t >
receiver_t* MHAEvents::connector_t< receiver_t >::receiver
private

◆ eventhandler

template<class receiver_t >
void(receiver_t::* MHAEvents::connector_t< receiver_t >::eventhandler) ()
private

◆ eventhandler_s

template<class receiver_t >
void(receiver_t::* MHAEvents::connector_t< receiver_t >::eventhandler_s) (const std::string &)
private

◆ eventhandler_suu

template<class receiver_t >
void(receiver_t::* MHAEvents::connector_t< receiver_t >::eventhandler_suu) (const std::string &, unsigned int, unsigned int)
private

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