QuantLib 0.3.6
User manual
Introduction to QuantLib
QuantLib components
Reference manual
|
Observer Class Reference#include <ql/Patterns/observable.hpp>
Inheritance diagram for Observer:
[legend]List of all members.
Detailed Description
Object that gets notified when a given observable changes.
|
Public Member Functions |
| Observer (const Observer &) |
Observer & | operator= (const Observer &) |
template<class T> void | registerWith (const Handle< T > &h) |
template<class T> void | unregisterWith (const Handle< T > &h) |
virtual void | update ()=0 |
Member Function Documentation
virtual void update |
( |
|
) |
[pure virtual] |
|
|
This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.
Implemented in IndexedCoupon, ParCoupon, Xibor, DerivedQuote, CompositeQuote, LazyObject, BlackModel, GenericModelEngine, LatticeShortRateModelEngine, Link, CalibrationHelper, ShortRateModel, StochasticProcess, AffineTermStructure, DriftTermStructure, ExtendedDiscountCurve, ForwardSpreadedTermStructure, ImpliedTermStructure, QuantoTermStructure, RateHelper, ZeroSpreadedTermStructure, BlackConstantVol, BlackVarianceCurve, BlackVarianceSurface, ImpliedVolTermStructure, LocalConstantVol, LocalVolCurve, LocalVolSurface, GenericModelEngine< ShortRateModel, Arguments, Results >, GenericModelEngine< BlackModel, CapFloor::arguments, CapFloor::results >, GenericModelEngine< OneFactorAffineModel, Swaption::arguments, Swaption::results >, GenericModelEngine< AffineModel, CapFloor::arguments, CapFloor::results >, GenericModelEngine< ShortRateModel, CapFloor::arguments, CapFloor::results >, GenericModelEngine< BlackModel, Swaption::arguments, Swaption::results >, GenericModelEngine< ShortRateModel, Swaption::arguments, Swaption::results >, LatticeShortRateModelEngine< CapFloor::arguments, CapFloor::results >, LatticeShortRateModelEngine< Swaption::arguments, Swaption::results >, Link< LocalVolTermStructure >, Link< BlackVarianceCurve >, Link< BlackVolTermStructure >, Link< TermStructure >, and Link< Quote >. |
|