|
ChimeraTK-DeviceAccess
03.18.00
|
Go to the documentation of this file.
11 #include <boost/shared_ptr.hpp>
17 namespace LNMBackend {
18 class AccessorPluginBase;
109 std::vector<boost::shared_ptr<LNMBackend::AccessorPluginBase>>
plugins;
113 [[nodiscard]] std::unique_ptr<BackendRegisterInfoBase>
clone()
const override {
114 return std::make_unique<LNMBackendRegisterInfo>(*
this);
unsigned int channel
The channel of the target 2D register (if TargetType::CHANNEL)
std::string registerName
The target register name.
LNMBackendRegisterInfo & operator=(const LNMBackendRegisterInfo &other)=default
RegisterPath getRegisterName() const override
Return full path name of the register (including modules)
std::vector< boost::shared_ptr< LNMBackend::AccessorPluginBase > > plugins
List of accessor plugins enabled for this register.
RegisterPath name
Name of the registrer.
const DataDescriptor & getDataDescriptor() const override
Return desciption of the actual payload data for this register.
unsigned int nChannels
The number of channels of the logical register.
bool writeable
Flag if the register is writeable.
Class describing the actual payload data format of a register in an abstract manner.
unsigned int firstIndex
The first index in the range.
unsigned int bit
The bit of the target register (if TargetType::BIT)
RegisterInfo structure for the LogicalNameMappingBackend.
unsigned int getNumberOfChannels() const override
Return number of channels in register.
std::string deviceName
The target device alias.
bool isReadable() const override
Return whether the register is readable.
TargetType targetType
Type of the target.
A class to describe which of the supported data types is used.
TargetType
Potential target types.
DataDescriptor _dataDescriptor
DataType valueType
Data type of CONSTANT or VARIABLE type.
LNMBackendRegisterInfo()=default
constructor: initialise values
unsigned int getNumberOfElements() const override
Return number of elements per channel.
AccessModeFlags getSupportedAccessModes() const override
Return all supported AccessModes for this register.
Class to store a register path name.
AccessModeFlags supportedFlags
Supported AccessMode flags.
unsigned int length
The length of the range (i.e.
Set of AccessMode flags with additional functionality for an easier handling.
DeviceBackend-independent register description.
bool isWriteable() const override
Return whether the register is writeable.
bool readable
Flag if the register is readable.
std::unique_ptr< BackendRegisterInfoBase > clone() const override
Create copy of the object.