Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

singleton_cleanup_list Class Reference

#include "singleton-cleanup.h"

Collaboration diagram for singleton_cleanup_list:
Collaboration graph
[legend]

List of all members.

Public Types

typedef void(* fptr )(void)

Public Member Functions

 ~singleton_cleanup_list (void)

Static Public Member Functions

static void add (fptr f)
static void cleanup (void)

Protected Member Functions

 singleton_cleanup_list (void)

Private Member Functions

 singleton_cleanup_list (const singleton_cleanup_list &)
void do_add (fptr f)
singleton_cleanup_listoperator= (const singleton_cleanup_list &)

Static Private Member Functions

static void cleanup_instance (void)
static bool instance_ok (void)

Private Attributes

std::set< fptrfcn_list

Static Private Attributes

static singleton_cleanup_listinstance = 0

Detailed Description

Definition at line 6 of file singleton-cleanup.h.


Member Typedef Documentation

typedef void(* singleton_cleanup_list::fptr)(void)

Definition at line 16 of file singleton-cleanup.h.


Constructor & Destructor Documentation

singleton_cleanup_list::singleton_cleanup_list ( void   )  [inline, protected]

Definition at line 12 of file singleton-cleanup.h.

Referenced by instance_ok().

singleton_cleanup_list::~singleton_cleanup_list ( void   ) 

Definition at line 32 of file singleton-cleanup.cc.

References fcn_list.

singleton_cleanup_list::singleton_cleanup_list ( const singleton_cleanup_list  )  [private]

Member Function Documentation

static void singleton_cleanup_list::add ( fptr  f  )  [inline, static]
static void singleton_cleanup_list::cleanup ( void   )  [inline, static]

Definition at line 26 of file singleton-cleanup.h.

static void singleton_cleanup_list::cleanup_instance ( void   )  [inline, static, private]

Definition at line 34 of file singleton-cleanup.h.

void singleton_cleanup_list::do_add ( fptr  f  )  [inline, private]

Definition at line 38 of file singleton-cleanup.h.

bool singleton_cleanup_list::instance_ok ( void   )  [static, private]
singleton_cleanup_list& singleton_cleanup_list::operator= ( const singleton_cleanup_list  )  [private]

Member Data Documentation

Definition at line 36 of file singleton-cleanup.h.

Referenced by ~singleton_cleanup_list().

Definition at line 30 of file singleton-cleanup.h.

Referenced by instance_ok().


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