blob: 9b3f94f5ebe470d4dbce6d9a15059427cfc15740 [file] [log] [blame]
<html><head><title>Callbacks Classes</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script></head><body class="FramedContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version Development Release 01-12-2008 (1.35 base) -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<!--TOP - START OF CONTENT-->
<div id=Content>
<!--CONTENT index=0 -->
<div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Callbacks_Classes" href="../../../../src/base/uvm_callback.svh">Callbacks Classes</a></h1><div class=CBody><p>This section defines the classes used for callback registration, management, and user-defined callbacks.</p>
<!--START_ND_SUMMARY index=0-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=0 -->
<tr class="SMain"><td colspan=2 class=SEntry><a href="#Callbacks_Classes" >Callbacks Classes</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>This section defines the classes used for callback registration, management, and user-defined callbacks.</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=1 -->
<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="uvm_callbacks#(T,CB)" href="../../../../src/base/uvm_callback.svh">uvm_callbacks#(T, CB)</a></h2><div class=CBody><p>Implementation of uvm_callbacks#(T,CB) class, as defined in section 10.7.2.1.</p><blockquote><pre>class uvm_callbacks #(type T=uvm_object, type CB=uvm_callback)</pre></blockquote>
<!--START_ND_SUMMARY index=1-->
<div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable>
<!-- index=1 -->
<tr class="SClass"><td colspan=2 class=SEntry><a href="#uvm_callbacks#(T,CB)" >uvm_callbacks#(T, CB)</a></td></tr>
<tr class=SMain><td colspan=2 class=SWideDescription>Implementation of uvm_callbacks#(T,CB) class, as defined in section 10.7.2.1.</td></tr>
<!-- index=2 -->
<tr class="SGroup SIndent1"><td class=SEntry><a href="#uvm_callbacks#(T,CB).Methods" >Methods</a></td><td class=SDescription></td></tr>
<!-- index=3 -->
<tr class="SMethod SIndent2"><td class=SEntry><a href="#uvm_callbacks#(T,CB).get_all" >get_all</a></td><td class=SDescription>Populates the end of the <i>all_callbacks</i> queue with the list of all registered callbacks for <i>obj</i> (whether they are enabled or disabled).</td></tr></table></div></div><!--END_ND_SUMMARY-->
</div></div></div>
<!--CONTENT index=2 -->
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="uvm_callbacks#(T,CB).Methods" href="../../../../src/base/uvm_callback.svh">Methods</a></h3></div></div>
<!--CONTENT index=3 -->
<div class="CMethod"><div class=CTopic><h3 class=CTitle><a name="uvm_callbacks#(T,CB).get_all" href="../../../../src/base/uvm_callback.svh">get_all</a></h3><div class=CBody><p>Populates the end of the <i>all_callbacks</i> queue with the list of all registered callbacks for <i>obj</i> (whether they are enabled or disabled).</p><p>If <i>obj</i> is <i>null</i>, then <i>all_callbacks</i> shall be populated with all registered typewide callbacks.&nbsp; If <i>obj</i> is not <i>null</i>, then <i>all_callbacks</i> shall be populated with both the typewide and instance callbacks (if any) registered for <i>obj</i>.</p><p>NOTE: This API contradicts the definition provided in section 10.7.2.5 of the P1800.2-2017 LRM.&nbsp; See DEVIATIONS.md for additional details.</p><blockquote><pre>static function void get_all( ref CB all_callbacks[$], input T obj=null );</pre></blockquote><p>@uvm-contrib This API is being considered for potential contribution to 1800.2</p></div></div></div>
</div><!--Content-->
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>