CVB++ 15.0
int_reg_node.hpp
1#pragma once
2
3#include "../global.hpp"
4
5#include "integer_node.hpp"
6
7namespace Cvb
8{
9
10 CVB_BEGIN_INLINE_NS
11
12 namespace GenApi
13 {
14
16
21 class IntRegNode : public IntegerNode
22 {
23 public:
24 explicit IntRegNode(HandleGuard<Node> &&guard) noexcept
25 : IntegerNode(std::move(guard))
26 {
27 }
28
30
35 {
36 return GetInfoAsInt(NodeInfo::RegisterAddress);
37 }
38
40
45 {
46 return GetInfoAsInt(NodeInfo::RegisterLength);
47 }
48 };
49
50 } // namespace GenApi
51
52 using GenApi::IntRegNode;
53
54 CVB_END_INLINE_NS
55
56} // namespace Cvb
std::int64_t Length() const
Gets the number of bytes occupied by the register.
Definition int_reg_node.hpp:44
std::int64_t Address() const
Gets the registers address.
Definition int_reg_node.hpp:34
T move(T... args)
Namespace for GenApi based device configuration.
Definition decl_fw_updater.hpp:29
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17