This is why we were getting those heartbeat asserts. Previously,
only ExchangeSimApplication would start this timer. Since
MarketDataGateway doesn't share its MDProducer with
ExchangeSimApplication, it must start one itself.
libACE is an Onixs dep that isn't called directly by our code. For some
reason, gcc builds fail to resolve this dep at runtime unless this flag
is used. This isn't a problem with clang builds.
In other words, migrate "include_directories" and "link_directories" calls in the
root CMakeLists.txt to "target_include_directories" and "target_link_directories"
calls in InitLibrary.cmake
Essentially all it did was fetch config files via http GET. I ported some http
fns over from the cme-websocket-connector repo, which uses curlpp instead of
curl, and also supports async requests (coroutines) via the 'concurrencpp'
https://github.com/David-Haim/concurrencpp
To make code navigation easier. This was a difficulty which I recently
confronted, while investigating a bug that prevented synthetics from
showing up the ui.
Before this commit, we had 4 different TimeStamp types/identifiers, which is
confusing enough as it is:
* bts::core::TimeStamp
- in system/time_stamp.h
* bts::utils::TimeStamp
- in spark/utils/TimeStamp.h
* bts::TimeStamp
- in system/bts_chrono.h
- alias for std::chrono::system_clock::time_point
* bts::md::TimeStamp
- in spark/md/Shm/MDStructure.h
- alias for bts::utils::TimeStamp
- removed in this commit
Additional aliases for these TimeStamps only adds to the confusion (esp
when the alias comes from a nested include).
When our logging code moved to lib_system, it lost access to the config
system. As a result, the "log_path" function, which was used by ICEMain
and MDP3Main, broke. I added a new class, SparkDataDirectory, to be the
central/common authority on paths to local storage.
This is a fundamental part of our application suite, so system seems
like a sensible home.
Also moved a few logging deps (to lib_system):
* bts_chrono.h
* bts_no_copy.h
* defer.h
* dispatcher.h/cpp
* file_utils.h/cpp
* type_name.h
This is a prerequisite for the next objective: move logging into its own lib.
As logging is a core dependency for so much of our system, this will enable
us to move more complex services (like md providers) into smaller libs.