|
QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
|
Per-session settings for the LazyObject class. More...
#include <ql/patterns/lazyobject.hpp>
Public Member Functions | |
| void | forwardFirstNotificationOnly () |
| void | alwaysForwardNotifications () |
| bool | forwardsAllNotifications () const |
| returns the current default | |
| Public Member Functions inherited from Singleton< LazyObject::Defaults > | |
| Singleton (const Singleton &)=delete | |
| Singleton & | operator= (const Singleton &)=delete |
Friends | |
| class | Singleton< LazyObject::Defaults > |
Additional Inherited Members | |
| Static Public Member Functions inherited from Singleton< LazyObject::Defaults > | |
| static LazyObject::Defaults & | instance () |
| access to the unique instance | |
Per-session settings for the LazyObject class.
| void forwardFirstNotificationOnly | ( | ) |
by default, lazy objects created after calling this method will only forward the first notification after successful recalculation; see LazyObject::forwardFirstNotificationOnly for details.
| void alwaysForwardNotifications | ( | ) |
by default, lazy objects created after calling this method will always forward notifications; see LazyObject::alwaysForwardNotifications for details.