CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
slimsig::scoped_connection< connection > Class Template Reference

#include <connection.h>

Public Member Functions

 scoped_connection ()
 
 scoped_connection (const connection &target)
 
 scoped_connection (const scoped_connection &)=delete
 
 scoped_connection (scoped_connection &&other)
 
scoped_connectionoperator= (const connection &rhs)
 
scoped_connectionoperator= (scoped_connection &&rhs)
 
void swap (scoped_connection &other)
 
connection release ()
 
 ~scoped_connection ()
 

Detailed Description

template<class connection>
class slimsig::scoped_connection< connection >

Definition at line 87 of file connection.h.

Constructor & Destructor Documentation

◆ scoped_connection() [1/4]

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

Definition at line 89 of file connection.h.

◆ scoped_connection() [2/4]

template<class connection >
slimsig::scoped_connection< connection >::scoped_connection ( const connection target)
inline

Definition at line 90 of file connection.h.

◆ scoped_connection() [3/4]

template<class connection >
slimsig::scoped_connection< connection >::scoped_connection ( const scoped_connection< connection > &  )
delete

◆ scoped_connection() [4/4]

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

Definition at line 92 of file connection.h.

◆ ~scoped_connection()

template<class connection >
slimsig::scoped_connection< connection >::~scoped_connection ( )
inline

Definition at line 109 of file connection.h.

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 94 of file connection.h.

◆ operator=() [2/2]

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

Definition at line 97 of file connection.h.

◆ release()

template<class connection >
connection slimsig::scoped_connection< connection >::release ( )
inline

Definition at line 104 of file connection.h.

◆ swap()

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

Definition at line 101 of file connection.h.


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