9#ifndef TRGSignalVector_FLAG_
10#define TRGSignalVector_FLAG_
51 const std::string&
name(
void)
const;
54 const std::string&
name(
const std::string& newName);
63 bool active(
int clockPosition)
const;
73 void dump(
const std::string& message =
"",
74 const std::string& pre =
"")
const;
120 return _name = newName;
134 return (!
operator==(a));
A class to represent a digitized signal. Unit is nano second.
A class to represent a bundle of digitized signals.
const TRGClock * _clock
Clock.
A class to represent a digitized signal. Unit is nano second.
A class to represent a state of multi bits.
const TRGSignalVector & set(const TRGState &, int clockPosition)
sets state at given clock.
TRGState state(int clockPosition) const
returns state at given clock position.
TRGSignalVector & operator+=(const TRGSignal &)
appends TRGSignal.
const TRGClock & clock(void) const
returns clock.
const std::string & name(void) const
returns name.
std::vector< int > stateChanges(void) const
returns a list of clock position of state change.
virtual ~TRGSignalVector()
Destructor.
bool operator==(const TRGSignalVector &) const
compare two TRGSignalVectors.
bool operator!=(const TRGSignalVector &) const
compare two TRGSignalVectors.
bool active(void) const
returns true if there is a signal.
void dump(const std::string &message="", const std::string &pre="") const
dumps contents.
Abstract base class for different kinds of events.