Public Member Functions | Private Member Functions | List of all members
RTT::CleanupHandle Class Reference

#include <Handle.hpp>

Inheritance diagram for RTT::CleanupHandle:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

RTT::CleanupHandle::CleanupHandle ( )
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.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46