¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: C++ Client Class visibility w/ the Sample App


 

I completely revamped my design over the weekend and just went with a class architecture similar to the Java Implementation rather than using inheritance. I took David's advice and am passing a smart pointer around that is my IBClient() which contains all callbacks and logic involving the TWS API. I then took Jurgen's advice and built IBHistData(), IBOrders(), IBMktDepth(), etc. to handle specific tasks. These include logic to store information from callbacks, etc. These are then located in the IBClient() and wrapped nicely so I can now grab what I need when I need it in my main Model() Class through the IBClient() smart pointer.??

Join [email protected] to automatically receive all group messages.