Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CleanUpThreadLocalSingletons Class Reference

#include <orea/app/cleanupsingletons.hpp>

+ Collaboration diagram for CleanUpThreadLocalSingletons:

Public Member Functions

 ~CleanUpThreadLocalSingletons ()
 

Public Attributes

QuantLib::SavedSettings savedSettings
 
QuantExt::SavedObservableSettings savedObservableSettings
 

Detailed Description

Definition at line 26 of file cleanupsingletons.hpp.

Constructor & Destructor Documentation

◆ ~CleanUpThreadLocalSingletons()

Definition at line 35 of file cleanupsingletons.cpp.

35 {
36 QuantLib::IndexManager::instance().clearHistories();
37 QuantExt::DividendManager::instance().clearHistories();
38 ore::analytics::ObservationMode::instance().setMode(ore::analytics::ObservationMode::Mode::None);
39 QuantExt::ComputeEnvironment::instance().reset();
40 QuantExt::RandomVariableStats::instance().reset();
41 QuantExt::McEngineStats::instance().reset();
42}

Member Data Documentation

◆ savedSettings

QuantLib::SavedSettings savedSettings

Definition at line 28 of file cleanupsingletons.hpp.

◆ savedObservableSettings

QuantExt::SavedObservableSettings savedObservableSettings

Definition at line 29 of file cleanupsingletons.hpp.