2018-04-26 05:33:37 +03:00
|
|
|
#include "api/synthetic.h"
|
|
|
|
|
|
|
|
#include <glog/logging.h>
|
|
|
|
|
2018-04-26 09:44:47 +03:00
|
|
|
#include "api/processor/processor.h"
|
|
|
|
#include "device/device.h"
|
2018-04-26 05:33:37 +03:00
|
|
|
|
|
|
|
MYNTEYE_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
Synthetic::Synthetic(API *api) : api_(api) {
|
|
|
|
VLOG(2) << __func__;
|
|
|
|
}
|
|
|
|
|
|
|
|
Synthetic::~Synthetic() {
|
|
|
|
VLOG(2) << __func__;
|
|
|
|
}
|
|
|
|
|
2018-04-26 09:44:47 +03:00
|
|
|
bool Synthetic::Supports(const Stream &stream) const {
|
|
|
|
return api_->device()->Supports(stream);
|
|
|
|
}
|
|
|
|
|
|
|
|
void Synthetic::SetStreamCallback(
|
|
|
|
const Stream &stream, stream_callback_t callback) {
|
|
|
|
UNUSED(stream)
|
|
|
|
UNUSED(callback)
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Synthetic::HasStreamCallback(const Stream &stream) const {
|
|
|
|
UNUSED(stream)
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Synthetic::StartVideoStreaming() {}
|
|
|
|
|
|
|
|
void Synthetic::StopVideoStreaming() {}
|
|
|
|
|
|
|
|
void Synthetic::WaitForStreams() {}
|
|
|
|
|
|
|
|
api::StreamData Synthetic::GetStreamData(const Stream &stream) {
|
|
|
|
UNUSED(stream)
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
|
|
std::vector<api::StreamData> Synthetic::GetStreamDatas(const Stream &stream) {
|
|
|
|
UNUSED(stream)
|
|
|
|
return {};
|
|
|
|
}
|
|
|
|
|
2018-04-26 05:33:37 +03:00
|
|
|
MYNTEYE_END_NAMESPACE
|