LConnectionID Class

#include <Layers/lconnections.h>

Public Functions

LConnectionID()
LConnectionID(int value)
LConnectionID(const LConnectionID & other)
LConnectionID & operator=(const LConnectionID & other)
bool operator<(const LConnectionID & other)
bool operator==(const LConnectionID & other)
LConnectionID operator++(int)

Detailed Description

Unique identifier to track and manage a callback connection so it can be disconnected later when no longer needed.

Member Function Documentation

LConnectionID()

Constructs an invalid connection ID.

LConnectionID(int value)

Constructs a connection ID with the given value.

LConnectionID(const LConnectionID & other)

Explicit default copy constructor for LConnectionID.

LConnectionID & operator=(const LConnectionID & other)

Assigns the value of another connection ID to this one.

bool operator<(const LConnectionID & other)

Compares this connection ID with another for ordering.

bool operator==(const LConnectionID & other)

Checks if this connection ID equals another.

LConnectionID operator++(int)

Post-increment operator. Returns the current ID and increments it.

Appearance
Theme
—