Public Member Functions | List of all members
gb_callback_list Struct Reference

#include <gb_cb.h>

Inheritance diagram for gb_callback_list:
Inheritance graph
Collaboration diagram for gb_callback_list:
Collaboration graph

Public Member Functions

bool call (GBDATA *with, GB_CB_TYPE typemask)
- Public Member Functions inherited from CallbackList< gb_callback >
bool contains_unremoved_callback (const gb_callback &like) const
bool empty () const
void add_unchecked (const gb_callback &cb)
void add (const gb_callback &newcb)
const gb_callbackget_tail () const
void remove_callbacks_that (PRED shallRemove)

Additional Inherited Members

- Public Types inherited from CallbackList< gb_callback >
typedef gb_callback cbtype
typedef std::list< cbtypelisttype
typedef listtype::iterator itertype
typedef listtype::const_iterator const_itertype
- Public Attributes inherited from CallbackList< gb_callback >
listtype callbacks

Detailed Description

Definition at line 143 of file gb_cb.h.

Member Function Documentation

bool gb_callback_list::call ( GBDATA with,
GB_CB_TYPE  typemask 

call all matching callbacks. only done in NO_TRANSACTION_MODE

withdatabase entry passed to callback
typemaskcall only if callback-type and typemask have common bits
true if some callback in list has to be removed afterwards

Definition at line 144 of file gb_cb.h.

References CallbackList< gb_callback >::callbacks, and cb.

Referenced by gb_do_callbacks(), and run_close_callbacks().

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