Castor3D 0.16.0
Multiplatform 3D engine
|
Connection to a signal. More...
#include <Signal.hpp>
Public Member Functions | |
ConnectionT () | |
Constructor. | |
ConnectionT (uint32_t connection, signal_type &signal) | |
Constructor. | |
ConnectionT (ConnectionT< signal_type > &&rhs) noexcept | |
Move constructor. | |
ConnectionT & | operator= (ConnectionT< signal_type > &&rhs) noexcept |
Move assignment operator. | |
~ConnectionT () noexcept | |
Destructor. | |
bool | disconnect () noexcept |
Disconnects the function from the signal. | |
operator bool () const noexcept | |
Additional Inherited Members | |
Protected Member Functions inherited from castor::NonCopyable | |
NonCopyable ()=default | |
Constructor. | |
~NonCopyable () noexcept=default | |
Destructor. | |
Connection to a signal.
|
inline |
Constructor.
|
inline |
Constructor.
[in] | connection | The connection to the signal. |
[in] | signal | The signal. |
References castor::makeStringStream().
|
inlinenoexcept |
Move constructor.
[in,out] | rhs | The object to move. |
|
inlinenoexcept |
Destructor.
References castor::ConnectionT< MySignalT >::disconnect().
|
inlinenoexcept |
Disconnects the function from the signal.
Referenced by castor::ConnectionT< MySignalT >::operator=(), and castor::ConnectionT< MySignalT >::~ConnectionT().
|
inlinenoexcept |
|
inlinenoexcept |
Move assignment operator.
[in,out] | rhs | The object to move. |
References castor::ConnectionT< MySignalT >::disconnect().