Belle II Software development
TRGSignalBundle Class Reference

A class to represent a bundle of SignalVectors. More...

#include <SignalBundle.h>

Inheritance diagram for TRGSignalBundle:

Public Member Functions

 TRGSignalBundle (const TRGClock &)
 Default constructor.
 
 TRGSignalBundle (const std::string &name, const TRGClock &)
 Constructor with name.
 
 TRGSignalBundle (const std::string &name, const TRGClock &clock, const TRGSignalBundle &input, const unsigned outputBitSize, TRGState(*packer)(const TRGState &))
 Constructor with a packer.
 
 TRGSignalBundle (const std::string &name, const TRGClock &clock, const TRGSignalBundle &input, const unsigned outputBitSize, const unsigned registerBitSize, TRGState(*packer)(const TRGState &in, TRGState &registers, bool &logicStillActive))
 Constructor with a packer which can handle multiple clock states.
 
virtual ~TRGSignalBundle ()
 Destructor.
 
const std::string & name (void) const
 returns name.
 
const std::string & name (const std::string &newName)
 sets and returns name.
 
const TRGClockclock (void) const
 returns clock.
 
bool active (void) const
 returns true if there is a signal.
 
std::vector< int > stateChanges (void) const
 returns a list of clock position of state change.
 
TRGState state (int clockPosition) const
 returns state at given clock position.
 
TRGSignal ored (void) const
 returns signal of all ORed.
 
void dump (const std::string &message="", const std::string &pre="") const
 dumps contents.
 
void dumpCOE (const std::string &fileName="", int start=0, int stop=0) const
 makes coe output.
 
const TRGClockclock (const TRGClock &)
 changes clock.
 
void readCOE (const std::string &fileName="")
 reads data from a file.
 

Public Attributes

elements
 STL member.
 

Private Attributes

std::string _name
 Name.
 
const TRGClock_clock
 Clock.
 

Detailed Description

A class to represent a bundle of SignalVectors.

Definition at line 26 of file SignalBundle.h.

Member Data Documentation

◆ _clock

const TRGClock* _clock
private

Clock.

Definition at line 106 of file SignalBundle.h.

◆ _name

std::string _name
private

Name.

Definition at line 103 of file SignalBundle.h.


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