Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
Loading...
Searching...
No Matches
bertini::AnyObserver Class Referenceabstract

Strawman base class for Observer objects. More...

#include <observer.hpp>

Inheritance diagram for bertini::AnyObserver:
[legend]

Public Member Functions

virtual void Observe (AnyEvent const &e)=0
 Observe the observable object being observed. This is probably in response to NotifyObservers.
 

Detailed Description

Strawman base class for Observer objects.

See also
Observer

Member Function Documentation

◆ Observe()

virtual void bertini::AnyObserver::Observe ( AnyEvent const & e)
pure virtual

Observe the observable object being observed. This is probably in response to NotifyObservers.

This virtual function must be overridden by actual observers, defining how they observe the observable they are observing, probably filtering events and doing something specific for different ones.

Parameters
eThe event which was emitted by the observed object.

Implemented in bertini::endgame::GoryDetailLogger< EndgameT >, and bertini::MultiObserver< ObservedT, ObserverTypes >.


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