QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Gsr::ReversionObserver Struct Reference
+ Inheritance diagram for Gsr::ReversionObserver:
+ Collaboration diagram for Gsr::ReversionObserver:

Public Member Functions

 ReversionObserver (Gsr *p)
 
void update () override
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
 Observer (const Observer &)
 
Observeroperator= (const Observer &)
 
virtual ~Observer ()
 
std::pair< iterator, boolregisterWith (const ext::shared_ptr< Observable > &)
 
void registerWithObservables (const ext::shared_ptr< Observer > &)
 
Size unregisterWith (const ext::shared_ptr< Observable > &)
 
void unregisterWithAll ()
 
virtual void update ()=0
 
virtual void deepUpdate ()
 

Public Attributes

Gsrp_
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 

Detailed Description

Definition at line 179 of file gsr.hpp.

Constructor & Destructor Documentation

◆ ReversionObserver()

ReversionObserver ( Gsr p)
explicit

Definition at line 180 of file gsr.hpp.

Member Function Documentation

◆ update()

void update ( )
overridevirtual

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.

Implements Observer.

Definition at line 181 of file gsr.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ p_

Gsr* p_

Definition at line 182 of file gsr.hpp.