27 lines
532 B
C++
27 lines
532 B
C++
#pragma once
|
|
|
|
#include "common.h"
|
|
#include "lib/utils/bts_export.h"
|
|
|
|
namespace bts {
|
|
namespace md {
|
|
|
|
class MDProducerImpl;
|
|
|
|
class BTS_EXPORT MDProducerChannel {
|
|
MDProducerImpl *_me;
|
|
MDProducerChannel() : _me(nullptr) {}
|
|
friend struct Co2TestInstrument;
|
|
|
|
public:
|
|
friend class MDProducerHandle;
|
|
MDProducerChannel(MDProducerImpl &impl);
|
|
void heartbeat();
|
|
void add_trade(const co2::TradeMessage &trade);
|
|
void add_rfq(const co2::QuoteRequestMessage &rfq);
|
|
void gap();
|
|
};
|
|
|
|
} // namespace md
|
|
} // namespace bts
|