next up previous contents
Next: Private Members Up: The Component Class Previous: Public Members

Protected Members

tex2html_wrap_inline7610 Component(ckt_time delay, const char *name): This is the constructor for the component class. It accepts a timing value which represents the transport delay of the component and a string representing the name of the component. The constructor simply initializes the delay time, name and local time of the component. This member is made protected so as to prevent objects of type Component from being instantiated. Only objects derived from Component which have public constructors may actually be created.

tex2html_wrap_inline7610 ckt_time get_delay(): This is a simple accessor function which returns the transport delay of the component. It is commonly used by the process() function of low-level components to determine how much time to add to output signals when generating outputs.

Donald Craig
Mon Jul 8 12:05:35 NDT 1996