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

#include <birnetutils.hh>

Inheritance diagram for Birnet::Deletable:
Inheritance graph
Collaboration diagram for Birnet::Deletable:
Collaboration graph

List of all members.


class  DeletionHook

Protected Member Functions

void invoke_deletion_hooks ()

Detailed Description

Deletable is a virtual base class that can be derived from (usually with public virtual) to ensure an object has a vtable and a virtual destructor. Also, it allows deletion hooks to be called during the objects destructor, by deriving from Birnet::Deletable::DeletionHook. No extra per-object space is consumed to allow deletion hooks, which makes Deletable a suitable base type for classes that may or may not need this feature (e.g. objects that can but often aren't used for signal handler connections).

Member Function Documentation

Invoke all deletion hooks installed on this deletable.

The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Typedefs Defines