 |
PK_DEBUG_SESSION_watch_classes |
|
PK_ERROR_code_t PK_DEBUG_SESSION_watch_classes
(
--- received arguments ---
PK_CLASS_array_t create_classes, --- classes to watch
--- (may be empty)
PK_DEBUG_SESSION_create_cb_t create_fn, --- create callback
--- (may be NULL)
PK_CLASS_array_t destroy_classes, --- classes to watch
--- (may be empty)
PK_DEBUG_SESSION_destroy_cb_t destroy_fn --- destroy callback
--- (may be NULL)
)
This function registers arrays of item classes which are to be watched
via two application callback functions.
The application may register arrays of item classes to watch via a
create and a destroy callback function. The create callback function
will be invoked whenever one of the watched items is created. The
destroy callback will be invoked whenever one of the watched items
is deleted.
This function may be called before or after the session has been
started (ie. before or after a call to PK_SESSION_start).
The system to watch classes may be disabled by invoking the function and
specifying zero classes to watch.
See here for more information on this function.
NOTE: This function is only to be used for debugging purposes, it
is not to be used to track the creation and deletion of tagged
items during general application execution.