|
ChimeraTK-DeviceAccess
03.18.00
|
Go to the documentation of this file.
10 class DummyBackendBase;
20 template<
typename UserType>
25 size_t numberOfElements = 1,
size_t elementsOffset = 0,
const AccessModeFlags& flags = {});
35 [[nodiscard]]
bool isReadOnly()
const override {
return false; }
36 [[nodiscard]]
bool isReadable()
const override {
return false; }
37 [[nodiscard]]
bool isWriteable()
const override {
return true; }
41 return {boost::enable_shared_from_this<TransferElement>::shared_from_this()};
47 boost::shared_ptr<DummyBackendBase> _backend;
bool isReadable() const override
std::vector< boost::shared_ptr< TransferElement > > getHardwareAccessingElements() override
The DummyInterruptTriggerAccessor class.
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.
bool isWriteable() const override
Class to store a register path name.
Class for generating and holding version numbers without exposing a numeric representation.
bool isReadOnly() const override
Set of AccessMode flags with additional functionality for an easier handling.
DECLARE_TEMPLATE_FOR_CHIMERATK_USER_TYPES(DummyInterruptTriggerAccessor)
std::list< boost::shared_ptr< TransferElement > > getInternalElements() override
void doReadTransferSynchronously() override
N-dimensional register accessor.