ChimeraTK-DeviceAccess
03.18.00
|
Temporary proxy class for use in the DummyRegister and DummyMultiplexedRegister classes. More...
#include <DummyRegisterAccessor.h>
Public Member Functions | |
DummyRegisterElement (FixedPointConverter *_fpc, int _nbytes, int32_t *_buffer) | |
operator T () const | |
Implicit type conversion to user type T. More... | |
DummyRegisterElement< T > & | operator= (T rhs) |
assignment operator More... | |
DummyRegisterElement< T > | operator++ () |
pre-increment operator More... | |
DummyRegisterElement< T > | operator-- () |
pre-decrement operator More... | |
T | operator++ (int) |
post-increment operator More... | |
T | operator-- (int) |
post-decrement operator More... | |
Protected Member Functions | |
DummyRegisterElement () | |
constructor when used as a base class in DummyRegister More... | |
Protected Attributes | |
FixedPointConverter * | fpcptr |
fixed point converter to be used for this element More... | |
int | nbytes |
number of bytes per word More... | |
int32_t * | buffer |
raw buffer of this element More... | |
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 FixedPointConverter.
Definition at line 20 of file DummyRegisterAccessor.h.
|
inline |
Definition at line 22 of file DummyRegisterAccessor.h.
|
inlineprotected |
constructor when used as a base class in DummyRegister
Definition at line 65 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 28 of file DummyRegisterAccessor.h.
|
inline |
pre-increment operator
Definition at line 38 of file DummyRegisterAccessor.h.
|
inline |
post-increment operator
Definition at line 50 of file DummyRegisterAccessor.h.
|
inline |
pre-decrement operator
Definition at line 44 of file DummyRegisterAccessor.h.
|
inline |
post-decrement operator
Definition at line 57 of file DummyRegisterAccessor.h.
|
inline |
assignment operator
Definition at line 31 of file DummyRegisterAccessor.h.
|
protected |
raw buffer of this element
Definition at line 74 of file DummyRegisterAccessor.h.
|
protected |
fixed point converter to be used for this element
Definition at line 68 of file DummyRegisterAccessor.h.
|
protected |
number of bytes per word
Definition at line 71 of file DummyRegisterAccessor.h.