44 using namespace detail;
76 return m_conn->disconnect();
83 Handle::operator bool()
const {
92 ScopedHandle::ScopedHandle(
const Handle& hs)
102 CleanupHandle::CleanupHandle(
const Handle& hs)
~Handle()
No-op destructor, does not change signal/slot state.
~ScopedHandle()
If connected, disconnect the slot from the signal.
bool connected() const
Inspect if this Handle represents a connected signal and slot.
~CleanupHandle()
Cleanup all signal and slot connection resources.
bool disconnect()
Disconnect the slot from the signal.
bool ready() const
Inspect if this handle is pointing to valid (existing) connection(s).
bool connect()
(Re-)Connect the slot with the signal.
connection_t m_conn
This is actually a smart pointer which always points to an existing connection object.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
The Handle holds the information, and allows manipulation, of a connection between a internal::Signal...
Handle()
the connection type for the slot of this Handle