Castor3D 0.16.0
Multiplatform 3D engine
|
Connection to a thread safe signal. More...
#include <ThreadSafeSignal.hpp>
Public Member Functions | |
TSConnectionT () | |
Constructor. | |
TSConnectionT (uint32_t connection, my_signal &signal) | |
Constructor. | |
TSConnectionT (TSConnectionT< my_signal > &&rhs) noexcept | |
Move constructor. | |
TSConnectionT & | operator= (TSConnectionT< my_signal > &&rhs) noexcept |
Move assignment operator. | |
~TSConnectionT () 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 thread safe 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::TSConnectionT< SignalT >::disconnect(), and castor::makeUniqueLock().
|
inlinenoexcept |
Disconnects the function from the signal.
Referenced by castor::TSConnectionT< SignalT >::operator=(), and castor::TSConnectionT< SignalT >::~TSConnectionT().
|
inlinenoexcept |
|
inlinenoexcept |
Move assignment operator.
[in,out] | rhs | The object to move. |
References castor::TSConnectionT< SignalT >::disconnect().