ChimeraTK-DeviceAccess 03.31.00
Loading...
Searching...
No Matches
DoubleBufferedNamedChannelSliceAsync Struct Reference
+ Collaboration diagram for DoubleBufferedNamedChannelSliceAsync:

Public Types

using minimumUserType = uint16_t
 
using rawUserType = int16_t
 

Public Member Functions

template<typename UserType >
std::vector< std::vector< UserType > > generateValue (bool=false)
 
template<typename UserType >
std::vector< std::vector< UserType > > getRemoteValue (bool=false)
 
void setRemoteValue ()
 

Static Public Member Functions

static std::string path ()
 
static bool isWriteable ()
 
static bool isReadable ()
 
static ChimeraTK::AccessModeFlags supportedFlags ()
 
static size_t nChannels ()
 
static size_t nElementsPerChannel ()
 
static size_t writeQueueLength ()
 
static size_t nRuntimeErrorCases ()
 
static void setForceRuntimeError (bool enable, size_t)
 

Public Attributes

DummyRegisterAccessor< uint32_t > currentBufferNumber {exceptionDummyMuxed.get(), "TEST/DOUBLE_BUF", "INACTIVE_BUF_ID"}
 
DummyRegisterAccessor< minimumUserType > buffer0 {exceptionDummyMuxed.get(), "TEST/DBLASYNC.1", "BUF0"}
 
DummyRegisterAccessor< minimumUserType > buffer1 {exceptionDummyMuxed.get(), "TEST/DBLASYNC.1", "BUF1"}
 

Static Public Attributes

static uint32_t _currentBufferNumber = 0
 
static constexpr auto capabilities
 

Detailed Description

Definition at line 1213 of file testNumericAddressedBackendUnified.cpp.

Member Typedef Documentation

◆ minimumUserType

◆ rawUserType

Member Function Documentation

◆ generateValue()

template<typename UserType >
std::vector< std::vector< UserType > > DoubleBufferedNamedChannelSliceAsync::generateValue ( bool  = false)
inline

Definition at line 1237 of file testNumericAddressedBackendUnified.cpp.

◆ getRemoteValue()

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

Definition at line 1250 of file testNumericAddressedBackendUnified.cpp.

◆ isReadable()

static bool DoubleBufferedNamedChannelSliceAsync::isReadable ( )
inlinestatic

Definition at line 1216 of file testNumericAddressedBackendUnified.cpp.

◆ isWriteable()

static bool DoubleBufferedNamedChannelSliceAsync::isWriteable ( )
inlinestatic

Definition at line 1215 of file testNumericAddressedBackendUnified.cpp.

◆ nChannels()

static size_t DoubleBufferedNamedChannelSliceAsync::nChannels ( )
inlinestatic

Definition at line 1218 of file testNumericAddressedBackendUnified.cpp.

◆ nElementsPerChannel()

static size_t DoubleBufferedNamedChannelSliceAsync::nElementsPerChannel ( )
inlinestatic

Definition at line 1219 of file testNumericAddressedBackendUnified.cpp.

◆ nRuntimeErrorCases()

static size_t DoubleBufferedNamedChannelSliceAsync::nRuntimeErrorCases ( )
inlinestatic

Definition at line 1221 of file testNumericAddressedBackendUnified.cpp.

◆ path()

static std::string DoubleBufferedNamedChannelSliceAsync::path ( )
inlinestatic

Definition at line 1214 of file testNumericAddressedBackendUnified.cpp.

◆ setForceRuntimeError()

static void DoubleBufferedNamedChannelSliceAsync::setForceRuntimeError ( bool  enable,
size_t   
)
inlinestatic

Definition at line 1295 of file testNumericAddressedBackendUnified.cpp.

◆ setRemoteValue()

void DoubleBufferedNamedChannelSliceAsync::setRemoteValue ( )
inline

Definition at line 1265 of file testNumericAddressedBackendUnified.cpp.

◆ supportedFlags()

static ChimeraTK::AccessModeFlags DoubleBufferedNamedChannelSliceAsync::supportedFlags ( )
inlinestatic

Definition at line 1217 of file testNumericAddressedBackendUnified.cpp.

◆ writeQueueLength()

static size_t DoubleBufferedNamedChannelSliceAsync::writeQueueLength ( )
inlinestatic

Definition at line 1220 of file testNumericAddressedBackendUnified.cpp.

Member Data Documentation

◆ _currentBufferNumber

uint32_t DoubleBufferedNamedChannelSliceAsync::_currentBufferNumber = 0
static

Definition at line 1225 of file testNumericAddressedBackendUnified.cpp.

◆ buffer0

DummyRegisterAccessor<minimumUserType> DoubleBufferedNamedChannelSliceAsync::buffer0 {exceptionDummyMuxed.get(), "TEST/DBLASYNC.1", "BUF0"}

Definition at line 1246 of file testNumericAddressedBackendUnified.cpp.

◆ buffer1

DummyRegisterAccessor<minimumUserType> DoubleBufferedNamedChannelSliceAsync::buffer1 {exceptionDummyMuxed.get(), "TEST/DBLASYNC.1", "BUF1"}

Definition at line 1247 of file testNumericAddressedBackendUnified.cpp.

◆ capabilities

constexpr auto DoubleBufferedNamedChannelSliceAsync::capabilities
staticconstexpr
Initial value:
= TestCapabilities<>()
.disableForceDataLossWrite()
.disableAsyncReadInconsistency()
.disableSwitchReadOnly()
.disableSwitchWriteOnly()
.disableTestWriteNeverLosesData()
.disableTestRawTransfer()
.disableTestCatalogue()

Definition at line 1227 of file testNumericAddressedBackendUnified.cpp.

◆ currentBufferNumber

DummyRegisterAccessor<uint32_t> DoubleBufferedNamedChannelSliceAsync::currentBufferNumber {exceptionDummyMuxed.get(), "TEST/DOUBLE_BUF", "INACTIVE_BUF_ID"}

Definition at line 1245 of file testNumericAddressedBackendUnified.cpp.


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