#include <CAbnormalEndItem.h> namespace v12 { class CAbnormalEndItem : public ::CAbnormalEndItem { CAbnormalEndItem(); virtual void* getBodyHeader() const; virtual void setBodyHeader(uint64_t timestamp, uint32_t sourceId, uint32_t barrierType = 0); virtual std::string typeName() const; virtual std::string toString() const; }; }
Abnormal end runs are sent through the data flow to indicate that a readout failed and that the run must be ended in an incorrect manner. The item itself only consists of a ring item header (defined in v12/DataFormat.h), and a uint32_t containing sizeof(uint32_t) indicating there is no body header in the item.
CAbnormalEndItem();
Constructs the item.
const virtual void* getBodyHeader();
Returns nullptr since these items don't have body headers.
virtual void setBodyHeader(uint64_t timestamp, uint32_t sourceId, uint32_t barrierType = 0);
Since the CAbnormalEndItem
never has a body header, this is a no-op.
const virtual std::string typeName();
Returns the string Abnormal End
const virtual std::string toString();
Returns the string Abnormal End\n where the \n should be interpreted to mean a new line.