123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.9.1"/>
- <title>My Project: Referencia de la Clase MainWindow</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>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </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 style="padding-left: 0.5em;">
- <div id="projectname">My Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generado por Doxygen 1.8.9.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Página principal</span></a></li>
- <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
- <li><a href="files.html"><span>Archivos</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Buscar" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Lista de clases</span></a></li>
- <li><a href="classes.html"><span>Índice de clases</span></a></li>
- <li><a href="hierarchy.html"><span>Jerarquía de la clase</span></a></li>
- <li><a href="functions.html"><span>Miembros de las clases</span></a></li>
- </ul>
- </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><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-slots">Slots públicos</a> |
- <a href="#pub-methods">Métodos públicos</a> |
- <a href="#pri-slots">Slots privados</a> |
- <a href="#pri-attribs">Atributos privados</a> |
- <a href="class_main_window-members.html">Lista de todos los miembros</a> </div>
- <div class="headertitle">
- <div class="title">Referencia de la Clase MainWindow</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="dynheader">
- Diagrama de herencias de MainWindow</div>
- <div class="dyncontent">
- <div class="center">
- <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
- <map id="MainWindow_map" name="MainWindow_map">
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
- Slots públicos</h2></td></tr>
- <tr class="memitem:a429d5f7a014bccafa259dcd926531159"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a429d5f7a014bccafa259dcd926531159">handleResults</a> (unsigned long index)</td></tr>
- <tr class="memdesc:a429d5f7a014bccafa259dcd926531159"><td class="mdescLeft"> </td><td class="mdescRight">Una senal es recibida desde el sniffer que un paquete de la forma Ethernet ->IP -> (TCP|UDP) tiene que ser desplegado en el GUI. Tambien revisa si el paquete es una solicitud a una imagen en http para desplegar. <a href="#a429d5f7a014bccafa259dcd926531159">Más...</a><br /></td></tr>
- <tr class="separator:a429d5f7a014bccafa259dcd926531159"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2f24448c7c8a017443d7c9e248802c4a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2f24448c7c8a017443d7c9e248802c4a">slot_netwManagerFinished</a> (QNetworkReply *reply)</td></tr>
- <tr class="memdesc:a2f24448c7c8a017443d7c9e248802c4a"><td class="mdescLeft"> </td><td class="mdescRight">Este "slot" es llamado cuando se recibe una imagen con exito. La imagen entonces es anadida a la vizualizacion en el GUI. <a href="#a2f24448c7c8a017443d7c9e248802c4a">Más...</a><br /></td></tr>
- <tr class="separator:a2f24448c7c8a017443d7c9e248802c4a"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Métodos públicos</h2></td></tr>
- <tr class="memitem:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
-  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
- <tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br /></td></tr>
- <tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98d00a93bc118200eeef9f9bba1dba7"></a>
-  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a> ()</td></tr>
- <tr class="memdesc:ae98d00a93bc118200eeef9f9bba1dba7"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
- <tr class="separator:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
- Slots privados</h2></td></tr>
- <tr class="memitem:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0311b384ff557cebb7f64fc36ba5f6cf"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a0311b384ff557cebb7f64fc36ba5f6cf">on_capture_clicked</a> ()</td></tr>
- <tr class="memdesc:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="mdescLeft"> </td><td class="mdescRight">Senal que inicial o pausa la captura de paquetes en el sniffer. <br /></td></tr>
- <tr class="separator:a0311b384ff557cebb7f64fc36ba5f6cf"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae5f032dc280e74d6cd895b7ff0930f17"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae5f032dc280e74d6cd895b7ff0930f17">on_packetDisplay_itemClicked</a> (QTableWidgetItem *item)</td></tr>
- <tr class="memdesc:ae5f032dc280e74d6cd895b7ff0930f17"><td class="mdescLeft"> </td><td class="mdescRight">Cuando una linea de los paquetes es seleccionada desde el GUI un resumen de la carga en ascii es presentado en la caja de resumen. <a href="#ae5f032dc280e74d6cd895b7ff0930f17">Más...</a><br /></td></tr>
- <tr class="separator:ae5f032dc280e74d6cd895b7ff0930f17"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abdb4cd970167670c0dcbea4a45071892"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdb4cd970167670c0dcbea4a45071892"></a>
- void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#abdb4cd970167670c0dcbea4a45071892">on_resetButton_clicked</a> ()</td></tr>
- <tr class="memdesc:abdb4cd970167670c0dcbea4a45071892"><td class="mdescLeft"> </td><td class="mdescRight">Vacia el vector de paquetes, reajusta la tabla de paquetes y el resumen del GUI. <br /></td></tr>
- <tr class="separator:abdb4cd970167670c0dcbea4a45071892"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Atributos privados</h2></td></tr>
- <tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
- Ui::MainWindow * </td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
- <tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abfaf76caab7ff83ed2c2d33ed8a10752"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sniffer.html">Sniffer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#abfaf76caab7ff83ed2c2d33ed8a10752">sniff</a></td></tr>
- <tr class="separator:abfaf76caab7ff83ed2c2d33ed8a10752"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae5a6ffcdcfd6861b30b6437cc26bd2b5"><td class="memItemLeft" align="right" valign="top">QThread </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae5a6ffcdcfd6861b30b6437cc26bd2b5">sniff_thread</a></td></tr>
- <tr class="separator:ae5a6ffcdcfd6861b30b6437cc26bd2b5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2a035505d0e0d67620a0959430d25b28"><td class="memItemLeft" align="right" valign="top">QWaitCondition </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2a035505d0e0d67620a0959430d25b28">wait_pause</a></td></tr>
- <tr class="separator:a2a035505d0e0d67620a0959430d25b28"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac784fe4304c97d6866554bca82d8d8f1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ac784fe4304c97d6866554bca82d8d8f1">pause</a></td></tr>
- <tr class="separator:ac784fe4304c97d6866554bca82d8d8f1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9ed781aae28b5e872e53e38f140b26eb"><td class="memItemLeft" align="right" valign="top">QMutex </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a9ed781aae28b5e872e53e38f140b26eb">mutex</a></td></tr>
- <tr class="separator:a9ed781aae28b5e872e53e38f140b26eb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae55a34c6c58b0e8b7c853969dfa52f1d"><td class="memItemLeft" align="right" valign="top">QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae55a34c6c58b0e8b7c853969dfa52f1d">imageList</a></td></tr>
- <tr class="separator:ae55a34c6c58b0e8b7c853969dfa52f1d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad2def9b9a717131ec554e32e9fc258c1"><td class="memItemLeft" align="right" valign="top">QNetworkAccessManager * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ad2def9b9a717131ec554e32e9fc258c1">netManager</a></td></tr>
- <tr class="separator:ad2def9b9a717131ec554e32e9fc258c1"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Documentación de las funciones miembro</h2>
- <a class="anchor" id="a429d5f7a014bccafa259dcd926531159"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void MainWindow::handleResults </td>
- <td>(</td>
- <td class="paramtype">unsigned long </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">slot</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Una senal es recibida desde el sniffer que un paquete de la forma Ethernet ->IP -> (TCP|UDP) tiene que ser desplegado en el GUI. Tambien revisa si el paquete es una solicitud a una imagen en http para desplegar. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">index</td><td>numero de el paquete en la tabla </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <a class="anchor" id="ae5f032dc280e74d6cd895b7ff0930f17"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void MainWindow::on_packetDisplay_itemClicked </td>
- <td>(</td>
- <td class="paramtype">QTableWidgetItem * </td>
- <td class="paramname"><em>item</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Cuando una linea de los paquetes es seleccionada desde el GUI un resumen de la carga en ascii es presentado en la caja de resumen. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">item</td><td>articulo seleccionado en el GUI </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <a class="anchor" id="a2f24448c7c8a017443d7c9e248802c4a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void MainWindow::slot_netwManagerFinished </td>
- <td>(</td>
- <td class="paramtype">QNetworkReply * </td>
- <td class="paramname"><em>reply</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">slot</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Este "slot" es llamado cuando se recibe una imagen con exito. La imagen entonces es anadida a la vizualizacion en el GUI. </p>
- <dl class="params"><dt>Parámetros</dt><dd>
- <table class="params">
- <tr><td class="paramname">reply</td><td>objeto que contiene la respuesta a nuestra solicitud </td></tr>
- </table>
- </dd>
- </dl>
-
- </div>
- </div>
- <h2 class="groupheader">Documentación de los datos miembro</h2>
- <a class="anchor" id="ae55a34c6c58b0e8b7c853969dfa52f1d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QStringList MainWindow::imageList</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>List of images / lista de imagenes </p>
-
- </div>
- </div>
- <a class="anchor" id="a9ed781aae28b5e872e53e38f140b26eb"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QMutex MainWindow::mutex</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>Protect critical region / protege region critica </p>
-
- </div>
- </div>
- <a class="anchor" id="ad2def9b9a717131ec554e32e9fc258c1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QNetworkAccessManager* MainWindow::netManager</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>to request http images / para solicitar imagenes http </p>
-
- </div>
- </div>
- <a class="anchor" id="ac784fe4304c97d6866554bca82d8d8f1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int MainWindow::pause</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>flag to pause / bandera para pausar </p>
-
- </div>
- </div>
- <a class="anchor" id="abfaf76caab7ff83ed2c2d33ed8a10752"></a>
- <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="class_sniffer.html">Sniffer</a>* MainWindow::sniff</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>pointer to the sniffer class / apuntador a la clase sniffer </p>
-
- </div>
- </div>
- <a class="anchor" id="ae5a6ffcdcfd6861b30b6437cc26bd2b5"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QThread MainWindow::sniff_thread</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>thread for the sniffer / hilo para el sniffer </p>
-
- </div>
- </div>
- <a class="anchor" id="a2a035505d0e0d67620a0959430d25b28"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QWaitCondition MainWindow::wait_pause</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>to pause the sniffer / para pausar el sniffer </p>
-
- </div>
- </div>
- <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
- <li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
- <li>mainwindow.cpp</li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generado el Miércoles, 24 de Junio de 2015 15:25:32 para My Project por  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.9.1
- </small></address>
- </body>
- </html>
|