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

Events emitted by the higher-level algorithms (e.g. More...

#include "bertini2/detail/events.hpp"
#include "bertini2/detail/observable.hpp"
#include "bertini2/common/config.hpp"
#include <cstddef>
Include dependency graph for events.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bertini::algorithm::PathStarted< ObservedT >
 The algorithm is beginning work on one solution path, carrying its index. More...
class  bertini::algorithm::PathComplete< ObservedT >
 The algorithm has finished work on one solution path, carrying its index. More...

Namespaces

namespace  bertini
namespace  bertini::algorithm

Functions

 bertini::algorithm::ADD_BERTINI_EVENT_TYPE (AlgorithmEvent, ConstEvent)
 Generic event for a numerical algebraic geometry algorithm.
 bertini::algorithm::ADD_BERTINI_EVENT_TYPE (AlgorithmStarted, AlgorithmEvent)
 The algorithm has begun (e.g.
 bertini::algorithm::ADD_BERTINI_EVENT_TYPE (AlgorithmComplete, AlgorithmEvent)
 The algorithm has finished.

Detailed Description

Events emitted by the higher-level algorithms (e.g.

ZeroDim) during a solve.

These are emitted on a non-templated emitter base (e.g. AnyZeroDim) so that a single observer type can watch every templated instantiation of the algorithm. An observer recovers the concrete algorithm (and its full interface) from the event's Get(): in C++ via dynamic_cast, in Python automatically via RTTI to the most-derived registered type.