Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
observer.hpp File Reference

Contains the observer base types. More...

#include <tuple>
#include <typeindex>
#include <utility>
#include <vector>
#include <boost/fusion/adapted/std_tuple.hpp>
#include <boost/fusion/algorithm/iteration/for_each.hpp>
#include <boost/fusion/include/for_each.hpp>
#include "bertini2/detail/events.hpp"
Include dependency graph for observer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bertini::AnyObserver
 Strawman base class for Observer objects. More...
class  bertini::Observer< ObservedT >
 Actual observer type, which you should derive from to extract custom information from observable types. More...
class  bertini::MultiObserver< ObservedT, ObserverTypes >
 A class which can glob together observer types into a new, single observer type. More...
class  bertini::TypedObserver< Derived, ObservedT, ConcreteEvents >
 CRTP base that turns an observer into a set of typed Observe() overloads. More...

Namespaces

namespace  bertini

Enumerations

enum class  bertini::ObserveResult { bertini::KeepObserving , bertini::Unsubscribe }
 The result an observer returns from Observe(), telling the observable whether to keep sending it events. More...

Detailed Description

Contains the observer base types.