⁘ data.core

IDDispenser

go to → Members

Extends

Broadcasting

This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals

Methods

Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

protected_Broadcast(p_signal, …args)

Inherited From:
Initialization

Methods

protectedoverride-me_Init()

Inherited From:

protectedoverride-me_PostInit()

Inherited From:
Utils

Methods

protected_Bind(p_func)

Inherited From:
Pooling

Group of methods related to the NKMjs pooling system.

Members

read-onlyisReleasing :boolean

Inherited From:

Methods

Release()

Inherited From:

protectedoverride-me_CleanUp()

Inherited From:
Misc

Members

read-onlyidList :collections.List

TODO

Methods

Contains(p_id) → {boolean}

Return whether or not the repertoire contains an ID associated with a given string

Parameters:
Name Type Description
p_id string | data.core.ID

Create(p_string) → {data.core.ID}

Create and return new ID with a given string.

Parameters:
Name Type Description
p_string string

Get(p_string) → {data.core.ID}

Return the ID associated with a given string, if any

Parameters:
Name Type Description
p_string string

IsAvailable(p_stringID) → {boolean}

TODO

Parameters:
Name Type Description
p_stringID string

PreventRelease()

Inherited From:

Remove(p_id) → {boolean}

Removes & release a given ID.

Parameters:
Name Type Description
p_id data.core.ID

protected_OnIDReleased(p_id)

TODO

Parameters:
Name Type Description
p_id data.core.ID

protected_OnIDRenamed(p_id, p_newName, p_oldName)

TODO

Parameters:
Name Type Description
p_id data.core.ID
p_newName string
p_oldName string

protected_OnIDRenaming(p_id, p_newName)

TODO

Parameters:
Name Type Description
p_id data.core.ID
p_newName string