EnTT 3.13.0
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
entt::connection Class Reference

Connection class. More...

#include <sigh.hpp>

Public Member Functions

 connection ()
 Default constructor.
 
 operator bool () const noexcept
 Checks whether a connection is properly initialized.
 
void release ()
 Breaks the connection.
 

Friends

template<typename >
class sink
 

Detailed Description

Connection class.

Opaque object the aim of which is to allow users to release an already estabilished connection without having to keep a reference to the signal or the sink that generated it.

Definition at line 226 of file sigh.hpp.

Constructor & Destructor Documentation

◆ connection()

entt::connection::connection ( )
inline

Default constructor.

Definition at line 235 of file sigh.hpp.

Member Function Documentation

◆ operator bool()

entt::connection::operator bool ( ) const
inlineexplicitnoexcept

Checks whether a connection is properly initialized.

Returns
True if the connection is properly initialized, false otherwise.

Definition at line 243 of file sigh.hpp.

◆ release()

void entt::connection::release ( )
inline

Breaks the connection.

Definition at line 248 of file sigh.hpp.

Friends And Related Symbol Documentation

◆ sink

template<typename >
friend class sink
friend

Definition at line 228 of file sigh.hpp.


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