Files
ComSquare/classComSquare_1_1Debugger_1_1MemoryBusDebug.html
AnonymusRaccoon d33b0ab52d Deploying the doc
2021-07-13 21:32:24 +00:00

617 lines
33 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ComSquare: ComSquare::Debugger::MemoryBusDebug Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ComSquare
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceComSquare.html">ComSquare</a></li><li class="navelem"><a class="el" href="namespaceComSquare_1_1Debugger.html">Debugger</a></li><li class="navelem"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classComSquare_1_1Debugger_1_1MemoryBusDebug-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ComSquare::Debugger::MemoryBusDebug Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>window that allow the user to view all data going through the memory bus.
<a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="MemoryBusDebug_8hpp_source.html">MemoryBusDebug.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ComSquare::Debugger::MemoryBusDebug:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classComSquare_1_1Debugger_1_1MemoryBusDebug__inherit__graph.svg" width="190" height="507"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<div class="dynheader">
Collaboration diagram for ComSquare::Debugger::MemoryBusDebug:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classComSquare_1_1Debugger_1_1MemoryBusDebug__coll__graph.svg" width="730" height="906"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abce2def73ec61ed61dfd8c1d0e4cfa37"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#abce2def73ec61ed61dfd8c1d0e4cfa37">MemoryBusDebug</a> (<a class="el" href="classComSquare_1_1SNES.html">SNES</a> &amp;snes, <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html">Memory::IMemoryBus</a> &amp;bus)</td></tr>
<tr class="separator:abce2def73ec61ed61dfd8c1d0e4cfa37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8194116dba23a12a1bad16f4e0bb1c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#ac8194116dba23a12a1bad16f4e0bb1c4">MemoryBusDebug</a> (const <a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a> &amp;)=delete</td></tr>
<tr class="separator:ac8194116dba23a12a1bad16f4e0bb1c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a854f240670a6b454792b7e2d9fc49d3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a854f240670a6b454792b7e2d9fc49d3e">operator=</a> (const <a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a> &amp;)=delete</td></tr>
<tr class="separator:a854f240670a6b454792b7e2d9fc49d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0614af8adaaafa994815bf54649324"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#abb0614af8adaaafa994815bf54649324">~MemoryBusDebug</a> () override=default</td></tr>
<tr class="separator:abb0614af8adaaafa994815bf54649324"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac4caac70c61e9dca7237669490c2505"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#aac4caac70c61e9dca7237669490c2505">read</a> (<a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a> addr) override</td></tr>
<tr class="memdesc:aac4caac70c61e9dca7237669490c2505"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read data at a global address. This form allow read to be silenced. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#aac4caac70c61e9dca7237669490c2505">More...</a><br /></td></tr>
<tr class="separator:aac4caac70c61e9dca7237669490c2505"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a884781dd68300d7cf32468fbe1fc1acd"><td class="memItemLeft" align="right" valign="top">std::optional&lt; uint8_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a884781dd68300d7cf32468fbe1fc1acd">peek</a> (<a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a> addr) override</td></tr>
<tr class="memdesc:a884781dd68300d7cf32468fbe1fc1acd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This as the same purpose as a read but it does not change the open bus and won't throw an exception. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a884781dd68300d7cf32468fbe1fc1acd">More...</a><br /></td></tr>
<tr class="separator:a884781dd68300d7cf32468fbe1fc1acd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf4a8e7f30de8496a37696270aa9515"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#adbf4a8e7f30de8496a37696270aa9515">peek_v</a> (<a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a> addr) override</td></tr>
<tr class="memdesc:adbf4a8e7f30de8496a37696270aa9515"><td class="mdescLeft">&#160;</td><td class="mdescRight">This as the same purpose as a read but it does not change the open bus and won't throw an exception. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#adbf4a8e7f30de8496a37696270aa9515">More...</a><br /></td></tr>
<tr class="separator:adbf4a8e7f30de8496a37696270aa9515"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a768c48fdb11d35c051b690f9c7478b2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a768c48fdb11d35c051b690f9c7478b2d">write</a> (<a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a> addr, uint8_t data) override</td></tr>
<tr class="memdesc:a768c48fdb11d35c051b690f9c7478b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a data to a global address. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a768c48fdb11d35c051b690f9c7478b2d">More...</a><br /></td></tr>
<tr class="separator:a768c48fdb11d35c051b690f9c7478b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b082fcada287cf8cd0a58dc1447412e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Memory_1_1IMemory.html">Memory::IMemory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a4b082fcada287cf8cd0a58dc1447412e">getAccessor</a> (<a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a> addr) override</td></tr>
<tr class="memdesc:a4b082fcada287cf8cd0a58dc1447412e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function to get the components that is responsible of read/write at an address. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a4b082fcada287cf8cd0a58dc1447412e">More...</a><br /></td></tr>
<tr class="separator:a4b082fcada287cf8cd0a58dc1447412e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abad12100ccde1623605f90fe1af18ef3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#abad12100ccde1623605f90fe1af18ef3">focus</a> ()</td></tr>
<tr class="memdesc:abad12100ccde1623605f90fe1af18ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Focus the debugger's window. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#abad12100ccde1623605f90fe1af18ef3">More...</a><br /></td></tr>
<tr class="separator:abad12100ccde1623605f90fe1af18ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classComSquare_1_1Memory_1_1IMemoryBus"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classComSquare_1_1Memory_1_1IMemoryBus')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html">ComSquare::Memory::IMemoryBus</a></td></tr>
<tr class="memitem:a5538f7e281f45053245a4036473a5e46 inherit pub_methods_classComSquare_1_1Memory_1_1IMemoryBus"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#a5538f7e281f45053245a4036473a5e46">~IMemoryBus</a> ()=default</td></tr>
<tr class="memdesc:a5538f7e281f45053245a4036473a5e46 inherit pub_methods_classComSquare_1_1Memory_1_1IMemoryBus"><td class="mdescLeft">&#160;</td><td class="mdescRight">A virtual default destructor. <a href="classComSquare_1_1Memory_1_1IMemoryBus.html#a5538f7e281f45053245a4036473a5e46">More...</a><br /></td></tr>
<tr class="separator:a5538f7e281f45053245a4036473a5e46 inherit pub_methods_classComSquare_1_1Memory_1_1IMemoryBus"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a8b4edff1e7ec8b1e2e310bb73092df3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Debugger_1_1ClosableWindow.html">ClosableWindow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a8b4edff1e7ec8b1e2e310bb73092df3e">_window</a></td></tr>
<tr class="memdesc:a8b4edff1e7ec8b1e2e310bb73092df3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The QT window for this debugger. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a8b4edff1e7ec8b1e2e310bb73092df3e">More...</a><br /></td></tr>
<tr class="separator:a8b4edff1e7ec8b1e2e310bb73092df3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a338ee7a07acab552b803d9721bcaeb20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html">Memory::IMemoryBus</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a338ee7a07acab552b803d9721bcaeb20">_bus</a></td></tr>
<tr class="memdesc:a338ee7a07acab552b803d9721bcaeb20"><td class="mdescLeft">&#160;</td><td class="mdescRight">A reference to the underlying bus.. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a338ee7a07acab552b803d9721bcaeb20">More...</a><br /></td></tr>
<tr class="separator:a338ee7a07acab552b803d9721bcaeb20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a238091f7380cdf1428737eeb09c06486"><td class="memItemLeft" align="right" valign="top">Ui::BusView&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a238091f7380cdf1428737eeb09c06486">_ui</a></td></tr>
<tr class="memdesc:a238091f7380cdf1428737eeb09c06486"><td class="mdescLeft">&#160;</td><td class="mdescRight">A widget that contain the whole UI. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a238091f7380cdf1428737eeb09c06486">More...</a><br /></td></tr>
<tr class="separator:a238091f7380cdf1428737eeb09c06486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a658fec9c1dcbb020c5c00d547f6f79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Debugger_1_1BusLogModel.html">BusLogModel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a5a658fec9c1dcbb020c5c00d547f6f79">_model</a></td></tr>
<tr class="memdesc:a5a658fec9c1dcbb020c5c00d547f6f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">The Log visualizer model for QT. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a5a658fec9c1dcbb020c5c00d547f6f79">More...</a><br /></td></tr>
<tr class="separator:a5a658fec9c1dcbb020c5c00d547f6f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cad542b5243a80a2d7eac67c7824654"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComSquare_1_1Debugger_1_1BusLoggerProxy.html">BusLoggerProxy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a0cad542b5243a80a2d7eac67c7824654">_proxy</a></td></tr>
<tr class="memdesc:a0cad542b5243a80a2d7eac67c7824654"><td class="mdescLeft">&#160;</td><td class="mdescRight">A QT proxy to filter the logs. <a href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html#a0cad542b5243a80a2d7eac67c7824654">More...</a><br /></td></tr>
<tr class="separator:a0cad542b5243a80a2d7eac67c7824654"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>window that allow the user to view all data going through the memory bus. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abce2def73ec61ed61dfd8c1d0e4cfa37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abce2def73ec61ed61dfd8c1d0e4cfa37">&#9670;&nbsp;</a></span>MemoryBusDebug() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ComSquare::Debugger::MemoryBusDebug::MemoryBusDebug </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComSquare_1_1SNES.html">SNES</a> &amp;&#160;</td>
<td class="paramname"><em>snes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html">Memory::IMemoryBus</a> &amp;&#160;</td>
<td class="paramname"><em>bus</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac8194116dba23a12a1bad16f4e0bb1c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8194116dba23a12a1bad16f4e0bb1c4">&#9670;&nbsp;</a></span>MemoryBusDebug() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ComSquare::Debugger::MemoryBusDebug::MemoryBusDebug </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="abb0614af8adaaafa994815bf54649324"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb0614af8adaaafa994815bf54649324">&#9670;&nbsp;</a></span>~MemoryBusDebug()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ComSquare::Debugger::MemoryBusDebug::~MemoryBusDebug </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abad12100ccde1623605f90fe1af18ef3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abad12100ccde1623605f90fe1af18ef3">&#9670;&nbsp;</a></span>focus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ComSquare::Debugger::MemoryBusDebug::focus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Focus the debugger's window. </p>
</div>
</div>
<a id="a4b082fcada287cf8cd0a58dc1447412e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b082fcada287cf8cd0a58dc1447412e">&#9670;&nbsp;</a></span>getAccessor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Memory_1_1IMemory.html">Memory::IMemory</a> * ComSquare::Debugger::MemoryBusDebug::getAccessor </td>
<td>(</td>
<td class="paramtype"><a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a>&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Helper function to get the components that is responsible of read/write at an address. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">addr</td><td>The address you want to look for. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The components responsible for the address param or nullptr if none was found. </dd></dl>
<p>Implements <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#ad0ab5473f22b232b701a7fc101f4489b">ComSquare::Memory::IMemoryBus</a>.</p>
</div>
</div>
<a id="a854f240670a6b454792b7e2d9fc49d3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a854f240670a6b454792b7e2d9fc49d3e">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a>&amp; ComSquare::Debugger::MemoryBusDebug::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComSquare_1_1Debugger_1_1MemoryBusDebug.html">MemoryBusDebug</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a884781dd68300d7cf32468fbe1fc1acd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a884781dd68300d7cf32468fbe1fc1acd">&#9670;&nbsp;</a></span>peek()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::optional&lt; uint8_t &gt; ComSquare::Debugger::MemoryBusDebug::peek </td>
<td>(</td>
<td class="paramtype"><a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a>&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This as the same purpose as a read but it does not change the open bus and won't throw an exception. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">addr</td><td>The address to read from. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register. </dd></dl>
<p>Implements <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#a715161996b7842c55c0be82d3cd22572">ComSquare::Memory::IMemoryBus</a>.</p>
</div>
</div>
<a id="adbf4a8e7f30de8496a37696270aa9515"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf4a8e7f30de8496a37696270aa9515">&#9670;&nbsp;</a></span>peek_v()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t ComSquare::Debugger::MemoryBusDebug::peek_v </td>
<td>(</td>
<td class="paramtype"><a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a>&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This as the same purpose as a read but it does not change the open bus and won't throw an exception. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">addr</td><td>The address to read from. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>If the value address is not mapped, 0 is returned instead of nullopt. </dd></dl>
<p>Implements <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#a474f556b1f4ef4af276217a489031775">ComSquare::Memory::IMemoryBus</a>.</p>
</div>
</div>
<a id="aac4caac70c61e9dca7237669490c2505"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac4caac70c61e9dca7237669490c2505">&#9670;&nbsp;</a></span>read()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t ComSquare::Debugger::MemoryBusDebug::read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a>&#160;</td>
<td class="paramname"><em>addr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Read data at a global address. This form allow read to be silenced. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">addr</td><td>The address to read from. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classComSquare_1_1InvalidAddress.html" title="Exception thrown when trying to read/write to an invalid address.">InvalidAddress</a></td><td>If the address is not mapped to the bus, this exception is thrown. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value that the component returned for this address. If the address was mapped to ram, it simply returned the value. If the address was mapped to a register the component returned the register. </dd></dl>
<p>Implements <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#a560cf44b01d039ac4e13762e2abf46b1">ComSquare::Memory::IMemoryBus</a>.</p>
</div>
</div>
<a id="a768c48fdb11d35c051b690f9c7478b2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a768c48fdb11d35c051b690f9c7478b2d">&#9670;&nbsp;</a></span>write()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ComSquare::Debugger::MemoryBusDebug::write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="Ints_8hpp.html#a89f009aaf5d1964a000f44f09fa0bcf8">uint24_t</a>&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Write a data to a global address. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">addr</td><td>The address to write to. </td></tr>
<tr><td class="paramname">data</td><td>The data to write. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html#a393b05cf83c6dc1ee6c0cad9648cb31b">ComSquare::Memory::IMemoryBus</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a338ee7a07acab552b803d9721bcaeb20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a338ee7a07acab552b803d9721bcaeb20">&#9670;&nbsp;</a></span>_bus</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Memory_1_1IMemoryBus.html">Memory::IMemoryBus</a>&amp; ComSquare::Debugger::MemoryBusDebug::_bus</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A reference to the underlying bus.. </p>
</div>
</div>
<a id="a5a658fec9c1dcbb020c5c00d547f6f79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a658fec9c1dcbb020c5c00d547f6f79">&#9670;&nbsp;</a></span>_model</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Debugger_1_1BusLogModel.html">BusLogModel</a> ComSquare::Debugger::MemoryBusDebug::_model</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The Log visualizer model for QT. </p>
</div>
</div>
<a id="a0cad542b5243a80a2d7eac67c7824654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cad542b5243a80a2d7eac67c7824654">&#9670;&nbsp;</a></span>_proxy</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Debugger_1_1BusLoggerProxy.html">BusLoggerProxy</a> ComSquare::Debugger::MemoryBusDebug::_proxy</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A QT proxy to filter the logs. </p>
</div>
</div>
<a id="a238091f7380cdf1428737eeb09c06486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a238091f7380cdf1428737eeb09c06486">&#9670;&nbsp;</a></span>_ui</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Ui::BusView ComSquare::Debugger::MemoryBusDebug::_ui</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A widget that contain the whole UI. </p>
</div>
</div>
<a id="a8b4edff1e7ec8b1e2e310bb73092df3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b4edff1e7ec8b1e2e310bb73092df3e">&#9670;&nbsp;</a></span>_window</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComSquare_1_1Debugger_1_1ClosableWindow.html">ClosableWindow</a>* ComSquare::Debugger::MemoryBusDebug::_window</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The QT window for this debugger. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>sources/Debugger/<a class="el" href="MemoryBusDebug_8hpp_source.html">MemoryBusDebug.hpp</a></li>
<li>sources/Debugger/<a class="el" href="MemoryBusDebug_8cpp.html">MemoryBusDebug.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>