#include <Handle.hpp>
Public Member Functions | |
CleanupHandle (const Handle &hs) | |
~CleanupHandle () | |
Public Member Functions inherited from RTT::Handle | |
bool | connect () |
bool | connected () const |
bool | disconnect () |
Handle () | |
the connection type for the slot of this Handle More... | |
Handle (connection_t conn) | |
Handle (const Handle &hs) | |
operator bool () const | |
bool | ready () const |
~Handle () | |
Private Member Functions | |
CleanupHandle () | |
Additional Inherited Members | |
Protected Attributes inherited from RTT::Handle | |
connection_t | m_conn |
A connection Handle of a (connected) slot which disconnects and cleans up (free all resources) the connection object in its destructor.
After CleanupHandle was destroyed, the connection is no longer usable and all associated callbacks have been removed. If another Handle object shares the same connection, it will no longer be able to connect().
Definition at line 163 of file Handle.hpp.
|
private |
RTT::CleanupHandle::CleanupHandle | ( | const Handle & | hs | ) |
Definition at line 102 of file Handle.cpp.
RTT::CleanupHandle::~CleanupHandle | ( | ) |
Cleanup all signal and slot connection resources. If connected, disconnect the slot from the signal. Calls connection::destroy() on the connection object.
Definition at line 107 of file Handle.cpp.