CallbackRegistry< CallbackType > Class Template Reference

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

Inheritance diagram for CallbackRegistry< CallbackType >:
Collaboration diagram for CallbackRegistry< CallbackType >:

Public Member Functions

 CallbackRegistry ()
 Construct null. More...
 CallbackRegistry (const CallbackRegistry &)=delete
 Disallow default bitwise copy construction. More...
virtual ~CallbackRegistry ()
 Destructor. More...
void operator= (const CallbackRegistry &)=delete
 Disallow default bitwise assignment. 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 > &)
 Copy constructor. More...
 UILList (UILList< LListBase, T > &&)
 Move constructor. 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 > &)
 Assignment operator. More...
void operator= (UILList< LListBase, T > &&)
 Move assignment operator. More...
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() [1/2]

Construct null.

Definition at line 31 of file CallbackRegistry.C.

◆ CallbackRegistry() [2/2]

CallbackRegistry ( const CallbackRegistry< CallbackType > &  )

Disallow default bitwise copy construction.

◆ ~CallbackRegistry()

~CallbackRegistry ( )


Definition at line 41 of file CallbackRegistry.C.

References forAllIter.

Member Function Documentation

◆ operator=()

void operator= ( const CallbackRegistry< CallbackType > &  )

Disallow default bitwise assignment.

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