|
ChimeraTK-DeviceAccess
03.18.00
|
Go to the documentation of this file.
12 template<
typename UserType>
15 size_t numberOfElements,
size_t elementsOffset,
const AccessModeFlags& flags)
17 _backend(boost::dynamic_pointer_cast<DummyBackendBase>(backend)), _interruptTrigger(std::move(interruptTrigger)) {
20 if(numberOfElements > 1) {
24 if(elementsOffset != 0) {
28 flags.checkForUnknownFlags({});
37 template<
typename UserType>
46 template<
typename UserType>
53 template<
typename UserType>
56 if(not _backend->isOpen()) {
60 if(_backend->throwExceptionWrite) {
61 _backend->throwExceptionCounter++;
65 _backend->checkActiveException();
The DummyInterruptTriggerAccessor class.
std::vector< std::vector< UserType > > buffer_2D
Buffer of converted data elements.
Exception thrown when a runtime error has occured.
DummyInterruptTriggerAccessor(boost::shared_ptr< DeviceBackend > backend, std::function< VersionNumber(void)> interruptTrigger, const RegisterPath ®isterPathName, size_t numberOfElements=1, size_t elementsOffset=0, const AccessModeFlags &flags={})
void doPreRead(TransferType) override
bool doWriteTransfer(ChimeraTK::VersionNumber) override
void doPreWrite(TransferType, VersionNumber) override
TransferType
Used to indicate the applicable operation on a Transferelement.
INSTANTIATE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(LNMBackendBitAccessor)
Class to store a register path name.
Class for generating and holding version numbers without exposing a numeric representation.
Set of AccessMode flags with additional functionality for an easier handling.
N-dimensional register accessor.
Exception thrown when a logic error has occured.