Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Transactional::Talker< SS, Args > Class Template Reference

#include <transaction_signal.h>

Inheritance diagram for Transactional::Talker< SS, Args >:
Inheritance graph
[legend]

Classes

struct  EventWrapper
 
struct  EventWrapperAllowDup
 
struct  EventWrapperAvoidDup
 
struct  Message
 

Public Member Functions

template<class R , class T , typename... ArgRefs>
shared_ptr< XListenerconnect (R &obj, void(T::*func)(ArgRefs...), int flags=0)
 
template<class R , class T , typename... ArgRefs>
shared_ptr< XListenerconnectWeakly (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< MessagecreateMessage (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
 

Detailed Description

template<class SS, typename... Args>
class Transactional::Talker< SS, Args >

M/M Listener and Talker model

See Also
XListener, XSignalStore tArg: value which will be derivered

Definition at line 102 of file transaction_signal.h.


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

Generated for KAME4 by  doxygen 1.8.3