#include "api/api.h" #include #include "mynteye/utils.h" #include "device/device.h" MYNTEYE_BEGIN_NAMESPACE API::API(std::shared_ptr device) : device_(device) { VLOG(2) << __func__; } API::~API() { VLOG(2) << __func__; } std::shared_ptr API::Create() { return Create(device::select()); } std::shared_ptr API::Create(std::shared_ptr device) { return std::make_shared(device); } MYNTEYE_END_NAMESPACE