Base class with which callbacks are registered. More...
#include <OpenFOAM/CallbackRegistry.H>
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.
Definition at line 67 of file CallbackRegistry.H.
Public Member Functions | |
CallbackRegistry () | |
Construct null. | |
virtual | ~CallbackRegistry () |
![]() | |
UIDLList () | |
Null construct. | |
UIDLList (CallbackTypea) | |
Construct given initial T. | |
UIDLList (Istream &is) | |
Construct from Istream. | |
![]() | |
UILList () | |
Null construct. | |
UILList (CallbackType *a) | |
Construct given initial T. | |
UILList (const UILList< DLListBase, CallbackType > &) | |
Construct as copy. | |
CallbackType * | first () |
Return the first entry. | |
const CallbackType * | first () const |
Return the first entry. | |
CallbackType * | last () |
Return the last entry. | |
const CallbackType * | last () const |
Return the last entry. | |
CallbackType * | removeHead () |
Remove and return head. | |
CallbackType * | remove (CallbackType *p) |
Remove and return element. | |
CallbackType * | remove (iterator &it) |
Remove and return specified by iterator. | |
void | operator= (const UILList< DLListBase, CallbackType > &) |
bool | operator== (const UILList< DLListBase, CallbackType > &) const |
Equality operation on ULists of the same type. | |
bool | operator!= (const UILList< DLListBase, CallbackType > &) const |
The opposite of the equality operation. Takes linear time. | |
![]() | |
DLListBase () | |
Null construct. | |
DLListBase (link *) | |
Construct given initial entry. | |
~DLListBase () | |
label | size () const |
Return number of elements in list. | |
bool | empty () const |
Return true if the list is empty. | |
void | insert (link *) |
Add at head of list. | |
void | append (link *) |
Add at tail of list. | |
bool | swapUp (link *) |
Swap this element with the one above unless it is at the top. | |
bool | swapDown (link *) |
Swap this element with the one below unless it is at the bottom. | |
link * | remove (link *) |
Remove and return element. | |
link * | replace (link *oldLink, link *newLink) |
Replace oldLink with newLink and return element. | |
link * | replace (iterator &oldIter, link *newLink) |
Replace oldIter with newLink and return element. | |
void | clear () |
Clear the list. | |
void | transfer (DLListBase &) |
Transfer the contents of the argument into this List. | |
iterator | begin () |
const iterator & | end () |
const_iterator | cbegin () const |
const const_iterator & | cend () const |
const_iterator | begin () const |
const const_iterator & | end () const |
CallbackRegistry | ( | ) |
Construct null.
Definition at line 31 of file CallbackRegistry.C.
|
virtual |
Definition at line 41 of file CallbackRegistry.C.
References forAllIter.