Layers 2.0 is archived. The latest version is 3.0. Read the 3.0 docs

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 for callback connections.

Used to track and manage callback connections so they 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)

No description available.

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
—