Belle II Software development
TRGChannel Class Reference

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.
 
TRGSignalBundlesignal (void) const
 returns signal.
 
void dump (const std::string &message="", const std::string &pre="") const
 dumps contents.
 
const TRGBoardsender (void) const
 sender TRG board
 
TRGSignalBundlesignal (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.
 

Detailed Description

A class to represent a serial link between trigger hardware modules.

Definition at line 24 of file Channel.h.

Member Function Documentation

◆ dump()

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.

Member Data Documentation

◆ _data

TRGSignalBundle* _data
private

Input data.

Definition at line 71 of file Channel.h.

◆ _name

const std::string _name
private

Name of a channel.

Definition at line 62 of file Channel.h.

◆ _receiver

const TRGBoard& _receiver
private

Receiver.

Definition at line 68 of file Channel.h.

◆ _sender

const TRGBoard& _sender
private

Sender.

Definition at line 65 of file Channel.h.


The documentation for this class was generated from the following files: