CallbackID

lumin.utils. CallbackID

CallbackID - Represents the unique ID of an std::function callback within a CallbackList.

Constructor

new CallbackID()

Default constructor.

Methods

equals(other) → {boolean}

Compare if one CallbackID is equal to another.

Parameters:
Name Type Description
other lumin.utils.CallbackID
Returns:
Type
boolean

invalidate()

Resets this CallbackID to an invalid state.

isValid() → {boolean}

Returns True if the CallbackID is a valid Id, otherwise it returns false.

Returns:
Type
boolean

toString() → {string}

Returns a string representation of the CallbackID.

Returns:
Type
string