26#include <ql/patterns/observable.hpp>
44 void addObservable(QuantLib::ext::shared_ptr<Observable> observable);
58 registerWith(observable);
Observer class for Model Builders.
void update() override
Observer interface.
bool hasUpdated(const bool reset)
Returns true if has been updated, reset updated flag if required.
bool updated_
Flag to indicate if updated.
void addObservable(QuantLib::ext::shared_ptr< Observable > observable)
Add an observable.