#include "IExecutionGateway.h" #include "GLBXExecutionGateway.h" #include "ICEExecutionGateway.h" #include "lib/utils/ValueWrapper.h" #include "lib/orderman/actors/GLBXiLink3ExecutionGateway.h" #include namespace bts { namespace orderman { std::unique_ptr ExecutionGatewayFactory::create_gateway(const config::JetFIX::Connection &conn, trace::PerfLog &pl, md::SecurityOracle o) { if (conn.platform() == bts::config::JetFIX_Connection_JetFIXPlatform_ICE || conn.platform() == bts::config::JetFIX_Connection_JetFIXPlatform_SIMICE) return std::make_unique(conn, pl, o); else if (conn.use_ilink3()) return std::make_unique(conn, pl, o); else return std::make_unique(conn, pl, o); } } // namespace orderman } // namespace bts