![]() |
![]() |
#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 | ( | 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(), i, init(), mask, mnum, mode, r, rc, AlCaHLTBitMon_QueryRunRegistry::string, 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, mergeVDriftHistosByStation::name, nedge, NULL, outhost, outreg, pedge, r, rc, set(), setalwaysn(), globcontrol::setchange(), and edmStreamStallGrapher::t.
Referenced by operator=(), and set().
void Signal::clock | ( | const char * | rname | ) |
Definition at line 677 of file vlib.cc.
References module::AddOutReg(), change, dbgmsg, TauDecayModes::dec, globcontrol::getparent(), h, host, init(), inited, l, minput, mode, mergeVDriftHistosByStation::name, nedge, NULL, obnames, outhost, outreg, pedge, printable, r, rc, module::setchange(), setr(), and setrc().
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=(), output(), and function::vendfunction().
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[](), rand(), and rxor().
void Signal::init | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 239 of file vlib.cc.
References h, inited, l, makemask(), mergeVDriftHistosByStation::name, and source.
Referenced by clock(), parameter::init(), initreg(), inout(), input(), module::negedge(), operator()(), operator,(), operator||(), output(), module::posedge(), rand(), ror(), rxor(), Signal(), and wire().
|
inline |
void Signal::init | ( | Signal * | shost, |
int | h, | ||
int | l, | ||
const char * | rname | ||
) |
void Signal::initreg | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 837 of file vlib.cc.
References change, globcontrol::getparent(), init(), mode, mreg, nedge, obnames, pedge, r, rc, and module::setchange().
Referenced by reg(), and memory::reg().
void Signal::inout | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 788 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, h, hostl, init(), l, minout, mode, mergeVDriftHistosByStation::name, obnames, and printable.
|
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(), h, host, init(), inited, l, minput, mode, mergeVDriftHistosByStation::name, nedge, NULL, obnames, outhost, outreg, pedge, printable, r, module::setchange(), setr(), and setrc().
|
inline |
Signal Signal::operator!= | ( | Signal | arg | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 362 of file vlib.cc.
References change, h, init(), prof2calltree::l, mask, mergeVDriftHistosByStation::name, printable, r, and edmStreamStallGrapher::t.
void Signal::output | ( | int | high, |
int | low, | ||
const char * | rname | ||
) |
Definition at line 722 of file vlib.cc.
References dbgmsg, TauDecayModes::dec, h, hostl, init(), l, mode, moutput, mreg, mergeVDriftHistosByStation::name, obnames, and printable.
Referenced by 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(), h, l, mergeVDriftHistosByStation::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, h, initreg(), l, and mergeVDriftHistosByStation::name.
Referenced by module::AddOutReg().
|
inline |
Definition at line 525 of file vlib.cc.
References asgn().
Referenced by asgn(), and betterConfigParser.BetterConfigParser::getGeneral().
|
inline |
|
inline |
Definition at line 74 of file vlib.h.
References change.
Referenced by module::negedge(), output(), and module::posedge().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 of file vlib.h.
References AlCaHLTBitMon_ParallelJobs::p, and printable.
Referenced by operator<<().
|
inline |
Definition at line 66 of file vlib.h.
Referenced by module::AddOutReg(), clock(), input(), output(), memory::reg(), and function::vendfunction().
|
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(), h, init(), l, mode, mwire, mergeVDriftHistosByStation::name, nedge, obnames, outhost, pedge, r, rc, and module::setchange().
Referenced by wire().
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 create(), getalwaysn(), 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(), init(), parameter::init(), initreg(), input(), operator||(), setchange(), and wire().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 150 of file vlib.h.
Referenced by asgn(), clock(), create(), getl(), init(), inout(), input(), makemask(), operator()(), operator,(), output(), reg(), rxor(), sethlmask(), and wire().
|
protected |
Definition at line 152 of file vlib.h.
Referenced by asgn(), create(), getmask(), init(), makemask(), operator()(), operator,(), operator||(), rand(), rxor(), sethlmask(), setr(), setrc(), and Signal().
|
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 |
|
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||(), 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(), parameter::operator int(), operator()(), operator,(), parameter::operator=(), operator||(), rand(), ror(), rxor(), setr(), Signal(), and wire().
|
protected |
|
protected |
Definition at line 164 of file vlib.h.
Referenced by init(), and operator,().