-
Notifications
You must be signed in to change notification settings - Fork 0
/
baseexchange.h
31 lines (26 loc) · 1.04 KB
/
baseexchange.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef BASEEXCHANGE_H
#define BASEEXCHANGE_H
#include "exchange.h"
#include "exchangespecification.h"
#include "pollingmarketdataservice.h"
#include "pollingtradeservice.h"
#include "pollingaccountservice.h"
class BaseExchange : public Exchange
{
public:
BaseExchange();
virtual ~BaseExchange();
virtual void applySpecification(const ExchangeSpecification *exchangeSpecification);
virtual ExchangeSpecification* getExchangeSpecification() const;
virtual PollingMarketDataService* getPollingMarketDataService() const;
//virtual PollingTradeService* getPollingTradeService() const;
//virtual PollingAccountService* getPollingAccountService() const;
// //virtual StreamingExchangeService* getStreamingExchangeService() const;
protected:
ExchangeSpecification* exchangeSpecification_;
PollingMarketDataService* pollingMarketDataService_;
PollingTradeService* pollingTradeService_;
PollingAccountService* pollingAccountService_;
//StreamingExchangeService streamingExchangeService;
};
#endif // BASEEXCHANGE_H