Public Member Functions | List of all members
CallbackRegistry< CallbackType > Class Template Reference

Base class with which callbacks are registered. More...

Inheritance diagram for CallbackRegistry< CallbackType >:
Inheritance graph
[legend]
Collaboration diagram for CallbackRegistry< CallbackType >:
Collaboration graph
[legend]

Public Member Functions

 CallbackRegistry ()
 
virtual ~CallbackRegistry ()
 
- Public Member Functions inherited from UILList
 UILList ()=default
 
 UILList (T *item)
 
 UILList (const UILList< LListBase, T > &lst)
 
Tfirst ()
 
const Tfirst () const
 
Tlast ()
 
const Tlast () const
 
TremoveHead ()
 
Tremove (T *item)
 
Tremove (iterator &iter)
 
void operator= (const UILList< LListBase, T > &lst)
 
bool operator== (const UILList< LListBase, T > &lst) const
 
bool operator!= (const UILList< LListBase, T > &lst) const
 
OstreamwriteList (Ostream &os, const label shortLen=0) const
 
iterator begin ()
 
const_iterator cbegin () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator crbegin () const
 
const_iterator begin () const
 
const_reverse_iterator rbegin () const
 
const iteratorend ()
 
const const_iteratorcend () const
 
const reverse_iteratorrend ()
 
const const_reverse_iteratorcrend () const
 
const const_iteratorend () const
 
const const_reverse_iteratorrend () const
 

Additional Inherited Members

- Public Types inherited from UILList
typedef T value_type
 
typedef Tpointer
 
typedef Treference
 
typedef label size_type
 
typedef label difference_type
 
using base_iterator = typename LListBase::iterator
 
using const_base_iterator = typename LListBase::const_iterator
 
- Public Attributes inherited from UILList
const typedef Tconst_pointer
 
const typedef Tconst_reference
 

Detailed Description

template<class CallbackType>
class Foam::CallbackRegistry< CallbackType >

Base class with which callbacks are registered.

Derive from this class and extend by adding the appropriate callback functions that loop and call the callback functions for each entry.

Source files

Definition at line 64 of file CallbackRegistry.H.

Constructor & Destructor Documentation

◆ CallbackRegistry()

Definition at line 27 of file CallbackRegistry.C.

◆ ~CallbackRegistry()

~CallbackRegistry
virtual

Definition at line 37 of file CallbackRegistry.C.

References forAllIters.


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