This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net::awaitable< void > | |
main_window::monitor_deribit_indecies(QMenu *menu) | |
{ | |
struct index_entry | |
{ | |
QAction *menu_action = nullptr; | |
bool | |
valid() const noexcept | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "mark_view.hpp" | |
#include <boost/scope_exit.hpp> | |
#include <fmt/ostream.h> | |
#include <spdlog/spdlog.h> | |
#include <util/co_dispatch.hpp> | |
namespace program | |
{ | |
auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net::awaitable< void > | |
monitor_subscription(async::st::stop_token stop, | |
util::printable_base const & ident, | |
entity::entity_service owner, | |
entity::universal_key const & key, | |
async::st::ready_latch_impl & ready_latch, | |
trade::snapshot_condition & condition, | |
std::function< void(json::value const &) > update) | |
try | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 81%] Linking CXX executable powertrade_co_signal_test | |
cd /home/rhodges/gitlab/powertrade/pricer/cmake-build-gcc-release/lib/powertrade/co_signal && /home/rhodges/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/202.7660.37/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/powertrade_co_signal_test.dir/link.txt --verbose=1 | |
/usr/bin/c++ -fcoroutines -O3 -DNDEBUG CMakeFiles/powertrade_co_signal_test.dir/distributor.spec.cpp.o CMakeFiles/powertrade_co_signal_test.dir/fifo.spec.cpp.o CMakeFiles/powertrade_co_signal_test.dir/main.spec.cpp.o -o powertrade_co_signal_test ../util/libpowertrade_util.a ../config/libpowertrade_config.a ../../../dependencies/install/lib/libboost_json.a ../../../dependencies/install/lib/libboost_container.a ../../../dependencies/install/lib/libboost_system.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so ../core/libpowertrade_core.a ../../../dependencies/install/lib/libspdlog.a ../../../dependencies/install/lib/libfmt.a -lpthread | |
`_ZN5boost4asio12async_resultINS0_15use_awaitabl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 81%] Linking CXX executable powertrade_co_signal_test | |
cd /home/rhodges/gitlab/powertrade/pricer/cmake-build-gcc-release/lib/powertrade/co_signal && /home/rhodges/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/202.7660.37/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/powertrade_co_signal_test.dir/link.txt --verbose=1 | |
/usr/bin/c++ -fcoroutines -O3 -DNDEBUG CMakeFiles/powertrade_co_signal_test.dir/distributor.spec.cpp.o CMakeFiles/powertrade_co_signal_test.dir/fifo.spec.cpp.o CMakeFiles/powertrade_co_signal_test.dir/main.spec.cpp.o -o powertrade_co_signal_test ../util/libpowertrade_util.a ../config/libpowertrade_config.a ../../../dependencies/install/lib/libboost_json.a ../../../dependencies/install/lib/libboost_container.a ../../../dependencies/install/lib/libboost_system.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so ../core/libpowertrade_core.a ../../../dependencies/install/lib/libspdlog.a ../../../dependencies/install/lib/libfmt.a -lpthread | |
`_ZN5boost4asio12async_resultINS0_15use_awaitabl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(PRICER_CMAKE_BUILD_LIBRARY) | |
return() | |
else() | |
set(PRICER_CMAKE_BUILD_LIBRARY 1) | |
endif() | |
macro(BuildLibrary) | |
cmake_parse_arguments(pbl | |
"" #options | |
"NAMESPACE;NAME;VERSION" #single value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(NOT BUILD_CMAKE_CONTENT_CMAKE) | |
set(BUILD_CMAKE_CONTENT_CMAKE 1) | |
else() | |
return() | |
endif() | |
function(BuildCMakeContent bcc_NAME bcc_PACKAGE) | |
cmake_parse_arguments(bcc | |
"" # options | |
"" #<one_value_keywords> | |
"CMAKE_ARGS" # multi_value keywords |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(NOT REQUIRE_BOOST_CMAKE) | |
set(REQUIRE_BOOST_CMAKE 1) | |
else() | |
return() | |
endif() | |
# | |
# file level configuation | |
# | |
set(boost_PATCHES_DIR boost-patch) | |
function(ListToString list outstr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2020-11-04 11:51:58.810] [debug] mark_view: showEvent | |
[2020-11-04 11:51:58.817] [debug] mark_view: main_loop | |
[2020-11-04 11:51:58.817] [debug] [entity_service[id 0xddb778]] locate(powertrade::trade::deribit_index_price_names_impl) not found, creating | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] lifetime begins | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] run | |
[2020-11-04 11:51:58.817] [debug] [deribit_index_price_names [key void]] stopped->running | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] on_run | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] spawn(main_loop) | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] spawn(watch_uplink) | |
[2020-11-04 11:51:58.817] [trace] [deribit_index_price_names [key void]] spawn(watch_timer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct guarded_executor | |
{ | |
using guard_type = std::weak_ptr< void >; | |
explicit guarded_executor(guard_type g) noexcept | |
: guard_(std::move(g)) | |
{ | |
} | |
constexpr auto operator==(guarded_executor const &) const noexcept |