ChimeraTK-DeviceAccess  03.18.00
RegisterDescriptorBase< Derived > Struct Template Reference

Base descriptor with defaults, used for all registers. More...

+ Inheritance diagram for RegisterDescriptorBase< Derived >:

Public Member Functions

bool isWriteable ()
 
bool isReadable ()
 
bool isPush ()
 
ChimeraTK::AccessModeFlags supportedFlags ()
 
size_t writeQueueLength ()
 
size_t nRuntimeErrorCases ()
 
void setForceRuntimeError (bool enable, size_t)
 

Public Attributes

Derived * derived {static_cast<Derived*>(this)}
 

Static Public Attributes

static constexpr auto capabilities
 

Detailed Description

template<typename Derived>
struct RegisterDescriptorBase< Derived >

Base descriptor with defaults, used for all registers.

Definition at line 30 of file testLMapBackendUnified.cpp.

Member Function Documentation

◆ isPush()

template<typename Derived >
bool RegisterDescriptorBase< Derived >::isPush ( )
inline

Definition at line 45 of file testLMapBackendUnified.cpp.

◆ isReadable()

template<typename Derived >
bool RegisterDescriptorBase< Derived >::isReadable ( )
inline

Definition at line 44 of file testLMapBackendUnified.cpp.

◆ isWriteable()

template<typename Derived >
bool RegisterDescriptorBase< Derived >::isWriteable ( )
inline

Definition at line 43 of file testLMapBackendUnified.cpp.

◆ nRuntimeErrorCases()

template<typename Derived >
size_t RegisterDescriptorBase< Derived >::nRuntimeErrorCases ( )
inline

Definition at line 52 of file testLMapBackendUnified.cpp.

◆ setForceRuntimeError()

template<typename Derived >
void RegisterDescriptorBase< Derived >::setForceRuntimeError ( bool  enable,
size_t   
)
inline

Definition at line 54 of file testLMapBackendUnified.cpp.

◆ supportedFlags()

template<typename Derived >
ChimeraTK::AccessModeFlags RegisterDescriptorBase< Derived >::supportedFlags ( )
inline

Definition at line 46 of file testLMapBackendUnified.cpp.

◆ writeQueueLength()

template<typename Derived >
size_t RegisterDescriptorBase< Derived >::writeQueueLength ( )
inline

Definition at line 51 of file testLMapBackendUnified.cpp.

Member Data Documentation

◆ capabilities

template<typename Derived >
constexpr auto RegisterDescriptorBase< Derived >::capabilities
staticconstexpr
Initial value:
= TestCapabilities<>()
.disableForceDataLossWrite()
.disableAsyncReadInconsistency()
.disableSwitchReadOnly()
.disableSwitchWriteOnly()
.disableTestWriteNeverLosesData()
.enableTestRawTransfer()

Definition at line 33 of file testLMapBackendUnified.cpp.

◆ derived

template<typename Derived >
Derived* RegisterDescriptorBase< Derived >::derived {static_cast<Derived*>(this)}

Definition at line 31 of file testLMapBackendUnified.cpp.


The documentation for this struct was generated from the following file: