sandbox
Loading...
Searching...
No Matches
sbx::signals::scoped_connection Class Referencefinal
Inheritance diagram for sbx::signals::scoped_connection:
sbx::signals::connection

Public Member Functions

 scoped_connection (const connection &c) noexcept
 
 scoped_connection (connection &&c) noexcept
 
 scoped_connection (const scoped_connection &other) noexcept=delete
 
 scoped_connection (scoped_connection &&other) noexcept
 
auto operator= (const scoped_connection &other) noexcept -> scoped_connection &=delete
 
auto operator= (scoped_connection &&other) noexcept -> scoped_connection &
 
- Public Member Functions inherited from sbx::signals::connection
 connection (const connection &) noexcept=default
 
 connection (connection &&) noexcept=default
 
auto operator= (const connection &other) noexcept -> connection &=default
 
auto operator= (connection &&other) noexcept -> connection &=default
 
bool is_valid () const noexcept
 
bool is_connected () const noexcept
 
bool disconnect () noexcept
 
bool is_blocked () const noexcept
 
void block () noexcept
 
void unblock () noexcept
 
auto blocker () const noexcept -> connection_blocker
 

Friends

template<lockable , typename... >
class signal_base
 

Additional Inherited Members

- Protected Member Functions inherited from sbx::signals::connection
 connection (std::weak_ptr< slot_state > state) noexcept
 
- Protected Attributes inherited from sbx::signals::connection
std::weak_ptr< slot_state_state
 

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