μHAL (v2.7.9)
Part of the IPbus software repository
Public Attributes | Protected Member Functions | Friends | List of all members
uhal::_ValVector_< T > Struct Template Reference

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>

Inheritance diagram for uhal::_ValVector_< T >:
[legend]
Collaboration diagram for uhal::_ValVector_< T >:
[legend]

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...
 

Detailed Description

template<typename T>
struct uhal::_ValVector_< T >

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.

Constructor & Destructor Documentation

◆ _ValVector_()

template<typename T >
uhal::_ValVector_< T >::_ValVector_ ( const std::vector< T > &  aValue,
const bool &  aValid 
)
protected

Constructor Private, since this struct should only be used by the ValVector.

Parameters
aValuean initial value
aValidan initial validity

Definition at line 62 of file ValMem.cpp.

Friends And Related Function Documentation

◆ ValVector< T >

template<typename T >
friend class ValVector< T >
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.

Member Data Documentation

◆ value

template<typename T >
std::vector<T> uhal::_ValVector_< T >::value

A block of memory for storing data.

Definition at line 130 of file ValMem.hpp.


The documentation for this struct was generated from the following files: