EnTT 3.14.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 229 of file sigh.hpp.

Constructor & Destructor Documentation

◆ connection()

entt::connection::connection ( )
inline

Default constructor.

Definition at line 238 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 245 of file sigh.hpp.

◆ release()

void entt::connection::release ( )
inline

Breaks the connection.

Definition at line 250 of file sigh.hpp.

Friends And Related Symbol Documentation

◆ sink

template<typename >
friend class sink
friend

Definition at line 231 of file sigh.hpp.


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