CVB++ 15.0
detail_video_image.hpp
1#pragma once
2
3#include "../../global.hpp"
4
5#include "../_decl/decl_video_image.hpp"
6#include "../_decl/decl_video_device.hpp"
7
8namespace Cvb
9{
10
11 CVB_BEGIN_INLINE_NS
12
13 namespace Driver
14 {
15
16 inline std::chrono::milliseconds VideoImage::FrameTime() const
17 {
18 return std::dynamic_pointer_cast<const VideoDevice>(Parent())->FrameTime();
19 }
20
21 } // namespace Driver
22
23 CVB_END_INLINE_NS
24
25} // namespace Cvb
DevicePtr Parent() const noexcept
Gets the parent device of this image.
Definition decl_device_image.hpp:47
Namespace for driver or device related operations.
Definition decl_composite.hpp:28
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17