9#ifndef TRGOpticalLink_FLAG_
10#define TRGOpticalLink_FLAG_
37 const std::string&
name(
void)
const;
44 void dump(
const std::string& message =
"",
45 const std::string& pre =
"")
const;
67 std::vector<const TRGSignal*>
_head;
70 std::vector<const TRGSignal*>
_trail;
73 std::vector<const TRGSignal*>
_data;
A class to represent a digitized signal. Unit is nano second.
A class to represent a serial link between trigger modules.
const std::string _name
Name of a link.
const TRGClock * _clock
Used clock.
std::vector< const TRGSignal * > _head
Signal header.
std::vector< const TRGSignal * > _trail
Signal trailer.
std::vector< const TRGSignal * > _data
Signal storage.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
A class to represent a digitized signal. Unit is nano second.
void appendHeader(const TRGSignal *)
appends a signal to header data.
void appendTrailer(const TRGSignal *)
appends a signal to trailer data.
const TRGClock & clock(void) const
returns clock.
const std::string & name(void) const
returns name.
virtual ~TRGOpticalLink()
Destructor.
void append(const TRGSignal *)
appends a signal to data.
Abstract base class for different kinds of events.