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
Collaboration diagram for CallbackRegistry< CallbackType >:
Collaboration graph

Public Member Functions

 CallbackRegistry ()
 Construct null. More...
virtual ~CallbackRegistry ()
 Destructor. More...
- Public Member Functions inherited from UILList< LListBase, T >
 UILList ()
 Null construct. More...
 UILList (T *a)
 Construct given initial T. More...
 UILList (const UILList< LListBase, T > &)
 Construct as copy. More...
Tfirst ()
 Return the first entry. More...
const Tfirst () const
 Return the first entry. More...
Tlast ()
 Return the last entry. More...
const Tlast () const
 Return the last entry. More...
TremoveHead ()
 Remove and return head. More...
Tremove (T *p)
 Remove and return element. More...
Tremove (iterator &it)
 Remove and return specified by iterator. More...
void operator= (const UILList< LListBase, T > &)
iterator begin ()
const iteratorend ()
const_iterator cbegin () const
const const_iteratorcend () const
const_iterator begin () const
const const_iteratorend () const
const_reverse_iterator crbegin () const
const const_reverse_iteratorcrend () const
const_reverse_iterator rbegin () const
const const_reverse_iteratorrend () const
bool operator== (const UILList< LListBase, T > &) const
 Equality operation on ULists of the same type. More...
bool operator!= (const UILList< LListBase, T > &) const
 The opposite of the equality operation. Takes linear time. More...

Additional Inherited Members

- Public Types inherited from UILList< LListBase, T >
typedef T value_type
 Type of values the DLList contains. More...
typedef Treference
 Type that can be used for storing into DLList::value_type. More...
typedef const Tconst_reference
 Type that can be used for storing into constant. More...
typedef label size_type
 The type that can represent the size of a DLList. More...
typedef LListBase::iterator LListBase_iterator
typedef LListBase::const_iterator LListBase_const_iterator

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 66 of file CallbackRegistry.H.

Constructor & Destructor Documentation

◆ CallbackRegistry()

Construct null.

Definition at line 31 of file CallbackRegistry.C.

◆ ~CallbackRegistry()

~CallbackRegistry ( )


Definition at line 41 of file CallbackRegistry.C.

References forAllIter.

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