Belle II Software development
|
A class to represent a bundle of digitized signals. More...
#include <SignalVector.h>
Public Member Functions | |
TRGSignalVector (const std::string &name, const TRGClock &, unsigned size=0) | |
Default constructor. | |
TRGSignalVector (const TRGSignalVector &) | |
Copy constructor. | |
TRGSignalVector (const TRGSignal &) | |
Constructor. | |
virtual | ~TRGSignalVector () |
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. | |
bool | active (int clockPosition) const |
returns true if there is a signal at clock position. | |
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. | |
void | dump (const std::string &message="", const std::string &pre="") const |
dumps contents. | |
const TRGSignalVector & | set (const TRGState &, int clockPosition) |
sets state at given clock. | |
const TRGClock & | clock (const TRGClock &) |
changes clock. | |
TRGSignalVector & | operator+= (const TRGSignal &) |
appends TRGSignal. | |
TRGSignalVector & | operator+= (const TRGSignalVector &) |
appends TRGSignalVector. | |
bool | operator== (const TRGSignalVector &) const |
compare two TRGSignalVectors. | |
bool | operator!= (const TRGSignalVector &) const |
compare two TRGSignalVectors. | |
Public Attributes | |
T | elements |
STL member. | |
Private Attributes | |
std::string | _name |
Name. | |
const TRGClock * | _clock |
Clock. | |
A class to represent a bundle of digitized signals.
Given TRGSignal should exist while this object alive.
Definition at line 26 of file SignalVector.h.
|
private |
Clock.
Definition at line 104 of file SignalVector.h.
|
private |
Name.
Definition at line 101 of file SignalVector.h.