![]() |
![]() |
#include <FWCore/ServiceRegistry/interface/Signal.h>
Public Member Functions | |
Signal | asgn (Signal) |
void | clock (const char *rname) |
void | create () |
int | getalwaysn () |
bool | getbool () |
int | getchange () |
int | geth () |
int | getint () |
int | getl () |
rval | getmask () |
int | getnegedge () |
int | getposedge () |
rval | getr () |
rval | getval () |
void | init (int, int, const char *) |
void | init (const char *rname) |
void | init (Signal *shost, int h, int l, const char *rname) |
void | initreg (int, int, const char *) |
void | inout (int, int, const char *) |
void | inout (const char *rname) |
void | input (int, int, const char *) |
void | input (const char *rname) |
void | makemask () |
Signal | operator! () |
Signal | operator!= (Signal) |
Signal | operator% (Signal) |
Signal | operator& (Signal) |
Signal * | operator& () |
Signal | operator&& (Signal) |
Signal | operator() (Signal, Signal) |
Signal | operator() (Signal) |
Signal | operator* (Signal) |
Signal | operator+ (Signal) |
Signal | operator++ () |
Signal | operator++ (int) |
Signal | operator, (Signal) |
Signal | operator- (Signal) |
Signal | operator-- () |
Signal | operator-- (int) |
Signal | operator/ (Signal) |
Signal | operator< (Signal) |
Signal | operator<< (Signal) |
Signal | operator<= (Signal) |
Signal | operator= (Signal) |
Signal | operator== (Signal) |
Signal | operator> (Signal) |
Signal | operator>= (Signal) |
Signal | operator>> (Signal) |
Signal | operator^ (Signal) |
Signal | operator| (Signal) |
Signal | operator|| (Signal) |
Signal | operator~ () |
void | output (int, int, const char *) |
void | output (const char *rname) |
void | output (int high, int low, const char *rname, module *parent) |
void | output (const char *rname, module *parent) |
void | reg (int, int, const char *) |
void | reg (const char *rname) |
Signal | set (Signal) |
void | setalwaysn (int n) |
void | setchange (int ch) |
void | sethlmask (int high, int low, rval imask) |
void | setnegedge (int ch) |
void | setposedge (int ch) |
void | setprintable (int p) |
void | setr (rval rv) |
void | setrc (rval rv) |
Signal () | |
Signal (rval) | |
Signal (int) | |
Signal (unsigned int) | |
Signal (const char *) | |
Signal (int bits, rval value) | |
void | wire (int, int, const char *) |
void | wire (int, int, const char *, int) |
void | wire (const char *rname) |
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 43 of file vlib.cc.
References create().
Referenced by module::AddOutReg(), and setprintable().
Signal::Signal | ( | rval | n | ) |
Signal::Signal | ( | int | n | ) |
Signal::Signal | ( | unsigned int | n | ) |
Signal::Signal | ( | const char * | sval | ) |
Definition at line 61 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 48 of file vlib.cc.
References create(), TauDecayModes::dec, init(), mask, r, rc, and relativeConstraints::value.
Definition at line 533 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, dataset::name, nedge, NULL, outhost, outreg, pedge, r, rc, set(), setalwaysn(), globcontrol::setchange(), and lumiQTWidget::t.
Referenced by operator=(), set(), and setprintable().
void Signal::clock | ( | const char * | rname | ) |
Definition at line 677 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, TauDecayModes::dec, globcontrol::getparent(), host, init(), inited, l, minput, mode, dataset::name, nedge, NULL, 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 72 of file vlib.h.
References nedge.
Referenced by module::negedge(), and output().
|
inline |
Definition at line 71 of file vlib.h.
References pedge.
Referenced by output(), and module::posedge().
|
inline |
Definition at line 61 of file vlib.h.
References r.
Referenced by init(), input(), operator<<(), parameter::operator=(), and output().
rval Signal::getval | ( | ) |
Definition at line 481 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 239 of file vlib.cc.
References inited, l, makemask(), dataset::name, 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 50 of file vlib.h.
References plotscripts::getname(), init(), l, makemask(), dataset::name, r, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by init().
void Signal::init | ( | Signal * | shost, |
int | h, | ||
int | l, | ||
const char * | rname | ||
) |
void Signal::initreg | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
void Signal::inout | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 788 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, hostl, init(), l, minout, mode, dataset::name, obnames, and printable.
Referenced by output().
|
inline |
void Signal::input | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 625 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, TauDecayModes::dec, getmask(), globcontrol::getparent(), getr(), host, init(), inited, l, minput, mode, dataset::name, nedge, NULL, obnames, outhost, outreg, pedge, printable, r, module::setchange(), setr(), and setrc().
Referenced by operator--().
|
inline |
void Signal::makemask | ( | ) |
Definition at line 232 of file vlib.cc.
Referenced by function::function(), init(), and function::init().
Signal Signal::operator! | ( | ) |
Definition at line 313 of file vlib.cc.
Referenced by setprintable().
Signal Signal::operator!= | ( | Signal | arg | ) |
Definition at line 353 of file vlib.cc.
Referenced by setprintable().
Signal * Signal::operator& | ( | ) |
Definition at line 358 of file vlib.cc.
Referenced by setprintable().
Definition at line 593 of file vlib.cc.
References getval(), init(), l, mask, dataset::name, printable, r, rc, and lumiQTWidget::t.
Referenced by operator--().
Definition at line 351 of file vlib.cc.
Referenced by setprintable().
Definition at line 349 of file vlib.cc.
Referenced by setprintable().
|
inline |
|
inline |
Definition at line 379 of file vlib.cc.
References ca1, ca2, getval(), h, init(), l, mask, dataset::name, printable, r, source, and lumiQTWidget::t.
Referenced by operator--().
Definition at line 350 of file vlib.cc.
Referenced by setprintable().
|
inline |
|
inline |
Definition at line 112 of file vlib.h.
References input(), operator()(), operator,(), operator<<(), rand, ror, rxor, and alignCSCRings::s.
Definition at line 352 of file vlib.cc.
Referenced by setprintable().
Definition at line 355 of file vlib.cc.
Referenced by operator--(), and setprintable().
Definition at line 486 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 356 of file vlib.cc.
Referenced by setprintable().
Definition at line 354 of file vlib.cc.
Referenced by setprintable().
Definition at line 359 of file vlib.cc.
Referenced by setprintable().
Definition at line 362 of file vlib.cc.
References change, getval(), init(), l, mask, dataset::name, printable, r, and lumiQTWidget::t.
Referenced by setprintable().
Signal Signal::operator~ | ( | ) |
Definition at line 314 of file vlib.cc.
Referenced by setprintable().
void Signal::output | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 722 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, hostl, init(), l, mode, moutput, mreg, dataset::name, obnames, and printable.
Referenced by input(), and output().
|
inline |
void Signal::output | ( | int | high, |
int | low, | ||
const char * | rname, | ||
module * | parent | ||
) |
Definition at line 764 of file vlib.cc.
References module::AddOutReg(), TauDecayModes::dec, getchange(), getnegedge(), getposedge(), getr(), l, dataset::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 828 of file vlib.cc.
References gather_cfg::cout, TauDecayModes::dec, initreg(), l, and dataset::name.
Referenced by module::AddOutReg(), inout(), and memory::memory().
|
inline |
|
inline |
|
inline |
Definition at line 74 of file vlib.h.
References change.
Referenced by globcontrol::getalwaysn(), module::negedge(), output(), and module::posedge().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 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 885 of file vlib.cc.
References change, gather_cfg::cout, TauDecayModes::dec, globcontrol::getparent(), init(), l, mode, mwire, dataset::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 167 of file vlib.h.
Referenced by globcontrol::alwaysstart(), create(), getalwaysn(), globcontrol::getalwaysn(), globcontrol::globcontrol(), and setalwaysn().
|
protected |
Definition at line 161 of file vlib.h.
Referenced by asgn(), create(), and operator,().
|
protected |
Definition at line 162 of file vlib.h.
Referenced by asgn(), create(), and operator,().
|
protected |
Definition at line 163 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 |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 150 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 152 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 163 of file vlib.h.
Referenced by asgn(), clock(), create(), getnegedge(), init(), parameter::init(), initreg(), input(), setnegedge(), and wire().
|
protected |
|
protected |
Definition at line 166 of file vlib.h.
Referenced by module::AddOutReg(), asgn(), clock(), create(), module::create(), input(), operator=(), output(), and module::~module().
|
protected |
Definition at line 163 of file vlib.h.
Referenced by asgn(), clock(), create(), getposedge(), init(), parameter::init(), initreg(), input(), setposedge(), and wire().
|
protected |
Definition at line 169 of file vlib.h.
Referenced by clock(), create(), inout(), input(), operator&(), operator()(), operator,(), operator||(), output(), rand(), ror(), rxor(), and setprintable().
|
protected |
Definition at line 144 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 164 of file vlib.h.
Referenced by init(), and operator,().