![]() |
GA::kit v0.3
G&A's in-house C++ application framework
|
#include <sigslot.hpp>
Public Member Functions | |
| connection ()=default | |
| virtual | ~connection ()=default |
| connection (const connection &) noexcept=default | |
| connection & | operator= (const connection &) noexcept=default |
| connection (connection &&) noexcept=default | |
| connection & | operator= (connection &&) noexcept=default |
| bool | valid () const noexcept |
| bool | connected () const noexcept |
| bool | disconnect () noexcept |
| bool | blocked () const noexcept |
| void | block () noexcept |
| void | unblock () noexcept |
| connection_blocker | blocker () const noexcept |
Protected Member Functions | |
| connection (std::weak_ptr< detail::slot_state > s) noexcept | |
Protected Attributes | |
| std::weak_ptr< detail::slot_state > | m_state |
Friends | |
| template<typename , typename... > | |
| class | signal_base |
A connection object allows interaction with an ongoing slot connection
It allows common actions such as connection blocking and disconnection. Note that connection is not a RAII object, one does not need to hold one such object to keep the signal-slot connection alive.
|
default |
|
virtualdefault |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineexplicitprotectednoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
protected |