Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
Connection.hpp File Reference

RAII connection handle for event system. More...

#include "../core/Types.hpp"
#include <functional>
Include dependency graph for Connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esengine::Connection
 RAII handle for signal connections. More...
class  esengine::ScopedConnection
 Scoped connection that auto-disconnects in a specific scope. More...
class  esengine::ConnectionHolder
 Container for managing multiple connections. More...

Namespaces

namespace  esengine

Typedefs

using esengine::CallbackId = u64

Variables

constexpr CallbackId esengine::INVALID_CALLBACK_ID = 0

Detailed Description

RAII connection handle for event system.

Manages the lifetime of signal connections. When destroyed, automatically disconnects from the signal to prevent dangling callbacks.

Author
ESEngine Team
Date
2026

Definition in file Connection.hpp.