observer Namespace Reference

Classes

struct  ObserverException
class  IChangeContext
class  BasicChangeContext
class  ComplexChangeContext
class  ScopedChangeContext
class  IObserver
struct  PriorityComparator
class  PriorityList
class  ObserverHandler

Enumerations

enum  ChangeContextType { BasicChangeContextType, ComplexChangeContextType, ScopedChangeContextType }

Functions

std::ostream & operator<< (std::ostream &str, ChangeContextType type)
template<typename T >
static void check_observerlist (UNUSED_PARAM const T &list)

Detailed Description

Namespace for generic observer stuff.


Enumeration Type Documentation

Supported context types.

Enumerator:
BasicChangeContextType 
ComplexChangeContextType 
ScopedChangeContextType 

Function Documentation

template<typename T >
static void observer::check_observerlist ( UNUSED_PARAM const T &  list  )  [inline, static]

Checks whether the observer list is empty.

References debug::DBG_CRIT, and kernelPrintDbg.

Referenced by pdfobjects::CContentStream::~CContentStream(), and pdfobjects::IProperty::~IProperty().

std::ostream& observer::operator<< ( std::ostream &  str,
ChangeContextType  type 
) [inline]

Operator for human readable ChangeContextType printing.

Parameters:
str Stream where to print.
type Change context type.

References BasicChangeContextType, ComplexChangeContextType, and ScopedChangeContextType.