artdaq  v3_09_05
artdaq::detail::RoutingAckPacket Struct Reference

A RoutingAckPacket contains the rank of the table receiver, plus the first and last sequence IDs in the Routing Table (for verification) More...

#include <artdaq/DAQrate/detail/RoutingPacket.hh>

Static Public Member Functions

static RoutingAckPacket makeEndOfDataRoutingAckPacket (int rank)
 Create an EndOfData RoutingAckPacket. More...
 
static bool isEndOfDataRoutingAckPacket (RoutingAckPacket pkt)
 Check if a RoutingAckPacket is an EndOfData RoutingAckPacket. More...
 

Public Attributes

int rank
 The rank from which the RoutingAckPacket came.
 
Fragment::sequence_id_t first_sequence_id
 The first sequence ID in the received RoutingPacket.
 
Fragment::sequence_id_t last_sequence_id
 The last sequence ID in the received RoutingPacket.
 

Detailed Description

A RoutingAckPacket contains the rank of the table receiver, plus the first and last sequence IDs in the Routing Table (for verification)

Definition at line 83 of file RoutingPacket.hh.

Member Function Documentation

static bool artdaq::detail::RoutingAckPacket::isEndOfDataRoutingAckPacket ( RoutingAckPacket  pkt)
inlinestatic

Check if a RoutingAckPacket is an EndOfData RoutingAckPacket.

Parameters
pktRoutingAckPacket to check
Returns
Whether the RoutingAckPacket is an EndOfData RoutingAckPacket

Definition at line 108 of file RoutingPacket.hh.

static RoutingAckPacket artdaq::detail::RoutingAckPacket::makeEndOfDataRoutingAckPacket ( int  rank)
inlinestatic

Create an EndOfData RoutingAckPacket.

Parameters
rankRank of sender sending EndOfData
Returns
EndOfData RoutingAckPacket

Definition at line 94 of file RoutingPacket.hh.


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