#include <transaction_signal.h>
Classes | |
struct | EventWrapper |
struct | EventWrapperAllowDup |
struct | EventWrapperAvoidDup |
struct | Message |
Public Member Functions | |
template<class R , class T , typename... ArgRefs> | |
shared_ptr< XListener > | connect (R &obj, void(T::*func)(ArgRefs...), int flags=0) |
template<class R , class T , typename... ArgRefs> | |
shared_ptr< XListener > | connectWeakly (const shared_ptr< R > &obj, void(T::*func)(ArgRefs...), int flags=0) |
void | connect (const shared_ptr< XListener > &x) |
void | disconnect (const shared_ptr< XListener > &) |
template<typename... ArgRefs> | |
shared_ptr< Message > | createMessage (int64_t tr_serial, ArgRefs &&...arg) const |
template<typename... ArgRefs> | |
void | talk (const SS &shot, ArgRefs &&...args) const |
bool | empty () const noexcept |
Private Types | |
using | Event_ = Event< SS, Args...> |
using | Listener_ = ListenerBase< Event_ > |
typedef std::vector< weak_ptr < Listener_ > > | ListenerList |
typedef fast_vector < shared_ptr< XListener > > | UnmarkedListenerList |
Private Member Functions | |
void | connect (const shared_ptr< Listener_ > &) |
Private Attributes | |
shared_ptr< ListenerList > | m_listeners |
M/M Listener and Talker model
tArg:
value which will be derivered Definition at line 102 of file transaction_signal.h.