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

Public Member Functions

 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
 

Protected Member Functions

 connection (std::weak_ptr< slot_state > state) noexcept
 

Protected Attributes

std::weak_ptr< slot_state_state
 

Friends

template<lockable , typename... >
class signal_base
 

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