Specialization for ForwardEvaluation. More...
#include <eventSystem.hpp>
Additional Inherited Members | |
Public Types inherited from codi::EventSystemBase< ForwardEvaluation< Real, Gradient > > | |
using | Handle |
Handle that identifies a registered callback. | |
using | Identifier |
Identifier type used by the tape. | |
using | Real |
Floating point type the tape is based on. | |
using | Tape |
See EventSystemBase. | |
Static Public Member Functions inherited from codi::EventSystemBase< ForwardEvaluation< Real, Gradient > > | |
static Handle | registerStatementPrimalListener (void(*callback)(Tape &, Real const &, Identifier const &, Real const &, EventHints::Statement, void *), void *customData=nullptr) |
Register callbacks for StatementPrimal events. | |
static void | notifyStatementPrimalListeners (Tape &tape, Real const &lhsValue, Identifier const &lhsIdentifier, Real const &newValue, EventHints::Statement statement) |
Invoke callbacks for StatementPrimal events. | |
static void | notifyStatementPrimalListeners (Tape &&tape, Real const &lhsValue, Identifier const &lhsIdentifier, Real const &newValue, EventHints::Statement statement) |
Invoke callbacks for StatementPrimal events. | |
static void | deregisterListener (Handle const &handle) |
Deregister a listener. | |
Protected Types inherited from codi::EventSystemBase< ForwardEvaluation< Real, Gradient > > | |
using | Callback |
enum | Event |
Full set of events. | |
using | EventListenerMap |
Map that links events to registered callbacks and their associated custom data. | |
Static Protected Member Functions inherited from codi::EventSystemBase< ForwardEvaluation< Real, Gradient > > | |
static EventListenerMap & | getListeners () |
Access the static EventListenerMap. | |
static void | internalNotifyListeners (bool const enabled, Event event, Args &&... args) |
Internal method for callback invocation. | |
static Handle | internalRegisterListener (bool const enabled, Event event, TypedCallback callback, void *customData) |
Internal method for callback registration. | |
Specialization for ForwardEvaluation.
See EventSystem and EventSystemBase.
Real | Floating point the forward tape is based on. |
Gradient | Gradient type used by the forward tape. |