Observer (3) Linux Manual Page
QuantLib::Observable – Object that notifies its changes to a set of observables.
Synopsis
#include <ql/patterns/observable.hpp>Inherited by BootstrapHelper< DefaultProbabilityTermStructure >, BootstrapHelper< YieldTermStructure >, BootstrapHelper< YoYInflationTermStructure >, BootstrapHelper< ZeroInflationTermStructure >, AffineModel [virtual], BootstrapHelper< TS >, CalibratedModel [virtual], CalibrationHelper, Claim, CommodityIndex, Event, FloatingRateCouponPricer [virtual], Link, Index, LazyObject [virtual], MarketModelFactory, PricingEngine, Quote [virtual], SmileSection [virtual], StochasticProcess, TermStructure [virtual], and TermStructureConsistentModel [virtual].
Public Member Functions
Observable (const Observable &)Observable & operator= (const Observable &)
void notifyObservers ()
Friends
class ObserverDetailed Description
Object that notifies its changes to a set of observables.Member Function Documentation
Observable & operator= (const Observable & o)
Warning- notification is sent before the copy constructor has a chance of actually change the data members. Therefore, observers whose update() method tries to use their observables will not see the updated values. It is suggested that the update() method just raise a flag in order to trigger a later recalculation.
