CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
globcontrol Class Reference

#include <vlib.h>

Public Member Functions

int alwaysget ()
 
void alwayspop ()
 
void alwayspush ()
 
void alwaysstart ()
 
char * constant (int bits, char *val)
 
char * constant (int bits, int val)
 
int getalwaysn ()
 
int getce ()
 
int getchange ()
 
int getfunction ()
 
modulegetparent ()
 
rval getpassn ()
 
 globcontrol ()
 
void passn_inc ()
 
int setce (int c)
 
void setchange (int i)
 
void setfunction (int i)
 
void setparent (module *rparent)
 

Protected Attributes

int alwayscnt
 
int alwaysn
 
int ce
 
int change
 
char constring [2 *32+32]
 
int functiondecl
 
moduleparent
 
rval passn
 
int VFileOpen
 

Detailed Description

Definition at line 276 of file vlib.h.

Constructor & Destructor Documentation

globcontrol::globcontrol ( )

Definition at line 1232 of file vlib.cc.

References alwayscnt, alwaysn, change, AnalysisDataFormats_SUSYBSMObjects::pa, and VFileOpen.

1233 {
1234 #ifdef VGEN
1235  nomargin = 0;
1236  ndio = 0;
1237  npar = 0;
1238  ndecl = 0;
1239  indpos = 0;
1240  pa = 1;
1241  zeromargin = "";
1242  VFileOpen = 0;
1243 #endif
1244  alwayscnt = -1;
1245  alwaysn = 1;
1246  change = 0;
1247 }
int change
Definition: vlib.h:342
susybsm::HSCParticle pa
Definition: classes.h:8
int VFileOpen
Definition: vlib.h:345
int alwaysn
Definition: vlib.h:340
int alwayscnt
Definition: vlib.h:339

Member Function Documentation

int globcontrol::alwaysget ( )
inline

Definition at line 302 of file vlib.h.

References alwayscnt.

302 {return (alwayscnt > 0);};
int alwayscnt
Definition: vlib.h:339
void globcontrol::alwayspop ( )
inline

Definition at line 301 of file vlib.h.

References alwayscnt.

301 {if (alwayscnt > 0) alwayscnt--; if (alwayscnt == 0) alwayscnt = -1;};
int alwayscnt
Definition: vlib.h:339
void globcontrol::alwayspush ( )
inline

Definition at line 300 of file vlib.h.

References alwayscnt.

300 {if (alwayscnt >= 0) alwayscnt++;};
int alwayscnt
Definition: vlib.h:339
void globcontrol::alwaysstart ( )
inline

Definition at line 299 of file vlib.h.

References alwayscnt, and alwaysn.

299 {alwayscnt = 0; alwaysn++; if (alwaysn == 0 || alwaysn == -1) alwaysn = 1;};
int alwaysn
Definition: vlib.h:340
int alwayscnt
Definition: vlib.h:339
char * globcontrol::constant ( int  bits,
char *  val 
)

Definition at line 1329 of file vlib.cc.

References constring.

