feat(device): add disable motion datas

This commit is contained in:
John Zhao
2019-02-21 22:19:52 +08:00
parent fd8616f475
commit 0fb3610744
2 changed files with 9 additions and 0 deletions

View File

@@ -466,6 +466,11 @@ std::vector<device::StreamData> Device::GetStreamDatas(const Stream &stream) {
return streams_->GetStreamDatas(stream);
}
void Device::DisableMotionDatas() {
CHECK_NOTNULL(motions_);
motions_->DisableMotionDatas();
}
void Device::EnableMotionDatas() {
EnableMotionDatas(std::numeric_limits<std::size_t>::max());
}