Midge  v3.9.2
Data Processing Framework
Public Types | Public Member Functions | List of all members
m_slot< x_args > Class Template Reference

#include <slot.hh>

Inheritance diagram for m_slot< x_args >:
Inheritance graph

Public Types

using signature = void(x_args...)
 
typedef std::set< std::pair< unsigned, m_signal< x_args... > *> > signal_connections
 

Public Member Functions

 m_slot (const string_t &name, const std::function< signature > &sig)
 
template<typename T >
 m_slot (const string_t &name, T *inst, void(T::*func)(x_args...))
 
template<typename T >
 m_slot (const string_t &name, T *inst, void(T::*func)(x_args...) const)
 
template<typename x_owner >
 m_slot (const string_t &name, const std::function< signature > &sig, x_owner *owner)
 
template<typename T , typename x_owner >
 m_slot (const string_t &name, T *inst, void(T::*func)(x_args...), x_owner *owner)
 
template<typename T , typename x_owner >
 m_slot (const string_t &name, T *inst, void(T::*func)(x_args...) const, x_owner *owner)
 
 m_slot (const m_slot &)=delete
 
 m_slot (m_slot &&)=delete
 
virtual ~m_slot ()
 
void disconnect_all ()
 
 snake_case_mv_referrable (std::function< signature >, function)
 
 snake_case_mv_referrable (signal_connections, connections)
 
- Public Member Functions inherited from slot
 slot (const string_t &p_name)
 
template<typename x_owner >
 slot (const string_t &p_name, x_owner *p_owner)
 
virtual ~slot ()
 
 snake_case_mv_referrable (string_t, name)
 

Detailed Description

template<typename... x_args>
class midge::m_slot< x_args >

Definition at line 36 of file slot.hh.

Member Typedef Documentation

◆ signal_connections

typedef std::set< std::pair< unsigned, m_signal< x_args... >* > > signal_connections

Definition at line 61 of file slot.hh.

◆ signature

using signature = void( x_args... )

Definition at line 39 of file slot.hh.

Constructor & Destructor Documentation

◆ m_slot() [1/8]

m_slot ( const string_t name,
const std::function< signature > &  sig 
)

Definition at line 76 of file slot.hh.

◆ m_slot() [2/8]

m_slot ( const string_t name,
T *  inst,
void(T::*)(x_args...)  func 
)

Definition at line 83 of file slot.hh.

◆ m_slot() [3/8]

m_slot ( const string_t name,
T *  inst,
void(T::*)(x_args...) const  func 
)

◆ m_slot() [4/8]

m_slot ( const string_t name,
const std::function< signature > &  sig,
x_owner *  owner 
)

Definition at line 97 of file slot.hh.

◆ m_slot() [5/8]

m_slot ( const string_t name,
T *  inst,
void(T::*)(x_args...)  func,
x_owner *  owner 
)

Definition at line 104 of file slot.hh.

◆ m_slot() [6/8]

m_slot ( const string_t name,
T *  inst,
void(T::*)(x_args...) const  func,
x_owner *  owner 
)

◆ m_slot() [7/8]

m_slot ( const m_slot< x_args > &  )
delete

◆ m_slot() [8/8]

m_slot ( m_slot< x_args > &&  )
delete

◆ ~m_slot()

~m_slot< x_args... > ( )
virtual

Definition at line 117 of file slot.hh.

Member Function Documentation

◆ disconnect_all()

void disconnect_all ( )

Definition at line 47 of file signal_slot.hh.

◆ snake_case_mv_referrable() [1/2]

snake_case_mv_referrable ( std::function< signature ,
function   
)

◆ snake_case_mv_referrable() [2/2]

snake_case_mv_referrable ( signal_connections  ,
connections   
)

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