CFx SDK Documentation  2020SP3
Public Member Functions | Friends | List of all members
slimsig::connection< Signal > Class Template Reference

#include <connection.h>

Public Member Functions

 connection ()
 
 connection (const connection &other)
 
 connection (connection &&other)
 
connectionoperator= (connection &&rhs)
 
connectionoperator= (const connection &rhs)
 
void swap (connection &other)
 
_FORCE_INLINE operator bool () const
 
bool connected () const
 
void disconnect ()
 

Friends

template<class ThreadPolicy , class Allocator , class F >
class signal_base
 
template<class T , class IDGenerator , class FlagType , class Allocator >
class slot_list
 

Detailed Description

template<class Signal>
class slimsig::connection< Signal >

Definition at line 26 of file connection.h.

Constructor & Destructor Documentation

◆ connection() [1/3]

template<class Signal >
slimsig::connection< Signal >::connection ( )
inline

Definition at line 36 of file connection.h.

◆ connection() [2/3]

template<class Signal >
slimsig::connection< Signal >::connection ( const connection< Signal > &  other)
inline

Definition at line 37 of file connection.h.

◆ connection() [3/3]

template<class Signal >
slimsig::connection< Signal >::connection ( connection< Signal > &&  other)
inline

Definition at line 38 of file connection.h.

Member Function Documentation

◆ connected()

template<class Signal >
bool slimsig::connection< Signal >::connected ( ) const
inline

Definition at line 57 of file connection.h.

◆ disconnect()

template<class Signal >
void slimsig::connection< Signal >::disconnect ( )
inline

Definition at line 67 of file connection.h.

◆ operator bool()

template<class Signal >
_FORCE_INLINE slimsig::connection< Signal >::operator bool ( ) const
inlineexplicit

Definition at line 56 of file connection.h.

◆ operator=() [1/2]

template<class Signal >
connection& slimsig::connection< Signal >::operator= ( connection< Signal > &&  rhs)
inline

Definition at line 40 of file connection.h.

◆ operator=() [2/2]

template<class Signal >
connection& slimsig::connection< Signal >::operator= ( const connection< Signal > &  rhs)
inline

Definition at line 44 of file connection.h.

◆ swap()

template<class Signal >
void slimsig::connection< Signal >::swap ( connection< Signal > &  other)
inline

Definition at line 50 of file connection.h.

Friends And Related Function Documentation

◆ signal_base

template<class Signal >
template<class ThreadPolicy , class Allocator , class F >
friend class signal_base
friend

Definition at line 76 of file connection.h.

◆ slot_list

template<class Signal >
template<class T , class IDGenerator , class FlagType , class Allocator >
friend class slot_list
friend

Definition at line 78 of file connection.h.


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