Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

QuantLib::Observer Class Reference

#include <observable.hpp>

Inheritance diagram for QuantLib::Observer:

QuantLib::BootstrapHelper< QuantLib::DefaultProbabilityTermStructure > QuantLib::BootstrapHelper< QuantLib::YieldTermStructure > QuantLib::BootstrapHelper< QuantLib::YoYInflationTermStructure > QuantLib::BootstrapHelper< QuantLib::ZeroInflationTermStructure > QuantLib::GenericEngine< Arguments, Results > QuantLib::GenericEngine< BasketOption::arguments, BasketOption::results > QuantLib::GenericEngine< Instr::arguments, QuantLib::QuantoOptionResults< Instr::results > > QuantLib::GenericEngine< MultiAssetOption::arguments, QuantLib::MultiAssetOption::results > QuantLib::GenericEngine< OneAssetOption::arguments, QuantLib::OneAssetOption::results > QuantLib::GenericEngine< QuantLib::BarrierOption::arguments, BarrierOption::results > QuantLib::GenericEngine< QuantLib::Bond::arguments, QuantLib::Bond::results > QuantLib::GenericEngine< QuantLib::CallableBond::arguments, QuantLib::CallableBond::results > QuantLib::GenericEngine< QuantLib::CapFloor::arguments, CapFloor::results > QuantLib::GenericEngine< QuantLib::CliquetOption::arguments, CliquetOption::results > QuantLib::GenericEngine< QuantLib::ContinuousAveragingAsianOption::arguments, ContinuousAveragingAsianOption::results > QuantLib::GenericEngine< QuantLib::ContinuousFixedLookbackOption::arguments, ContinuousFixedLookbackOption::results > QuantLib::GenericEngine< QuantLib::ContinuousFloatingLookbackOption::arguments, ContinuousFloatingLookbackOption::results > QuantLib::GenericEngine< QuantLib::ConvertibleBond::option::arguments, ConvertibleBond::option::results > QuantLib::GenericEngine< QuantLib::CreditDefaultSwap::arguments, QuantLib::CreditDefaultSwap::results > QuantLib::GenericEngine< QuantLib::DiscreteAveragingAsianOption::arguments, DiscreteAveragingAsianOption::results > QuantLib::GenericEngine< QuantLib::DividendBarrierOption::arguments, DividendBarrierOption::results > QuantLib::GenericEngine< QuantLib::DividendVanillaOption::arguments, DividendVanillaOption::results > QuantLib::GenericEngine< QuantLib::EnergyCommodity::arguments, QuantLib::EnergyCommodity::results > QuantLib::GenericEngine< QuantLib::EverestOption::arguments, QuantLib::EverestOption::results > QuantLib::GenericEngine< QuantLib::ForwardOptionArguments< VanillaOption::arguments >, VanillaOption::results > QuantLib::GenericEngine< QuantLib::HimalayaOption::arguments, QuantLib::HimalayaOption::results > QuantLib::GenericEngine< QuantLib::PagodaOption::arguments, PagodaOption::results > QuantLib::GenericEngine< QuantLib::PathMultiAssetOption::arguments, QuantLib::PathMultiAssetOption::results > QuantLib::GenericEngine< QuantLib::Swap::arguments, QuantLib::Swap::results > QuantLib::GenericEngine< QuantLib::Swaption::arguments, Swaption::results > QuantLib::GenericEngine< QuantLib::SyntheticCDO::arguments, QuantLib::SyntheticCDO::results > QuantLib::GenericEngine< QuantLib::VanillaSwap::arguments, QuantLib::VanillaSwap::results > QuantLib::GenericEngine< QuantLib::VarianceOption::arguments, QuantLib::VarianceOption::results > QuantLib::GenericEngine< QuantLib::VarianceSwap::arguments, QuantLib::VarianceSwap::results > QuantLib::GenericEngine< VanillaOption::arguments, VanillaOption::results > QuantLib::BootstrapHelper< TS > QuantLib::CalibratedModel QuantLib::CalibrationHelper QuantLib::Claim QuantLib::CommodityIndex QuantLib::CompositeQuote< BinaryFunction > QuantLib::DerivedQuote< UnaryFunction > QuantLib::FloatingRateCoupon QuantLib::FloatingRateCouponPricer QuantLib::ForwardValueQuote QuantLib::FuturesConvAdjustmentQuote QuantLib::GenericEngine< ArgumentsType, ResultsType > QuantLib::InflationIndex QuantLib::InterestRateIndex QuantLib::LastFixingQuote QuantLib::LazyObject QuantLib::SmileSection QuantLib::StochasticProcess QuantLib::TermStructure

List of all members.


Detailed Description

Object that gets notified when a given observable changes.

Definition at line 59 of file observable.hpp.


Public Member Functions

 Observer (const Observer &)
Observeroperator= (const Observer &)
void registerWith (const boost::shared_ptr< Observable > &)
void unregisterWith (const boost::shared_ptr< Observable > &)
virtual void update ()=0

Private Types

typedef std::list
< boost::shared_ptr
< Observable > >::iterator 
iterator

Private Attributes

std::list< boost::shared_ptr
< Observable > > 
observables_

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index