Wondering about the purpose to announce ObservableSettings following Singleton
Posted by Schmidt on Mar 25, 2016; 9:12am
URL: http://quantlib.414.s1.nabble.com/Wondering-about-the-purpose-to-announce-ObservableSettings-following-Singleton-tp17359.html
Hi all developers of Quantlib
My name is Schmidt, and I'm working for an Asia local bank. I just stepped into studying Quantlib for weeks. and now having a question about Class ObservableSettings. I'm wondering the purpose to announce it following Singleton pattern. Is it because that we'll only have market-data type variables to be observable, then all these market-data must apply the same Enable & Deferred updates settings. Cos now I'm thinking about if I have two types of variable observable, and I want them to be under different ObservableSettings, it seems can't be applicable with ObeservableSettings' Singleton pattern right?