DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::daqdataformats::ComponentRequest Struct Reference

A request sent to a Component, including the SourceID of the component and the window offset and width. More...

#include <ComponentRequest.hpp>

Collaboration diagram for dunedaq::daqdataformats::ComponentRequest:
[legend]

Public Member Functions

 ComponentRequest ()=default
 
 ComponentRequest (SourceID const &comp, timestamp_t const &wbegin, timestamp_t const &wend)
 

Public Attributes

uint32_t version { s_component_request_version }
 The version number of this ComponentRequest.
 
uint32_t unused { 0xFFFFFFFF }
 Padding to ensure 64b alignment // NOLINT(build/unsigned)
 
SourceID component
 The Requested Component.
 
timestamp_t window_begin { TypeDefaults::s_invalid_timestamp }
 Start of the data collection window.
 
timestamp_t window_end { TypeDefaults::s_invalid_timestamp }
 End of the data collection window.
 

Static Public Attributes

static constexpr uint32_t s_component_request_version = 2
 The current version of the ComponentRequest.
 

Detailed Description

A request sent to a Component, including the SourceID of the component and the window offset and width.

Definition at line 25 of file ComponentRequest.hpp.

Constructor & Destructor Documentation

◆ ComponentRequest() [1/2]

dunedaq::daqdataformats::ComponentRequest::ComponentRequest ( )
default

◆ ComponentRequest() [2/2]

dunedaq::daqdataformats::ComponentRequest::ComponentRequest ( SourceID const & comp,
timestamp_t const & wbegin,
timestamp_t const & wend )
inline

Definition at line 89 of file ComponentRequest.hpp.

91 , component(comp)
92 , window_begin(wbegin)
93 , window_end(wend)
94{}
timestamp_t window_end
End of the data collection window.
static constexpr uint32_t s_component_request_version
The current version of the ComponentRequest.
uint32_t version
The version number of this ComponentRequest.
SourceID component
The Requested Component.
timestamp_t window_begin
Start of the data collection window.

Member Data Documentation

◆ component

SourceID dunedaq::daqdataformats::ComponentRequest::component

The Requested Component.

Definition at line 38 of file ComponentRequest.hpp.

◆ s_component_request_version

uint32_t dunedaq::daqdataformats::ComponentRequest::s_component_request_version = 2
staticconstexpr

The current version of the ComponentRequest.

Definition at line 30 of file ComponentRequest.hpp.

◆ unused

uint32_t dunedaq::daqdataformats::ComponentRequest::unused { 0xFFFFFFFF }

Padding to ensure 64b alignment // NOLINT(build/unsigned)

Definition at line 36 of file ComponentRequest.hpp.

36{ 0xFFFFFFFF };

◆ version

uint32_t dunedaq::daqdataformats::ComponentRequest::version { s_component_request_version }

The version number of this ComponentRequest.

Definition at line 35 of file ComponentRequest.hpp.

35{ s_component_request_version }; // NOLINT(build/unsigned)

◆ window_begin

timestamp_t dunedaq::daqdataformats::ComponentRequest::window_begin { TypeDefaults::s_invalid_timestamp }

Start of the data collection window.

Definition at line 43 of file ComponentRequest.hpp.

static constexpr timestamp_t s_invalid_timestamp
An invalid timestamp.
Definition Types.hpp:65

◆ window_end

timestamp_t dunedaq::daqdataformats::ComponentRequest::window_end { TypeDefaults::s_invalid_timestamp }

End of the data collection window.

Definition at line 48 of file ComponentRequest.hpp.


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