CVB++ 15.0
decl_emu_image.hpp
1#pragma once
2
3#include <chrono>
4#include <limits>
5
6#include "../../_cexports/c_dc_emu.h"
7
8#include "../../global.hpp"
9
10#include "decl_device_image.hpp"
11
12namespace Cvb
13{
14
15 CVB_BEGIN_INLINE_NS
16
17 namespace Driver
18 {
19
20 class EmuImage : public DeviceImage
21 {
22 public:
23 explicit EmuImage(const DevicePtr &device)
24 : DeviceImage(device)
25 {
26 }
27
28 std::chrono::milliseconds FrameTime() const;
29
30 template <class Rep, class Period>
31 void SetFrameTime(const std::chrono::duration<Rep, Period> &frameTime);
32 };
33
34 } // namespace Driver
35
36 using Driver::EmuImage;
37
38 CVB_END_INLINE_NS
39
40} // namespace Cvb
Special device image.
Definition decl_device_image.hpp:24
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
std::shared_ptr< Device > DevicePtr
Convenience shared pointer for Device.
Definition global.hpp:98