\hypertarget{class_main_window}{}\section{Referencia de la Clase Main\+Window}
\label{class_main_window}\index{Main\+Window@{Main\+Window}}
Diagrama de herencias de Main\+Window\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_main_window}
\end{center}
\end{figure}
\subsection*{Slots públicos}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_main_window_a429d5f7a014bccafa259dcd926531159}{handle\+Results} (unsigned long index)
\begin{DoxyCompactList}\small\item\em Una senal es recibida desde el sniffer que un paquete de la forma Ethernet -\/$>$I\+P -\/$>$ (T\+C\+P$\vert$\+U\+D\+P) tiene que ser desplegado en el G\+U\+I. Tambien revisa si el paquete es una solicitud a una imagen en http para desplegar. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{slot\+\_\+netw\+Manager\+Finished} (Q\+Network\+Reply $\ast$reply)
\begin{DoxyCompactList}\small\item\em Este \char`\"{}slot\char`\"{} es llamado cuando se recibe una imagen con exito. La imagen entonces es anadida a la vizualizacion en el G\+U\+I. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Métodos públicos}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{}\hyperlink{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{$\sim$\+Main\+Window} ()\label{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Slots privados}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{}void \hyperlink{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{on\+\_\+capture\+\_\+clicked} ()\label{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}

\begin{DoxyCompactList}\small\item\em Senal que inicial o pausa la captura de paquetes en el sniffer. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{on\+\_\+packet\+Display\+\_\+item\+Clicked} (Q\+Table\+Widget\+Item $\ast$item)
\begin{DoxyCompactList}\small\item\em Cuando una linea de los paquetes es seleccionada desde el G\+U\+I un resumen de la carga en ascii es presentado en la caja de resumen. \end{DoxyCompactList}\item 
\hypertarget{class_main_window_abdb4cd970167670c0dcbea4a45071892}{}void \hyperlink{class_main_window_abdb4cd970167670c0dcbea4a45071892}{on\+\_\+reset\+Button\+\_\+clicked} ()\label{class_main_window_abdb4cd970167670c0dcbea4a45071892}

\begin{DoxyCompactList}\small\item\em Vacia el vector de paquetes, reajusta la tabla de paquetes y el resumen del G\+U\+I. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Atributos privados}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5}

