ARB
Public Types | Public Member Functions | Public Attributes | List of all members
CallbackList< CB > Struct Template Reference

#include <gb_cb.h>

Inheritance diagram for CallbackList< CB >:
Inheritance graph
[legend]
Collaboration diagram for CallbackList< CB >:
Collaboration graph
[legend]

Public Types

typedef CB cbtype
 
typedef std::list< cbtypelisttype
 
typedef listtype::iterator itertype
 
typedef listtype::const_iterator const_itertype
 

Public Member Functions

bool contains_unremoved_callback (const CB &like) const
 
bool empty () const
 
void add_unchecked (const CB &cb)
 
void add (const CB &newcb)
 
const CB * get_tail () const
 
template<typename PRED >
void remove_callbacks_that (PRED shallRemove)
 

Public Attributes

listtype callbacks
 

Detailed Description

template<typename CB>
struct CallbackList< CB >

Definition at line 61 of file gb_cb.h.

Member Typedef Documentation

template<typename CB>
typedef CB CallbackList< CB >::cbtype

Definition at line 62 of file gb_cb.h.

template<typename CB>
typedef std::list<cbtype> CallbackList< CB >::listtype

Definition at line 63 of file gb_cb.h.

template<typename CB>
typedef listtype::iterator CallbackList< CB >::itertype

Definition at line 64 of file gb_cb.h.

template<typename CB>
typedef listtype::const_iterator CallbackList< CB >::const_itertype

Definition at line 65 of file gb_cb.h.

Member Function Documentation

template<typename CB>
bool CallbackList< CB >::contains_unremoved_callback ( const CB &  like) const

Definition at line 252 of file ad_cb.cxx.

References cb.

Referenced by CallbackList< gb_callback >::add().

template<typename CB>
bool CallbackList< CB >::empty ( ) const
inline

Definition at line 73 of file gb_cb.h.

Referenced by TrackedFile::empty(), and CallbackList< gb_callback >::get_tail().

template<typename CB>
void CallbackList< CB >::add_unchecked ( const CB &  cb)
inline

Definition at line 74 of file gb_cb.h.

Referenced by CallbackList< gb_callback >::add().

template<typename CB>
void CallbackList< CB >::add ( const CB &  newcb)
inline

Definition at line 75 of file gb_cb.h.

Referenced by add_to_callback_chain().

template<typename CB>
const CB* CallbackList< CB >::get_tail ( ) const
inline

Definition at line 80 of file gb_cb.h.

template<typename CB>
template<typename PRED >
void CallbackList< CB >::remove_callbacks_that ( PRED  shallRemove)
inline

Definition at line 83 of file gb_cb.h.

Referenced by gb_remove_callbacks_that().

Member Data Documentation

template<typename CB>
listtype CallbackList< CB >::callbacks

The documentation for this struct was generated from the following files: