ChimeraTK-DeviceAccess  03.18.00
AreaType< Register > Struct Template Reference
+ Inheritance diagram for AreaType< Register >:
+ Collaboration diagram for AreaType< Register >:

Public Member Functions

bool isWriteable ()
 
bool isReadable ()
 
ChimeraTK::AccessModeFlags supportedFlags ()
 
size_t nChannels ()
 
size_t writeQueueLength ()
 
size_t nRuntimeErrorCases ()
 
template<typename UserType >
std::vector< std::vector< UserType > > generateValue ()
 
template<typename UserType >
std::vector< std::vector< UserType > > getRemoteValue (bool=false)
 
void setRemoteValue ()
 
void setForceRuntimeError (bool enable, size_t caseNumber)
 
bool isWriteable ()
 
bool isReadable ()
 
ChimeraTK::AccessModeFlags supportedFlags ()
 
size_t nChannels ()
 
size_t writeQueueLength ()
 
size_t nRuntimeErrorCases ()
 
template<typename UserType >
std::vector< std::vector< UserType > > 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

DummyRegisterAccessor< uint32_t > acc {target.get(), "APP.0", "THE_AREA"}
 

Static Public Attributes

static uint32_t _currentBufferNumber = 0
 
static constexpr auto capabilities
 

Detailed Description

template<typename Register>
struct AreaType< Register >

Definition at line 81 of file testDoubleBuffering.cpp.

Member Function Documentation

◆ generateValue() [1/2]

template<typename Register >
template<typename UserType >
std::vector<std::vector<UserType> > AreaType< Register >::generateValue ( )
inline

Definition at line 100 of file testDoubleBuffering.cpp.

◆ generateValue() [2/2]

template<typename Register >
template<typename UserType >
std::vector<std::vector<UserType> > AreaType< Register >::generateValue ( bool  raw = false)
inline

Definition at line 40 of file testSubdeviceBackendUnified.cpp.

◆ getRemoteValue() [1/2]

template<typename Register >
template<typename Type >
std::vector<std::vector<Type> > AreaType< Register >::getRemoteValue ( bool  raw = false)
inline

Definition at line 54 of file testSubdeviceBackendUnified.cpp.

◆ getRemoteValue() [2/2]

template<typename Register >
template<typename UserType >
std::vector<std::vector<UserType> > AreaType< Register >::getRemoteValue ( bool  = false)
inline

Definition at line 110 of file testDoubleBuffering.cpp.

◆ isReadable() [1/2]

template<typename Register >
bool AreaType< Register >::isReadable ( )
inline

Definition at line 28 of file testSubdeviceBackendUnified.cpp.

◆ isReadable() [2/2]

template<typename Register >
bool AreaType< Register >::isReadable ( )
inline

Definition at line 85 of file testDoubleBuffering.cpp.

◆ isWriteable() [1/2]

template<typename Register >
bool AreaType< Register >::isWriteable ( )
inline

Definition at line 27 of file testSubdeviceBackendUnified.cpp.

◆ isWriteable() [2/2]

template<typename Register >
bool AreaType< Register >::isWriteable ( )
inline

Definition at line 84 of file testDoubleBuffering.cpp.

◆ nChannels() [1/2]

template<typename Register >
size_t AreaType< Register >::nChannels ( )
inline

Definition at line 30 of file testSubdeviceBackendUnified.cpp.

◆ nChannels() [2/2]

template<typename Register >
size_t AreaType< Register >::nChannels ( )
inline

Definition at line 87 of file testDoubleBuffering.cpp.

◆ nRuntimeErrorCases() [1/2]

template<typename Register >
size_t AreaType< Register >::nRuntimeErrorCases ( )
inline

Definition at line 32 of file testSubdeviceBackendUnified.cpp.

◆ nRuntimeErrorCases() [2/2]

template<typename Register >
size_t AreaType< Register >::nRuntimeErrorCases ( )
inline

Definition at line 89 of file testDoubleBuffering.cpp.

◆ setForceRuntimeError() [1/2]

template<typename Register >
void AreaType< Register >::setForceRuntimeError ( bool  enable,
size_t  caseNumber 
)
inline

Definition at line 195 of file testDoubleBuffering.cpp.

◆ setForceRuntimeError() [2/2]

template<typename Register >
void AreaType< Register >::setForceRuntimeError ( bool  enable,
size_t   
)
inline

Definition at line 72 of file testSubdeviceBackendUnified.cpp.

◆ setRemoteValue() [1/2]

template<typename Register >
void AreaType< Register >::setRemoteValue ( )
inline

Definition at line 64 of file testSubdeviceBackendUnified.cpp.

◆ setRemoteValue() [2/2]

template<typename Register >
void AreaType< Register >::setRemoteValue ( )
inline

Definition at line 157 of file testDoubleBuffering.cpp.

◆ supportedFlags() [1/2]

template<typename Register >
ChimeraTK::AccessModeFlags AreaType< Register >::supportedFlags ( )
inline

Definition at line 29 of file testSubdeviceBackendUnified.cpp.

◆ supportedFlags() [2/2]

template<typename Register >
ChimeraTK::AccessModeFlags AreaType< Register >::supportedFlags ( )
inline

Definition at line 86 of file testDoubleBuffering.cpp.

◆ writeQueueLength() [1/2]

template<typename Register >
size_t AreaType< Register >::writeQueueLength ( )
inline

Definition at line 31 of file testSubdeviceBackendUnified.cpp.

◆ writeQueueLength() [2/2]

template<typename Register >
size_t AreaType< Register >::writeQueueLength ( )
inline

Definition at line 88 of file testDoubleBuffering.cpp.

Member Data Documentation

◆ _currentBufferNumber

template<typename Register >
uint32_t AreaType< Register >::_currentBufferNumber = 0
static

Definition at line 82 of file testDoubleBuffering.cpp.

◆ acc

template<typename Register >
DummyRegisterAccessor<uint32_t> AreaType< Register >::acc {target.get(), "APP.0", "THE_AREA"}

Definition at line 37 of file testSubdeviceBackendUnified.cpp.

◆ capabilities

template<typename Register >
static constexpr auto AreaType< Register >::capabilities
staticconstexpr
Initial value:
= TestCapabilities<>()
.disableForceDataLossWrite()
.disableAsyncReadInconsistency()
.disableTestWriteNeverLosesData()
.disableSwitchReadOnly()
.disableSwitchWriteOnly()
.disableTestRawTransfer()

Definition at line 91 of file testDoubleBuffering.cpp.


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