ClassLuaNotificationQueuenew
Members
| add(object) | → uint64 | Registers an object so that after it's destroyed, a notification is queued. [...] |
Registers an object so that after it's destroyed, a notification is queued. [...] | ||
| find(object) | → uint64? | Checks if provided object is already registered and returns existing registration number for it. [...] |
Checks if provided object is already registered and returns existing registration number for it. [...] | ||
| remove(registration_id) | Removes a registration based on registration number. | |
Removes a registration based on registration number. | ||
| clear() | Removes all registrations. | |
Removes all registrations. | ||
| poll() | → uint64? | Gets at most 1 registration id for which an object was destroyed. |
Gets at most 1 registration id for which an object was destroyed. | ||
| poll_all() | → array[uint64] | Gets all registration ids for which object were destroyed. |
Gets all registration ids for which object were destroyed. | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
Methods
add(object) → uint64
Parameters
| object | :: RegistrationTarget | The object to register. |
The object to register. | ||
Return values
| → uint64 | The registration number. |
find(object) → uint64?
Parameters
| object | :: RegistrationTarget | The object to check. |
The object to check. | ||
Return values
| → uint64? | The registration number if object is registered. |

