feat(device): add disable motion datas
This commit is contained in:
parent
fd8616f475
commit
0fb3610744
|
@ -278,6 +278,10 @@ class MYNTEYE_API Device {
|
||||||
*/
|
*/
|
||||||
std::vector<device::StreamData> GetStreamDatas(const Stream &stream);
|
std::vector<device::StreamData> GetStreamDatas(const Stream &stream);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Disable cache motion datas.
|
||||||
|
*/
|
||||||
|
void DisableMotionDatas();
|
||||||
/**
|
/**
|
||||||
* Enable cache motion datas.
|
* Enable cache motion datas.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -466,6 +466,11 @@ std::vector<device::StreamData> Device::GetStreamDatas(const Stream &stream) {
|
||||||
return streams_->GetStreamDatas(stream);
|
return streams_->GetStreamDatas(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Device::DisableMotionDatas() {
|
||||||
|
CHECK_NOTNULL(motions_);
|
||||||
|
motions_->DisableMotionDatas();
|
||||||
|
}
|
||||||
|
|
||||||
void Device::EnableMotionDatas() {
|
void Device::EnableMotionDatas() {
|
||||||
EnableMotionDatas(std::numeric_limits<std::size_t>::max());
|
EnableMotionDatas(std::numeric_limits<std::size_t>::max());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user