CVB++ 14.0
register_node.hpp
1#pragma once
2
3#include "../global.hpp"
4
5#include "_decl/decl_node.hpp"
6
7namespace Cvb
8{
9
10CVB_BEGIN_INLINE_NS
11
12namespace GenApi
13{
14
16
22 : public Node
23{
24 public:
25
26 RegisterNode(HandleGuard<Node>&& guard) noexcept
27 : Node(std::move(guard))
28 {
29 }
30
32
37 {
38 return GetInfoAsInt(NodeInfo::RegisterAddress);
39 }
40
42
47 {
48 return GetInfoAsInt(NodeInfo::RegisterLength);
49 }
50};
51
52}
53
54using GenApi::RegisterNode;
55
56CVB_END_INLINE_NS
57
58}
Basic GenApi node for device feature access.
Definition: decl_node.hpp:39
Untyped register access (only memory).
Definition: register_node.hpp:23
std::int64_t Length() const
Gets the number of bytes occupied by the register.
Definition: register_node.hpp:46
std::int64_t Address() const
Gets the registers address.
Definition: register_node.hpp:36
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24