1330 {
1331  sprintf(constring, "%d%s", bits, value);
1332  return constring;
1333 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
char constring[2 *32+32]
Definition: vlib.h:347
char * globcontrol::constant ( int  bits,
int  val 
)

Definition at line 1335 of file vlib.cc.

References constring.

1336 {
1337  sprintf(constring, "%d'd%u", bits, (unsigned)value);
1338  return constring;
1339 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
char constring[2 *32+32]
Definition: vlib.h:347
int globcontrol::getalwaysn ( )
inline

Definition at line 303 of file vlib.h.

References alwayscnt, and alwaysn.

Referenced by Signal::asgn(), Signal::getval(), and Signal::operator=().

303 {return (alwayscnt > 0) ? alwaysn : (-1);};
int alwaysn
Definition: vlib.h:340
int alwayscnt
Definition: vlib.h:339
int globcontrol::getce ( )
inline

Definition at line 311 of file vlib.h.

References ce.

311 {return ce;};
int ce
Definition: vlib.h:346
int globcontrol::getchange ( )
inline

Definition at line 306 of file vlib.h.

References change.

Referenced by function::vbeginfunction().

306 {return change;};
int change
Definition: vlib.h:342
int globcontrol::getfunction ( )
inline

Definition at line 310 of file vlib.h.

References functiondecl, and tree::t.

310 {int t = functiondecl; functiondecl = 0; return t;};
tuple t
Definition: tree.py:139
int functiondecl
Definition: vlib.h:337
module* globcontrol::getparent ( )
inline

Definition at line 308 of file vlib.h.

References parent.

Referenced by Signal::clock(), Signal::initreg(), Signal::input(), and Signal::wire().

308 {return parent;};
module * parent
Definition: vlib.h:343
rval globcontrol::getpassn ( )
inline

Definition at line 316 of file vlib.h.

References passn.

316 {return passn;}
rval passn
Definition: vlib.h:348
void globcontrol::passn_inc ( )
inline

Definition at line 315 of file vlib.h.

References passn.

315 {passn++;};
rval passn
Definition: vlib.h:348
int globcontrol::setce ( int  c)
inline

Definition at line 312 of file vlib.h.

References EnergyCorrector::c, and ce.

Referenced by module::negedge(), and module::posedge().

312 {ce = c; return 1;};
int ce
Definition: vlib.h:346
void globcontrol::setchange ( int  i)

Definition at line 1324 of file vlib.cc.

References change, and i.

Referenced by Signal::asgn(), and function::vendfunction().

1325 {
1326  change = i;
1327 }
int i
Definition: DBlmapReader.cc:9
int change
Definition: vlib.h:342
void globcontrol::setfunction ( int  i)
inline

Definition at line 309 of file vlib.h.

References functiondecl, and i.

Referenced by function::vbeginfunction(), and module::vbeginmodule().

309 {functiondecl = i;};
int i
Definition: DBlmapReader.cc:9
int functiondecl
Definition: vlib.h:337
void globcontrol::setparent ( module rparent)
inline

Definition at line 307 of file vlib.h.

References parent.

307 {parent = rparent;};
module * parent
Definition: vlib.h:343

Member Data Documentation

int globcontrol::alwayscnt
protected

Definition at line 339 of file vlib.h.

Referenced by alwaysget(), alwayspop(), alwayspush(), alwaysstart(), getalwaysn(), and globcontrol().

int globcontrol::alwaysn
protected

Definition at line 340 of file vlib.h.

Referenced by alwaysstart(), getalwaysn(), and globcontrol().

int globcontrol::ce
protected

Definition at line 346 of file vlib.h.

Referenced by getce(), and setce().

int globcontrol::change
protected

Definition at line 342 of file vlib.h.

Referenced by getchange(), globcontrol(), and setchange().

char globcontrol::constring[2 *32+32]
protected

Definition at line 347 of file vlib.h.

Referenced by constant().

int globcontrol::functiondecl
protected

Definition at line 337 of file vlib.h.

Referenced by getfunction(), and setfunction().

module* globcontrol::parent
protected

Definition at line 343 of file vlib.h.

Referenced by BeautifulSoup.PageElement::_invert(), Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.DecayLine::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Views.LineDecayView.DecayNode::delete(), Vispa.Views.LineDecayView.DecayLine::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Views.LineDecayView.DecayLine::extendedSize(), argparse.HelpFormatter._Section::format_help(), python.rootplot.argparse.HelpFormatter._Section::format_help(), getparent(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.DecayNode::move(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), Vispa.Views.LineDecayView.DecayLine::paint(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), setparent(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode::unite(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().

rval globcontrol::passn
protected

Definition at line 348 of file vlib.h.

Referenced by getpassn(), and passn_inc().

int globcontrol::VFileOpen
protected

Definition at line 345 of file vlib.h.

Referenced by globcontrol().