Belle II Software development
|
A class to represent a serial link between trigger hardware modules. More...
#include <Channel.h>
Public Member Functions | |
TRGChannel (const std::string &name, const TRGBoard &sender, const TRGBoard &receiver) | |
Constructor. | |
virtual | ~TRGChannel () |
Destructor. | |
const std::string & | name (void) const |
returns name. | |
TRGSignalBundle * | signal (void) const |
returns signal. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
const TRGBoard & | sender (void) const |
sender TRG board | |
TRGSignalBundle * | signal (TRGSignalBundle *) |
sets input data. | |
Private Attributes | |
const std::string | _name |
Name of a channel. | |
const TRGBoard & | _sender |
Sender. | |
const TRGBoard & | _receiver |
Receiver. | |
TRGSignalBundle * | _data |
Input data. | |
A class to represent a serial link between trigger hardware modules.
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 |