ChimeraTK-DeviceAccess  03.18.00
ShortRaw_base< Derived, rawUserType > Struct Template Reference
+ Inheritance diagram for ShortRaw_base< Derived, rawUserType >:
+ Collaboration diagram for ShortRaw_base< Derived, rawUserType >:

Public Member Functions

bool isWriteable ()
 
bool isReadable ()
 
ChimeraTK::AccessModeFlags supportedFlags ()
 
size_t nChannels ()
 
size_t nElementsPerChannel ()
 
size_t writeQueueLength ()
 
size_t nRuntimeErrorCases ()
 
rawUserType get ()
 
void set (rawUserType val)
 
template<typename Type >
std::vector< std::vector< Type > > generateValue (bool raw=false)
 
template<typename Type >
std::vector< std::vector< Type > > getRemoteValue (bool raw=false)
 
void setRemoteValue ()
 
void setForceRuntimeError (bool enable, size_t)
 

Public Attributes

Derived * derived {static_cast<Derived*>(this)}
 
int32_t lastPadding {0}
 
bool printPaddingChangedMessage {true}
 
DummyRegisterRawAccessor acc {exceptionDummy, "", "/Integers/unsigned32"}
 

Static Public Attributes

static constexpr auto capabilities
 

Detailed Description

template<typename Derived, typename rawUserType>
struct ShortRaw_base< Derived, rawUserType >

Definition at line 186 of file testNumericAddressedBackendUnified.cpp.

Member Function Documentation

◆ generateValue()

template<typename Derived , typename rawUserType >
template<typename Type >
std::vector<std::vector<Type> > ShortRaw_base< Derived, rawUserType >::generateValue ( bool  raw = false)
inline

Definition at line 230 of file testNumericAddressedBackendUnified.cpp.

◆ get()

template<typename Derived , typename rawUserType >
rawUserType ShortRaw_base< Derived, rawUserType >::get ( )
inline

Definition at line 219 of file testNumericAddressedBackendUnified.cpp.

◆ getRemoteValue()

template<typename Derived , typename rawUserType >
template<typename Type >
std::vector<std::vector<Type> > ShortRaw_base< Derived, rawUserType >::getRemoteValue ( bool  raw = false)
inline

Definition at line 246 of file testNumericAddressedBackendUnified.cpp.

◆ isReadable()

template<typename Derived , typename rawUserType >
bool ShortRaw_base< Derived, rawUserType >::isReadable ( )
inline

Definition at line 190 of file testNumericAddressedBackendUnified.cpp.

◆ isWriteable()

template<typename Derived , typename rawUserType >
bool ShortRaw_base< Derived, rawUserType >::isWriteable ( )
inline

Definition at line 189 of file testNumericAddressedBackendUnified.cpp.

◆ nChannels()

template<typename Derived , typename rawUserType >
size_t ShortRaw_base< Derived, rawUserType >::nChannels ( )
inline

Definition at line 192 of file testNumericAddressedBackendUnified.cpp.

◆ nElementsPerChannel()

template<typename Derived , typename rawUserType >
size_t ShortRaw_base< Derived, rawUserType >::nElementsPerChannel ( )
inline

Definition at line 193 of file testNumericAddressedBackendUnified.cpp.

◆ nRuntimeErrorCases()

template<typename Derived , typename rawUserType >
size_t ShortRaw_base< Derived, rawUserType >::nRuntimeErrorCases ( )
inline

Definition at line 195 of file testNumericAddressedBackendUnified.cpp.

◆ set()

template<typename Derived , typename rawUserType >
void ShortRaw_base< Derived, rawUserType >::set ( rawUserType  val)
inline

Definition at line 221 of file testNumericAddressedBackendUnified.cpp.

◆ setForceRuntimeError()

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

Definition at line 268 of file testNumericAddressedBackendUnified.cpp.

◆ setRemoteValue()

template<typename Derived , typename rawUserType >
void ShortRaw_base< Derived, rawUserType >::setRemoteValue ( )
inline

Definition at line 261 of file testNumericAddressedBackendUnified.cpp.

◆ supportedFlags()

template<typename Derived , typename rawUserType >
ChimeraTK::AccessModeFlags ShortRaw_base< Derived, rawUserType >::supportedFlags ( )
inline

Definition at line 191 of file testNumericAddressedBackendUnified.cpp.

◆ writeQueueLength()

template<typename Derived , typename rawUserType >
size_t ShortRaw_base< Derived, rawUserType >::writeQueueLength ( )
inline

Definition at line 194 of file testNumericAddressedBackendUnified.cpp.

Member Data Documentation

◆ acc

template<typename Derived , typename rawUserType >
DummyRegisterRawAccessor ShortRaw_base< Derived, rawUserType >::acc {exceptionDummy, "", "/Integers/unsigned32"}

Definition at line 217 of file testNumericAddressedBackendUnified.cpp.

◆ capabilities

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

Definition at line 207 of file testNumericAddressedBackendUnified.cpp.

◆ derived

template<typename Derived , typename rawUserType >
Derived* ShortRaw_base< Derived, rawUserType >::derived {static_cast<Derived*>(this)}

Definition at line 187 of file testNumericAddressedBackendUnified.cpp.

◆ lastPadding

template<typename Derived , typename rawUserType >
int32_t ShortRaw_base< Derived, rawUserType >::lastPadding {0}

Definition at line 204 of file testNumericAddressedBackendUnified.cpp.

◆ printPaddingChangedMessage

template<typename Derived , typename rawUserType >
bool ShortRaw_base< Derived, rawUserType >::printPaddingChangedMessage {true}

Definition at line 205 of file testNumericAddressedBackendUnified.cpp.


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