![]() |
Belle II Software release-09-00-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. | |
| 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.
|
private |
Used clock.
Definition at line 64 of file OpticalLink.h.
|
private |
Signal storage.
Definition at line 73 of file OpticalLink.h.
|
private |
Signal header.
Definition at line 67 of file OpticalLink.h.
|
private |
Name of a link.
Definition at line 61 of file OpticalLink.h.
|
private |
Signal trailer.
Definition at line 70 of file OpticalLink.h.