3#include "../global.hpp"
5#include "integer_base_node.hpp"
8#include "_detail/iconfigurable_int_reg_node.hpp"
22 ,
public Private::IConfigurableIntRegNode
165 SetInfoAsInt(
NodeInfo::PollingTime, std::chrono::duration_cast<std::chrono::milliseconds>(timespan).count());
Integer value register.
Definition: int_reg_node.hpp:24
std::vector< IntegerBaseNodePtr > AddressNodes() const
Gets the collection of nodes which define the nodes address.
Definition: int_reg_node.hpp:73
void SetIsSigned(const bool &value)
Sets whether this integer register is signed.
Definition: int_reg_node.hpp:124
void SetPollingTime(const std::chrono::duration< Rep, Period > ×pan)
Sets the polling time of this value.
Definition: int_reg_node.hpp:160
bool IsSigned() const
Gets whether this integer register is signed.
Definition: int_reg_node.hpp:114
void SetCacheMode(const Cvb::GenApi::CacheMode &value)
Sets the caching mode of this register node.
Definition: int_reg_node.hpp:94
GenApi::CacheMode CacheMode() const override
Gets the caching mode of this register node.
Definition: int_reg_node.hpp:81
GenApi::AccessMode AccessMode() const override
Gets the GenApi::AccessMode of this node.
Definition: int_reg_node.hpp:31
std::int64_t Length() const
Gets the number of bytes the register occupies.
Definition: int_reg_node.hpp:131
std::int64_t Address() const
Gets the registers address.
Definition: int_reg_node.hpp:54
void SetAccessMode(const GenApi::AccessMode &value)
Sets the GenApi::AccessMode of this node.
Definition: int_reg_node.hpp:44
std::vector< NodePtr > InvalidatorNodes() const noexcept
Gets the collection of nodes which, when changed, invalidate this node's cache.
Definition: int_reg_node.hpp:109
std::chrono::duration< Rep, Period > PollingTime() const
Gets the polling time of this value.
Definition: int_reg_node.hpp:140
Represents an integer number.
Definition: integer_base_node.hpp:24
CacheMode
Defines how the value is cached.
Definition: genapi.hpp:220
AccessMode
Access possibility of the node.
Definition: genapi.hpp:185
@ AccessMode
Gets the access mode of the node.
@ PollingTime
Gets the polling time in ms.
@ Sign
Accesses the signed or unsigned state of integer registers.
@ CachingMode
Gets the caching mode.
@ RegisterAddress
Gets the current address of the register (can change).
@ RegisterLength
Gets the register nodes length in bytes.
@ Addresses
Node accesses the register address nodes (not constants).
@ Invalidator
Node accesses the invalidator nodes.
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24