|
| 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={}) |
|
bool | doWriteTransfer (ChimeraTK::VersionNumber) override |
|
void | doReadTransferSynchronously () override |
|
void | doPreRead (TransferType) override |
|
void | doPreWrite (TransferType, VersionNumber) override |
|
bool | isReadOnly () const override |
|
bool | isReadable () const override |
|
bool | isWriteable () const override |
|
| NDRegisterAccessor (std::string const &name, AccessModeFlags accessModeFlags, std::string const &unit=std::string(TransferElement::unitNotSet), std::string const &description=std::string()) |
| Creates an NDRegisterAccessor with the specified name (passed on to the transfer element). More...
|
|
UserType & | accessData (size_t sample) |
| Get or set register accessor's buffer content (1D version). More...
|
|
const UserType & | accessData (size_t sample) const |
|
UserType & | accessData (unsigned int channel, unsigned int sample) |
| Get or set register accessor's buffer content (2D version). More...
|
|
const UserType & | accessData (unsigned int channel, unsigned int sample) const |
|
std::vector< UserType > & | accessChannel (unsigned int channel) |
| Get or set register accessor's channel vector. More...
|
|
const std::vector< UserType > & | accessChannel (unsigned int channel) const |
|
std::vector< std::vector< UserType > > & | accessChannels () |
| Get or set register accessor's 2D channel vector. More...
|
|
const std::vector< std::vector< UserType > > & | accessChannels () const |
|
unsigned int | getNumberOfSamples () const |
| Return number of elements per channel. More...
|
|
unsigned int | getNumberOfChannels () const |
| Return number of channels. More...
|
|
const std::type_info & | getValueType () const override |
|
template<typename COOKED_TYPE > |
COOKED_TYPE | getAsCooked (unsigned int channel, unsigned int sample) const |
|
| DEFINE_VIRTUAL_FUNCTION_TEMPLATE_VTABLE (getAsCooked_impl, T const(unsigned int, unsigned int)) |
|
template<typename COOKED_TYPE > |
COOKED_TYPE | getAsCooked_impl (unsigned int channel, unsigned int sample) const |
|
template<typename COOKED_TYPE > |
void | setAsCooked (unsigned int channel, unsigned int sample, COOKED_TYPE value) |
|
| DEFINE_VIRTUAL_FUNCTION_TEMPLATE_VTABLE (setAsCooked_impl, void(unsigned int, unsigned int, T)) |
|
template<typename COOKED_TYPE > |
void | setAsCooked_impl (unsigned int channel, unsigned int sample, COOKED_TYPE value) |
|
boost::shared_ptr< TransferElement > | makeCopyRegisterDecorator () override |
|
template<typename UserType>
class ChimeraTK::DummyInterruptTriggerAccessor< UserType >
The DummyInterruptTriggerAccessor class.
Pseudo-accessor for the hidden DUMMY_INTERRUPT_X_Y register that can be used to trigger the interrupt Y on interrupt controller X. This will do nothing but call DummyBackendBase::triggerInterrupt() when written to. For backwards compatibility it can also be read from, but there is only a constant value available.
Definition at line 21 of file DummyInterruptTriggerAccessor.h.