CVB++ 15.0
string_reg_node.hpp
1#pragma once
2
3#include "../global.hpp"
4
5#include "string_node.hpp"
6
7namespace Cvb
8{
9
10 CVB_BEGIN_INLINE_NS
11
12 namespace GenApi
13 {
14
16
21 class StringRegNode : public StringNode
22 {
23 public:
24 explicit StringRegNode(HandleGuard<Node> &&guard) noexcept
25 : StringNode(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::StringRegNode;
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 string_reg_node.hpp:44
std::int64_t Address() const
Gets the register address.
Definition string_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