ChimeraTK-DeviceAccess  03.18.00
ChimeraTK::proxies::DummyRegisterSequence< T > Class Template Reference

Temporary proxy class for sequences, used in the DummyMultiplexedRegister class. More...

#include <DummyRegisterAccessor.h>

+ Collaboration diagram for ChimeraTK::proxies::DummyRegisterSequence< T >:

Public Member Functions

 DummyRegisterSequence (FixedPointConverter *_fpc, int _nbytes, int _pitch, int32_t *_buffer)
 
DummyRegisterElement< T > operator[] (unsigned int sample)
 Get or set register content by [] operator. More...
 
void operator= (const DummyRegisterSequence &rightHandSide) const =delete
 remove assignment operator since it will be confusing *‍/ More...
 

Protected Attributes

FixedPointConverterfpcptr
 fixed point converter to be used for this sequence More...
 
int nbytes
 number of bytes per word More...
 
int pitch
 pitch in bytes (distance between samples of the same sequence) More...
 
int32_t * buffer
 reference to the raw buffer (first word of the sequence) More...
 

Detailed Description

template<typename T>
class ChimeraTK::proxies::DummyRegisterSequence< T >

Temporary proxy class for sequences, used in the DummyMultiplexedRegister class.

Will be returned by the first [] operator.

Definition at line 81 of file DummyRegisterAccessor.h.

Constructor & Destructor Documentation

◆ DummyRegisterSequence()

template<typename T >
ChimeraTK::proxies::DummyRegisterSequence< T >::DummyRegisterSequence ( FixedPointConverter _fpc,
int  _nbytes,
int  _pitch,
int32_t *  _buffer 
)
inline

Definition at line 83 of file DummyRegisterAccessor.h.

Member Function Documentation

◆ operator=()

template<typename T >
void ChimeraTK::proxies::DummyRegisterSequence< T >::operator= ( const DummyRegisterSequence< T > &  rightHandSide) const
delete

remove assignment operator since it will be confusing *‍/

◆ operator[]()

template<typename T >
DummyRegisterElement<T> ChimeraTK::proxies::DummyRegisterSequence< T >::operator[] ( unsigned int  sample)
inline

Get or set register content by [] operator.

Definition at line 87 of file DummyRegisterAccessor.h.

Member Data Documentation

◆ buffer

template<typename T >
int32_t* ChimeraTK::proxies::DummyRegisterSequence< T >::buffer
protected

reference to the raw buffer (first word of the sequence)

Definition at line 111 of file DummyRegisterAccessor.h.

◆ fpcptr

template<typename T >
FixedPointConverter* ChimeraTK::proxies::DummyRegisterSequence< T >::fpcptr
protected

fixed point converter to be used for this sequence

Definition at line 102 of file DummyRegisterAccessor.h.

◆ nbytes

template<typename T >
int ChimeraTK::proxies::DummyRegisterSequence< T >::nbytes
protected

number of bytes per word

Definition at line 105 of file DummyRegisterAccessor.h.

◆ pitch

template<typename T >
int ChimeraTK::proxies::DummyRegisterSequence< T >::pitch
protected

pitch in bytes (distance between samples of the same sequence)

Definition at line 108 of file DummyRegisterAccessor.h.


The documentation for this class was generated from the following file: