![]() |
Belle II Software
release-08-02-04
|
A class to represent a serial link between trigger modules. More...
#include <OpticalLink.h>


Public Member Functions | |
| TRGOpticalLink (const std::string &name, const TRGClock &) | |
| Constructor. | |
| virtual | ~TRGOpticalLink () |
| Destructor. | |
| const std::string & | name (void) const |
| returns name. | |
| const TRGClock & | clock (void) const |
| returns clock. | |
| void | dump (const std::string &message="", const std::string &pre="") const |
| dumps contents. More... | |
| void | appendHeader (const TRGSignal *) |
| appends a signal to header data. | |
| void | appendTrailer (const TRGSignal *) |
| appends a signal to trailer data. | |
| void | append (const TRGSignal *) |
| appends a signal to data. | |
Private Attributes | |
| 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. | |
A class to represent a serial link between trigger modules.
Definition at line 25 of file OpticalLink.h.
| void dump | ( | const std::string & | message = "", |
| const std::string & | pre = "" |
||
| ) | const |
dumps contents.
"message" is to select information to dump. "pre" will be printed in head of each line.