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

A helper struct wrapping an IPbus header and a valid flag. More...

#include <uhal/ValMem.hpp>

Inheritance diagram for uhal::_ValHeader_:
[legend]

Public Attributes

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

 _ValHeader_ (const bool &aValid)
 Constructor Private, since this struct should only be used by the ValHeader. More...
 

Friends

class ValHeader
 Make ValHeader a friend since it is the only class that should be able to create an instance this struct. More...
 

Detailed Description

A helper struct wrapping an IPbus header and a valid flag.

Definition at line 79 of file ValMem.hpp.

Constructor & Destructor Documentation

◆ _ValHeader_()

uhal::_ValHeader_::_ValHeader_ ( const bool &  aValid)
protected

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

Parameters
aValidan initial validity

Definition at line 43 of file ValMem.cpp.

Friends And Related Function Documentation

◆ ValHeader

friend class ValHeader
friend

Make ValHeader a friend since it is the only class that should be able to create an instance this struct.

Definition at line 89 of file ValMem.hpp.

Member Data Documentation

◆ IPbusHeaders

std::deque<uint32_t> uhal::_ValHeader_::IPbusHeaders

The IPbus header associated with the transaction that returned this data.

Definition at line 85 of file ValMem.hpp.

◆ valid

bool uhal::_ValHeader_::valid

A flag for marking whether the data is actually valid.

Definition at line 83 of file ValMem.hpp.


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