|
DART 6.12.2
|
class Connection More...
#include <Signal.hpp>
Public Member Functions | |
| Connection () | |
| Default constructor. | |
| Connection (const Connection &_other) | |
| Copy constructor. | |
| Connection (Connection &&_other) | |
| Move constructor. | |
| Connection & | operator= (const Connection &_other) |
| Assignment operator. | |
| Connection & | operator= (Connection &&_other) |
| Move assignment operator. | |
| virtual | ~Connection () |
| Destructor. | |
| bool | isConnected () const |
| Get true if the slot is connected. | |
| void | disconnect () const |
| Disconnect the connection. | |
Protected Member Functions | |
| Connection (const std::weak_ptr< signal::detail::ConnectionBodyBase > &_connectionBody) | |
| Constructor given connection body. | |
| Connection (std::weak_ptr< signal::detail::ConnectionBodyBase > &&_connectionBody) | |
| Move constructor given connection body. | |
Private Attributes | |
| std::weak_ptr< signal::detail::ConnectionBodyBase > | mWeakConnectionBody |
| Weak pointer to connection body in the signal. | |
Friends | |
| template<typename _Signature , template< class > class Combiner> | |
| class | Signal |
class Connection
| dart::common::Connection::Connection | ( | ) |
Default constructor.
| dart::common::Connection::Connection | ( | const Connection & | _other | ) |
Copy constructor.
| dart::common::Connection::Connection | ( | Connection && | _other | ) |
Move constructor.
|
virtual |
Destructor.
|
protected |
Constructor given connection body.
|
protected |
Move constructor given connection body.
| void dart::common::Connection::disconnect | ( | ) | const |
Disconnect the connection.
| bool dart::common::Connection::isConnected | ( | ) | const |
Get true if the slot is connected.
| Connection & dart::common::Connection::operator= | ( | Connection && | _other | ) |
Move assignment operator.
| Connection & dart::common::Connection::operator= | ( | const Connection & | _other | ) |
Assignment operator.
|
friend |
|
private |
Weak pointer to connection body in the signal.