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 }
uint32_t unused { 0xFFFFFFFF }
 Padding to ensure 64b alignment // NOLINT(build/unsigned).
SourceID component
 The ID of 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

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 47 of file ComponentRequest.hpp.

48 : component(comp)
49 , window_begin(wbegin)
50 , window_end(wend)
51{
52}
timestamp_t window_end
End of the data collection window.
SourceID component
The ID of the Requested Component.
timestamp_t window_begin
Start of the data collection window.

Member Data Documentation

◆ component

SourceID dunedaq::daqdataformats::ComponentRequest::component

The ID of the Requested Component.

Definition at line 32 of file ComponentRequest.hpp.

◆ s_component_request_version

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

Definition at line 27 of file ComponentRequest.hpp.

◆ unused

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

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

Definition at line 30 of file ComponentRequest.hpp.

30{ 0xFFFFFFFF };

◆ version

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

Definition at line 29 of file ComponentRequest.hpp.

29{ s_component_request_version }; // NOLINT(build/unsigned)
static constexpr uint32_t s_component_request_version

◆ window_begin

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

Start of the data collection window.

Definition at line 35 of file ComponentRequest.hpp.

static constexpr timestamp_t s_invalid_timestamp
Definition Types.hpp:52

◆ window_end

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

End of the data collection window.

Definition at line 38 of file ComponentRequest.hpp.


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