A Template helper struct wrapping a block of IPbus header, a register for storing a block of data and a valid flag. More...
#include <uhal/ValMem.hpp>
Public Attributes | |
std::vector< T > | value |
A block of memory for storing data. More... | |
Public Attributes inherited from uhal::_ValHeader_ | |
bool | valid |
A flag for marking whether the data is actually valid. More... | |
std::deque< uint32_t > | IPbusHeaders |
The IPbus header associated with the transaction that returned this data. More... | |
Protected Member Functions | |
_ValVector_ (const std::vector< T > &aValue, const bool &aValid) | |
Constructor Private, since this struct should only be used by the ValVector. More... | |
Protected Member Functions inherited from uhal::_ValHeader_ | |
_ValHeader_ (const bool &aValid) | |
Constructor Private, since this struct should only be used by the ValHeader. More... | |
Friends | |
class | ValVector< T > |
Make ValVector a friend since it is the only class that should be able to create an instance this struct. More... | |
A Template helper struct wrapping a block of IPbus header, a register for storing a block of data and a valid flag.
Definition at line 126 of file ValMem.hpp.
|
protected |
Constructor Private, since this struct should only be used by the ValVector.
aValue | an initial value |
aValid | an initial validity |
Definition at line 62 of file ValMem.cpp.
|
friend |
Make ValVector a friend since it is the only class that should be able to create an instance this struct.
Definition at line 130 of file ValMem.hpp.
std::vector<T> uhal::_ValVector_< T >::value |
A block of memory for storing data.
Definition at line 130 of file ValMem.hpp.