Interface: moteiv.tos.lib.util.pool.ObjectPoolEvents

interface ObjectPoolEvents<typedef object_type>

Notification of changes that occur in a generic object pool structure.

Author:
Joe Polastre, Moteiv Corporation <info@moteiv.com>

Events
event void inserted(object_type *object) An object was inserted into the pool.
event void removed(object_type *object) An object was removed from the pool.

Events - Details

inserted

event void inserted(object_type *object)

An object was inserted into the pool.

removed

event void removed(object_type *object)

An object was removed from the pool. The pointer is only valid within the event handler and must be copied if the content is required outside of this function's context.