![]() |
ChimeraTK-DeviceAccess 03.27.00
|
Temporary proxy class for use in the DummyRegister and DummyMultiplexedRegister classes. More...
#include <DummyRegisterAccessor.h>
Inheritance diagram for ChimeraTK::proxies::DummyRegisterElement< T >:
Collaboration diagram for ChimeraTK::proxies::DummyRegisterElement< T >:Public Member Functions | |
| DummyRegisterElement (std::shared_ptr< RawConverterCapsule< T > > &rc, int nbytes, std::byte *buffer) | |
| operator T () const | |
| Implicit type conversion to user type T. | |
| DummyRegisterElement< T > & | operator= (T rhs) |
| assignment operator | |
| DummyRegisterElement< T > | operator++ () |
| pre-increment operator | |
| DummyRegisterElement< T > | operator-- () |
| pre-decrement operator | |
| T | operator++ (int) |
| post-increment operator | |
| T | operator-- (int) |
| post-decrement operator | |
Protected Attributes | |
| std::shared_ptr< RawConverterCapsule< T > > & | _rc |
| fixed point converter to be used for this element | |
| int | _nbytes |
| number of bytes per word | |
| std::byte * | _buffer |
| raw buffer of this element | |
Temporary proxy class for use in the DummyRegister and DummyMultiplexedRegister classes.
Will be returned in place of l.h.s. references to the register elements, to allow read-write access to registers governed by a RawConverter
Definition at line 36 of file DummyRegisterAccessor.h.
|
inline |
Definition at line 38 of file DummyRegisterAccessor.h.
|
inline |
Implicit type conversion to user type T.
This covers already a lot of operations like arithmetic and comparison
Definition at line 44 of file DummyRegisterAccessor.h.
|
inline |
pre-increment operator
Definition at line 53 of file DummyRegisterAccessor.h.
|
inline |
post-increment operator
Definition at line 66 of file DummyRegisterAccessor.h.
|
inline |
pre-decrement operator
Definition at line 59 of file DummyRegisterAccessor.h.
|
inline |
post-decrement operator
Definition at line 74 of file DummyRegisterAccessor.h.
|
inline |
assignment operator
Definition at line 47 of file DummyRegisterAccessor.h.
|
protected |
raw buffer of this element
Definition at line 89 of file DummyRegisterAccessor.h.
|
protected |
number of bytes per word
Definition at line 86 of file DummyRegisterAccessor.h.
|
protected |
fixed point converter to be used for this element
Definition at line 83 of file DummyRegisterAccessor.h.