BEAST/BSE - Better Audio System and Sound Engine  0.8.0
 All Classes Namespaces Files Functions Typedefs Defines
Public Member Functions | Protected Member Functions
Birnet::Deletable::DeletionHook Class Reference

#include <birnetutils.hh>

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 Birnet::Deletable.


Member Function Documentation

bool Birnet::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 Birnet::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 Typedefs Defines