Public Member Functions | Private Member Functions
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 ()
 Construct null. More...
 
virtual ~CallbackRegistry ()
 Destructor. More...
 
- Public Member Functions inherited from UIDLList< CallbackType >
 UIDLList ()
 Null construct. More...
 
 UIDLList (CallbackType a)
 Construct given initial T. More...
 
 UIDLList (Istream &is)
 Construct from Istream. More...
 
- Public Member Functions inherited from UILList< DLListBase, CallbackType >
 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_iterator begin () const
 
const iteratorend ()
 
const const_iteratorend () const
 
const_iterator cbegin () const
 
const const_iteratorcend () 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...
 

Private Member Functions

 CallbackRegistry (const CallbackRegistry &)
 Disallow default bitwise copy construct. More...
 
void operator= (const CallbackRegistry &)
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Public Types inherited from UILList< DLListBase, CallbackType >
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 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
 
- Data Fields inherited from UILList< DLListBase, CallbackType >
const typedef Tconst_reference
 Type that can be used for storing into constant. More...
 

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]

CallbackRegistry ( const CallbackRegistry< CallbackType > &  )
private

Disallow default bitwise copy construct.

◆ CallbackRegistry() [2/2]

Construct null.

Definition at line 31 of file CallbackRegistry.C.

◆ ~CallbackRegistry()

~CallbackRegistry
virtual

Destructor.

Definition at line 41 of file CallbackRegistry.C.

Member Function Documentation

◆ operator=()

void operator= ( const CallbackRegistry< CallbackType > &  )
private

Disallow default bitwise assignment.


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