![]() |
![]() |
#include <FWCore/ServiceRegistry/interface/Signal.h>
Protected Attributes | |
int | alwaysn |
Signal * | ca1 |
Signal * | ca2 |
int | change |
int | h |
Signal * | host |
int | hostl |
int | inited |
int | l |
rval | mask |
int | mode |
int | nedge |
Signal * | outhost |
Signal * | outreg |
int | pedge |
int | printable |
rval | r |
rval | rc |
Signal * | source |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Signal s) |
Signal | rand (Signal) |
Signal | ror (Signal) |
Signal | rxor (Signal) |
Description: A simple implementation of the signal/slot pattern
Usage: This is a simple version of the signal/slot pattern and is used by the Framework. It is safe to call 'emit' from multiple threads simultaneously. Assumptions: -The attached slots have a life-time greater than the last 'emit' call issued from the Signal. -'connect' is not called simultaneously with any other methods of the class.
Signal::Signal | ( | ) |
Definition at line 29 of file vlib.cc.
References create().
Referenced by module::AddOutReg(), and setprintable().
Signal::Signal | ( | rval | n | ) |
Definition at line 157 of file vlib.cc.
References create(), TauDecayModes::dec, init(), inited, mnum, mode, dqmiodumpmetadata::n, r, rc, and Sizeofrval.
Signal::Signal | ( | int | n | ) |
Definition at line 172 of file vlib.cc.
References create(), TauDecayModes::dec, init(), inited, mnum, mode, dqmiodumpmetadata::n, r, rc, and Sizeofrval.
Signal::Signal | ( | unsigned int | n | ) |
Definition at line 187 of file vlib.cc.
References create(), TauDecayModes::dec, init(), inited, mnum, mode, dqmiodumpmetadata::n, r, rc, and Sizeofrval.
Signal::Signal | ( | const char * | sval | ) |
Definition at line 43 of file vlib.cc.
References bits, create(), mps_fire::i, init(), mask, mnum, mode, r, rc, AlCaHLTBitMon_QueryRunRegistry::string, heppy_batch::val, and relativeConstraints::value.
Signal::Signal | ( | int | bits, |
rval | value | ||
) |
Definition at line 31 of file vlib.cc.
References create(), TauDecayModes::dec, init(), mask, r, rc, and relativeConstraints::value.
Definition at line 459 of file vlib.cc.
References ca1, ca2, change, gather_cfg::cout, globcontrol::getalwaysn(), getl(), getval(), h, host, hostl, AnalysisDataFormats_SUSYBSMObjects::hr, l, mask, minout, mode, moutput, Skims_PA_cff::name, nedge, outhost, outreg, pedge, r, rc, set(), setalwaysn(), globcontrol::setchange(), and OrderedSet::t.
Referenced by operator=(), set(), and setprintable().
void Signal::clock | ( | const char * | rname | ) |
Definition at line 603 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, TauDecayModes::dec, globcontrol::getparent(), h, host, init(), inited, l, minput, mode, Skims_PA_cff::name, nedge, obnames, outhost, outreg, pedge, printable, r, rc, module::setchange(), setr(), and setrc().
Referenced by input().
void Signal::create | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 67 of file vlib.h.
References nedge.
Referenced by module::negedge(), and output().
|
inline |
Definition at line 66 of file vlib.h.
References pedge.
Referenced by output(), and module::posedge().
|
inline |
Definition at line 52 of file vlib.h.
References r.
Referenced by init(), input(), operator<<(), parameter::operator=(), and output().
rval Signal::getval | ( | ) |
Definition at line 415 of file vlib.cc.
References getalwaysn(), globcontrol::getalwaysn(), r, and rc.
Referenced by asgn(), getbool(), operator()(), operator,(), memory::operator[](), operator||(), rand(), rxor(), and setprintable().
void Signal::init | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 208 of file vlib.cc.
References h, LaserClient_cfi::high, inited, l, LaserClient_cfi::low, makemask(), Skims_PA_cff::name, rname, and source.
Referenced by clock(), function::function(), init(), parameter::init(), initreg(), inout(), input(), module::negedge(), parameter::operator int(), operator()(), module::operator()(), operator,(), operator||(), output(), module::posedge(), rand(), ror(), rxor(), Signal(), and wire().
|
inline |
Definition at line 38 of file vlib.h.
References plotscripts::getname(), h, init(), l, makemask(), Skims_PA_cff::name, r, rname, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by init().
void Signal::init | ( | Signal * | shost, |
int | h, | ||
int | l, | ||
const char * | rname | ||
) |
Definition at line 224 of file vlib.cc.
References change, getl(), getr(), h, LaserClient_cfi::high, host, l, LaserClient_cfi::low, makemask(), mask, Skims_PA_cff::name, nedge, pedge, r, rc, rname, and source.
void Signal::initreg | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
void Signal::inout | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 717 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, h, LaserClient_cfi::high, hostl, init(), l, LaserClient_cfi::low, minout, mode, Skims_PA_cff::name, obnames, and printable.
Referenced by output().
|
inline |
void Signal::input | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 545 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, TauDecayModes::dec, getmask(), globcontrol::getparent(), getr(), h, LaserClient_cfi::high, host, init(), inited, l, LaserClient_cfi::low, minput, mode, Skims_PA_cff::name, nedge, obnames, outhost, outreg, pedge, printable, r, module::setchange(), setr(), and setrc().
Referenced by operator--().
|
inline |
void Signal::makemask | ( | ) |
Definition at line 202 of file vlib.cc.
References h, l, L1DTConfigBti_cff::LL, and mask.
Referenced by function::function(), init(), and function::init().
Signal Signal::operator! | ( | ) |
Definition at line 274 of file vlib.cc.
Referenced by setprintable().
Signal Signal::operator!= | ( | Signal | arg | ) |
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
Signal * Signal::operator& | ( | ) |
Definition at line 306 of file vlib.cc.
Referenced by setprintable().
Definition at line 517 of file vlib.cc.
References getval(), init(), l, mask, Skims_PA_cff::name, printable, r, rc, and OrderedSet::t.
Referenced by operator--().
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
|
inline |
|
inline |
Definition at line 324 of file vlib.cc.
References ca1, ca2, getval(), h, init(), l, mask, Skims_PA_cff::name, printable, r, source, and OrderedSet::t.
Referenced by operator--().
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
|
inline |
|
inline |
Definition at line 109 of file vlib.h.
References input(), operator()(), operator,(), operator<<(), rand, ror, rxor, and alignCSCRings::s.
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
Definition at line 306 of file vlib.cc.
Referenced by operator--(), and setprintable().
Definition at line 417 of file vlib.cc.
References asgn(), dbgmsg, globcontrol::getalwaysn(), minout, minput, mode, moutput, mreg, mwire, NULL, trackingPlots::other, and outreg.
Referenced by parameter::operator int(), and setprintable().
Definition at line 306 of file vlib.cc.
Referenced by setprintable().
Definition at line 305 of file vlib.cc.
Referenced by setprintable().
Definition at line 306 of file vlib.cc.
Referenced by setprintable().
Definition at line 308 of file vlib.cc.
References change, getval(), h, init(), l, mask, Skims_PA_cff::name, printable, r, and OrderedSet::t.
Referenced by setprintable().
Signal Signal::operator~ | ( | ) |
Definition at line 274 of file vlib.cc.
Referenced by setprintable().
void Signal::output | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 655 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, h, LaserClient_cfi::high, hostl, init(), l, LaserClient_cfi::low, mode, moutput, mreg, Skims_PA_cff::name, obnames, and printable.
|
inline |
Definition at line 127 of file vlib.h.
References LaserClient_cfi::high, inout(), LaserClient_cfi::low, output(), and class-composition::parent.
Referenced by output().
void Signal::output | ( | int | high, |
int | low, | ||
const char * | rname, | ||
module * | parent | ||
) |
Definition at line 695 of file vlib.cc.
References module::AddOutReg(), TauDecayModes::dec, getchange(), getnegedge(), getposedge(), getr(), h, l, Skims_PA_cff::name, output(), outreg, setchange(), setnegedge(), setposedge(), and setr().
void Signal::output | ( | const char * | rname, |
module * | parent | ||
) |
void Signal::reg | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 756 of file vlib.cc.
References gather_cfg::cout, TauDecayModes::dec, h, initreg(), l, and Skims_PA_cff::name.
Referenced by module::AddOutReg(), inout(), and memory::memory().
|
inline |
|
inline |
|
inline |
Definition at line 69 of file vlib.h.
References change.
Referenced by globcontrol::getalwaysn(), module::negedge(), output(), and module::posedge().
|
inline |
Definition at line 59 of file vlib.h.
References LaserClient_cfi::high, LaserClient_cfi::low, and mask.
|
inline |
|
inline |
|
inline |
Definition at line 74 of file vlib.h.
References asgn(), getval(), operator!(), operator!=(), operator%(), operator&(), operator&&(), operator*(), operator+(), operator-(), operator/(), operator<(), operator<<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), operator>>(), operator^(), operator|(), operator||(), operator~(), AlCaHLTBitMon_ParallelJobs::p, printable, and Signal().
Referenced by operator<<().
|
inline |
|
inline |
void Signal::wire | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 808 of file vlib.cc.
References change, gather_cfg::cout, TauDecayModes::dec, globcontrol::getparent(), h, init(), l, mode, mwire, Skims_PA_cff::name, nedge, obnames, outhost, pedge, r, rc, and module::setchange().
void Signal::wire | ( | int | high, |
int | low, | ||
const char * | rname, | ||
int | i | ||
) |
|
inline |
|
friend |
|
protected |
Definition at line 162 of file vlib.h.
Referenced by globcontrol::alwaysstart(), create(), getalwaysn(), globcontrol::getalwaysn(), globcontrol::globcontrol(), and setalwaysn().
|
protected |
Definition at line 156 of file vlib.h.
Referenced by asgn(), create(), and operator,().
|
protected |
Definition at line 157 of file vlib.h.
Referenced by asgn(), create(), and operator,().
|
protected |
Definition at line 158 of file vlib.h.
Referenced by asgn(), clock(), create(), getchange(), module::getchange(), globcontrol::getchange(), globcontrol::globcontrol(), init(), parameter::init(), initreg(), input(), operator||(), setchange(), module::setchange(), globcontrol::setchange(), and wire().
|
protected |
Definition at line 145 of file vlib.h.
Referenced by asgn(), clock(), create(), geth(), init(), function::init(), inout(), input(), makemask(), operator,(), operator||(), output(), reg(), rxor(), function::vbeginfunction(), function::vendfunction(), and wire().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 145 of file vlib.h.
Referenced by asgn(), clock(), create(), getl(), init(), function::init(), inout(), input(), makemask(), operator()(), operator,(), operator||(), output(), reg(), rxor(), function::vbeginfunction(), function::vendfunction(), and wire().
|
protected |
Definition at line 147 of file vlib.h.
Referenced by asgn(), create(), getmask(), init(), makemask(), function::makemask(), operator()(), operator,(), operator||(), rand(), rxor(), sethlmask(), setr(), setrc(), Signal(), and function::vendfunction().
|
protected |
|
protected |
Definition at line 158 of file vlib.h.
Referenced by asgn(), clock(), create(), getnegedge(), init(), parameter::init(), initreg(), input(), setnegedge(), and wire().
|
protected |
|
protected |
Definition at line 161 of file vlib.h.
Referenced by module::AddOutReg(), asgn(), clock(), create(), module::create(), input(), operator=(), output(), and module::~module().
|
protected |
Definition at line 158 of file vlib.h.
Referenced by asgn(), clock(), create(), getposedge(), init(), parameter::init(), initreg(), input(), setposedge(), and wire().
|
protected |
Definition at line 164 of file vlib.h.
Referenced by clock(), create(), inout(), input(), operator&(), operator()(), operator,(), operator||(), output(), rand(), ror(), rxor(), and setprintable().
|
protected |
Definition at line 140 of file vlib.h.
Referenced by asgn(), clock(), create(), getint(), getr(), getval(), init(), initreg(), input(), memory::memory(), parameter::operator int(), operator()(), operator,(), parameter::operator=(), memory::operator[](), operator||(), rand(), memory::reg(), ror(), rxor(), Signal(), wire(), and memory::~memory().
|
protected |
|
protected |
Definition at line 159 of file vlib.h.
Referenced by init(), and operator,().