\item 
\hyperlink{class_sniffer}{Sniffer} $\ast$ \hyperlink{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{sniff}
\item 
Q\+Thread \hyperlink{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{sniff\+\_\+thread}
\item 
Q\+Wait\+Condition \hyperlink{class_main_window_a2a035505d0e0d67620a0959430d25b28}{wait\+\_\+pause}
\item 
int \hyperlink{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{pause}
\item 
Q\+Mutex \hyperlink{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{mutex}
\item 
Q\+String\+List \hyperlink{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{image\+List}
\item 
Q\+Network\+Access\+Manager $\ast$ \hyperlink{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{net\+Manager}
\end{DoxyCompactItemize}


\subsection{Documentación de las funciones miembro}
\hypertarget{class_main_window_a429d5f7a014bccafa259dcd926531159}{}\index{Main\+Window@{Main\+Window}!handle\+Results@{handle\+Results}}
\index{handle\+Results@{handle\+Results}!Main\+Window@{Main\+Window}}
\subsubsection[{handle\+Results}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::handle\+Results (
\begin{DoxyParamCaption}
\item[{unsigned long}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a429d5f7a014bccafa259dcd926531159}


Una senal es recibida desde el sniffer que un paquete de la forma Ethernet -\/$>$I\+P -\/$>$ (T\+C\+P$\vert$\+U\+D\+P) tiene que ser desplegado en el G\+U\+I. Tambien revisa si el paquete es una solicitud a una imagen en http para desplegar. 


\begin{DoxyParams}{Parámetros}
{\em index} & numero de el paquete en la tabla \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{}\index{Main\+Window@{Main\+Window}!on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}}
\index{on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}!Main\+Window@{Main\+Window}}
\subsubsection[{on\+\_\+packet\+Display\+\_\+item\+Clicked}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+packet\+Display\+\_\+item\+Clicked (
\begin{DoxyParamCaption}
\item[{Q\+Table\+Widget\+Item $\ast$}]{item}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}


Cuando una linea de los paquetes es seleccionada desde el G\+U\+I un resumen de la carga en ascii es presentado en la caja de resumen. 


\begin{DoxyParams}{Parámetros}
{\em item} & articulo seleccionado en el G\+U\+I \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{}\index{Main\+Window@{Main\+Window}!slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}}
\index{slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}!Main\+Window@{Main\+Window}}
\subsubsection[{slot\+\_\+netw\+Manager\+Finished}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::slot\+\_\+netw\+Manager\+Finished (
\begin{DoxyParamCaption}
\item[{Q\+Network\+Reply $\ast$}]{reply}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}


Este \char`\"{}slot\char`\"{} es llamado cuando se recibe una imagen con exito. La imagen entonces es anadida a la vizualizacion en el G\+U\+I. 


\begin{DoxyParams}{Parámetros}
{\em reply} & objeto que contiene la respuesta a nuestra solicitud \\
\hline
\end{DoxyParams}


\subsection{Documentación de los datos miembro}
\hypertarget{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{}\index{Main\+Window@{Main\+Window}!image\+List@{image\+List}}
\index{image\+List@{image\+List}!Main\+Window@{Main\+Window}}
\subsubsection[{image\+List}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String\+List Main\+Window\+::image\+List\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}
List of images / lista de imagenes \hypertarget{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{}\index{Main\+Window@{Main\+Window}!mutex@{mutex}}
\index{mutex@{mutex}!Main\+Window@{Main\+Window}}
\subsubsection[{mutex}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Mutex Main\+Window\+::mutex\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}
Protect critical region / protege region critica \hypertarget{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{}\index{Main\+Window@{Main\+Window}!net\+Manager@{net\+Manager}}
\index{net\+Manager@{net\+Manager}!Main\+Window@{Main\+Window}}
\subsubsection[{net\+Manager}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Network\+Access\+Manager$\ast$ Main\+Window\+::net\+Manager\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}
to request http images / para solicitar imagenes http \hypertarget{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{}\index{Main\+Window@{Main\+Window}!pause@{pause}}
\index{pause@{pause}!Main\+Window@{Main\+Window}}
\subsubsection[{pause}]{\setlength{\rightskip}{0pt plus 5cm}int Main\+Window\+::pause\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}
flag to pause / bandera para pausar \hypertarget{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{}\index{Main\+Window@{Main\+Window}!sniff@{sniff}}
\index{sniff@{sniff}!Main\+Window@{Main\+Window}}
\subsubsection[{sniff}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sniffer}$\ast$ Main\+Window\+::sniff\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}
pointer to the sniffer class / apuntador a la clase sniffer \hypertarget{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{}\index{Main\+Window@{Main\+Window}!sniff\+\_\+thread@{sniff\+\_\+thread}}
\index{sniff\+\_\+thread@{sniff\+\_\+thread}!Main\+Window@{Main\+Window}}
\subsubsection[{sniff\+\_\+thread}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Thread Main\+Window\+::sniff\+\_\+thread\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}
thread for the sniffer / hilo para el sniffer \hypertarget{class_main_window_a2a035505d0e0d67620a0959430d25b28}{}\index{Main\+Window@{Main\+Window}!wait\+\_\+pause@{wait\+\_\+pause}}
\index{wait\+\_\+pause@{wait\+\_\+pause}!Main\+Window@{Main\+Window}}
\subsubsection[{wait\+\_\+pause}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Wait\+Condition Main\+Window\+::wait\+\_\+pause\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a2a035505d0e0d67620a0959430d25b28}
to pause the sniffer / para pausar el sniffer 

La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
\item 
mainwindow.\+h\item 
mainwindow.\+cpp\end{DoxyCompactItemize}
