Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions
Rapicorn::Deletable::DeletionHook Class Reference

DeletionHook is the base implementation class for hooks which are hooked up into the deletion phase of a Rapicorn::Deletable. More...

#include <objects.hh>

Inherited by Rapicorn::XurlNode.

List of all members.

Public Member Functions

bool deletable_add_hook (void *any)
bool deletable_add_hook (Deletable *deletable)
bool deletable_remove_hook (void *any)
bool deletable_remove_hook (Deletable *deletable)

Protected Member Functions

virtual void monitoring_deletable (Deletable &deletable)=0
virtual void dismiss_deletable ()=0

Detailed Description

DeletionHook is the base implementation class for hooks which are hooked up into the deletion phase of a Rapicorn::Deletable.


Member Function Documentation

bool Rapicorn::Deletable::DeletionHook::deletable_add_hook ( Deletable deletable)
Parameters:
deletablepossible Deletable* handle
Returns:
TRUE if the hook was added

Adds the deletion hook to deletable if it is non NULL. The deletion hook is asserted to be so far uninstalled. This function is MT-safe and may be called from any thread.

bool Rapicorn::Deletable::DeletionHook::deletable_remove_hook ( Deletable deletable)
Parameters:
deletablepossible Deletable* handle
Returns:
TRUE if the hook was removed

Removes the deletion hook from deletable if it is non NULL. The deletion hook is asserted to be installed on deletable. This function is MT-safe and may be called from any thread.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines