ChimeraTK-DeviceAccess
03.18.00
|
#include <RegisterInfo.h>
Public Member Functions | |
RegisterInfo (std::unique_ptr< BackendRegisterInfoBase > &&impl) | |
RegisterInfo (const RegisterInfo &other) | |
RegisterInfo (RegisterInfo &&other)=default | |
RegisterInfo & | operator= (const RegisterInfo &other) |
RegisterInfo & | operator= (RegisterInfo &&other)=default |
RegisterPath | getRegisterName () const |
Return full path name of the register (including modules) More... | |
unsigned int | getNumberOfElements () const |
Return number of elements per channel. More... | |
unsigned int | getNumberOfChannels () const |
Return number of channels in register. More... | |
unsigned int | getNumberOfDimensions () const |
Return number of dimensions of this register. More... | |
const DataDescriptor & | getDataDescriptor () const |
Return desciption of the actual payload data for this register. More... | |
bool | isReadable () const |
Return whether the register is readable. More... | |
bool | isWriteable () const |
Return whether the register is writeable. More... | |
AccessModeFlags | getSupportedAccessModes () const |
Return all supported AccessModes for this register. More... | |
bool | isValid () const |
Check whether the RegisterPath object is valid (i.e. More... | |
BackendRegisterInfoBase & | getImpl () |
Return a reference to the implementation object. More... | |
const BackendRegisterInfoBase & | getImpl () const |
Return a const reference to the implementation object. More... | |
std::vector< size_t > | getQualifiedAsyncId () const |
Get the fully qualified async::SubDomain ID. More... | |
Protected Attributes | |
std::unique_ptr< BackendRegisterInfoBase > | _impl |
Definition at line 12 of file RegisterInfo.h.
|
explicit |
Definition at line 10 of file RegisterInfo.cpp.
ChimeraTK::RegisterInfo::RegisterInfo | ( | const RegisterInfo & | other | ) |
|
default |
const DataDescriptor & ChimeraTK::RegisterInfo::getDataDescriptor | ( | ) | const |
Return desciption of the actual payload data for this register.
See the description of DataDescriptor for more information.
Definition at line 56 of file RegisterInfo.cpp.
const BackendRegisterInfoBase & ChimeraTK::RegisterInfo::getImpl | ( | ) |
Return a reference to the implementation object.
Only for advanced use, e.g. when backend-depending code shall be written.
Definition at line 86 of file RegisterInfo.cpp.
const BackendRegisterInfoBase& ChimeraTK::RegisterInfo::getImpl | ( | ) | const |
Return a const reference to the implementation object.
Only for advanced use, e.g. when backend-depending code shall be written.
unsigned int ChimeraTK::RegisterInfo::getNumberOfChannels | ( | ) | const |
Return number of channels in register.
Definition at line 44 of file RegisterInfo.cpp.
unsigned int ChimeraTK::RegisterInfo::getNumberOfDimensions | ( | ) | const |
Return number of dimensions of this register.
Definition at line 50 of file RegisterInfo.cpp.
unsigned int ChimeraTK::RegisterInfo::getNumberOfElements | ( | ) | const |
Return number of elements per channel.
Definition at line 38 of file RegisterInfo.cpp.
std::vector< size_t > ChimeraTK::RegisterInfo::getQualifiedAsyncId | ( | ) | const |
Get the fully qualified async::SubDomain ID.
If the register does not support wait_for_new_data it will be empty. Note: At the moment using async::Domain and async::SubDomain is not mandatory yet, so the ID might be empty even if the register supports wait_for_new_data.
Definition at line 98 of file RegisterInfo.cpp.
RegisterPath ChimeraTK::RegisterInfo::getRegisterName | ( | ) | const |
Return full path name of the register (including modules)
Definition at line 32 of file RegisterInfo.cpp.
AccessModeFlags ChimeraTK::RegisterInfo::getSupportedAccessModes | ( | ) | const |
Return all supported AccessModes for this register.
Definition at line 74 of file RegisterInfo.cpp.
bool ChimeraTK::RegisterInfo::isReadable | ( | ) | const |
Return whether the register is readable.
Definition at line 62 of file RegisterInfo.cpp.
bool ChimeraTK::RegisterInfo::isValid | ( | ) | const |
Check whether the RegisterPath object is valid (i.e.
contains an implementation object)
Definition at line 80 of file RegisterInfo.cpp.
bool ChimeraTK::RegisterInfo::isWriteable | ( | ) | const |
Return whether the register is writeable.
Definition at line 68 of file RegisterInfo.cpp.
RegisterInfo & ChimeraTK::RegisterInfo::operator= | ( | const RegisterInfo & | other | ) |
Definition at line 20 of file RegisterInfo.cpp.
|
default |
|
protected |
Definition at line 71 of file RegisterInfo.h.