ponder 3.2
C++ reflection library
ponder::Observer Class Reference

Receives notification about creation / destruction of metaclasses and metaenums. More...

#include <observer.hpp>

Public Member Functions

virtual ~Observer ()
 Destructor.
 
virtual void classAdded (const Class &added)
 Functon called when a new metaclass is created. More...
 
virtual void classRemoved (const Class &removed)
 Functon called when an existing metaclass is destroyed. More...
 
virtual void enumAdded (const Enum &added)
 Functon called when a new metaenum is created. More...
 
virtual void enumRemoved (const Enum &removed)
 Functon called when an existing metaenum is destroyed. More...
 

Detailed Description

Receives notification about creation / destruction of metaclasses and metaenums.

This class is a base class which must be derived in order to create custom observers. None of the virtual functions is pure, so you can only override the one you're interested in.

See also
Class, Enum

Member Function Documentation

◆ classAdded()

virtual void ponder::Observer::classAdded ( const Class added)
virtual

Functon called when a new metaclass is created.

Parameters
addedMetaclass that have been added

◆ classRemoved()

virtual void ponder::Observer::classRemoved ( const Class removed)
virtual

Functon called when an existing metaclass is destroyed.

Parameters
removedMetaclass that have been destroyed

◆ enumAdded()

virtual void ponder::Observer::enumAdded ( const Enum added)
virtual

Functon called when a new metaenum is created.

Parameters
addedMetaenum that have been added

◆ enumRemoved()

virtual void ponder::Observer::enumRemoved ( const Enum removed)
virtual

Functon called when an existing metaenum is destroyed.

Parameters
removedMetaenum that have been destroyed

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