Belle II Software development
|
A class to represent a bundle of SignalVectors. More...
#include <SignalBundle.h>
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 ®isters, 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 TRGClock & | clock (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 TRGClock & | clock (const TRGClock &) |
changes clock. | |
void | readCOE (const std::string &fileName="") |
reads data from a file. | |
Public Attributes | |
T | elements |
STL member. | |
Private Attributes | |
std::string | _name |
Name. | |
const TRGClock * | _clock |
Clock. | |
A class to represent a bundle of SignalVectors.
Definition at line 26 of file SignalBundle.h.
|
private |
Clock.
Definition at line 106 of file SignalBundle.h.
|
private |
Name.
Definition at line 103 of file SignalBundle.h.