Нет описания

class_main_window.tex 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. \hypertarget{class_main_window}{}\section{Referencia de la Clase Main\+Window}
  2. \label{class_main_window}\index{Main\+Window@{Main\+Window}}
  3. Diagrama de herencias de Main\+Window\begin{figure}[H]
  4. \begin{center}
  5. \leavevmode
  6. \includegraphics[height=2.000000cm]{class_main_window}
  7. \end{center}
  8. \end{figure}
  9. \subsection*{Slots públicos}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. void \hyperlink{class_main_window_a429d5f7a014bccafa259dcd926531159}{handle\+Results} (unsigned long index)
  13. \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
  14. void \hyperlink{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{slot\+\_\+netw\+Manager\+Finished} (Q\+Network\+Reply $\ast$reply)
  15. \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}
  16. \subsection*{Métodos públicos}
  17. \begin{DoxyCompactItemize}
  18. \item
  19. \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}
  20. \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item
  21. \hypertarget{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{}\hyperlink{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{$\sim$\+Main\+Window} ()\label{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}
  22. \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
  23. \subsection*{Slots privados}
  24. \begin{DoxyCompactItemize}
  25. \item
  26. \hypertarget{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{}void \hyperlink{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{on\+\_\+capture\+\_\+clicked} ()\label{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}
  27. \begin{DoxyCompactList}\small\item\em Senal que inicial o pausa la captura de paquetes en el sniffer. \end{DoxyCompactList}\item
  28. void \hyperlink{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{on\+\_\+packet\+Display\+\_\+item\+Clicked} (Q\+Table\+Widget\+Item $\ast$item)
  29. \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
  30. \hypertarget{class_main_window_abdb4cd970167670c0dcbea4a45071892}{}void \hyperlink{class_main_window_abdb4cd970167670c0dcbea4a45071892}{on\+\_\+reset\+Button\+\_\+clicked} ()\label{class_main_window_abdb4cd970167670c0dcbea4a45071892}
  31. \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}
  32. \subsection*{Atributos privados}
  33. \begin{DoxyCompactItemize}
  34. \item
  35. \hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5}
  36. \item
  37. \hyperlink{class_sniffer}{Sniffer} $\ast$ \hyperlink{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{sniff}
  38. \item
  39. Q\+Thread \hyperlink{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{sniff\+\_\+thread}
  40. \item
  41. Q\+Wait\+Condition \hyperlink{class_main_window_a2a035505d0e0d67620a0959430d25b28}{wait\+\_\+pause}
  42. \item
  43. int \hyperlink{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{pause}
  44. \item
  45. Q\+Mutex \hyperlink{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{mutex}
  46. \item
  47. Q\+String\+List \hyperlink{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{image\+List}
  48. \item
  49. Q\+Network\+Access\+Manager $\ast$ \hyperlink{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{net\+Manager}
  50. \end{DoxyCompactItemize}
  51. \subsection{Documentación de las funciones miembro}
  52. \hypertarget{class_main_window_a429d5f7a014bccafa259dcd926531159}{}\index{Main\+Window@{Main\+Window}!handle\+Results@{handle\+Results}}
  53. \index{handle\+Results@{handle\+Results}!Main\+Window@{Main\+Window}}
  54. \subsubsection[{handle\+Results}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::handle\+Results (
  55. \begin{DoxyParamCaption}
  56. \item[{unsigned long}]{index}
  57. \end{DoxyParamCaption}
  58. )\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a429d5f7a014bccafa259dcd926531159}
  59. 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.
  60. \begin{DoxyParams}{Parámetros}
  61. {\em index} & numero de el paquete en la tabla \\
  62. \hline
  63. \end{DoxyParams}
  64. \hypertarget{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{}\index{Main\+Window@{Main\+Window}!on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}}
  65. \index{on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}!Main\+Window@{Main\+Window}}
  66. \subsubsection[{on\+\_\+packet\+Display\+\_\+item\+Clicked}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+packet\+Display\+\_\+item\+Clicked (
  67. \begin{DoxyParamCaption}
  68. \item[{Q\+Table\+Widget\+Item $\ast$}]{item}
  69. \end{DoxyParamCaption}
  70. )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}
  71. 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.
  72. \begin{DoxyParams}{Parámetros}
  73. {\em item} & articulo seleccionado en el G\+U\+I \\
  74. \hline
  75. \end{DoxyParams}
  76. \hypertarget{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{}\index{Main\+Window@{Main\+Window}!slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}}
  77. \index{slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}!Main\+Window@{Main\+Window}}
  78. \subsubsection[{slot\+\_\+netw\+Manager\+Finished}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::slot\+\_\+netw\+Manager\+Finished (
  79. \begin{DoxyParamCaption}
  80. \item[{Q\+Network\+Reply $\ast$}]{reply}
  81. \end{DoxyParamCaption}
  82. )\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}
  83. 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.
  84. \begin{DoxyParams}{Parámetros}
  85. {\em reply} & objeto que contiene la respuesta a nuestra solicitud \\
  86. \hline
  87. \end{DoxyParams}
  88. \subsection{Documentación de los datos miembro}
  89. \hypertarget{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{}\index{Main\+Window@{Main\+Window}!image\+List@{image\+List}}
  90. \index{image\+List@{image\+List}!Main\+Window@{Main\+Window}}
  91. \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}
  92. List of images / lista de imagenes \hypertarget{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{}\index{Main\+Window@{Main\+Window}!mutex@{mutex}}
  93. \index{mutex@{mutex}!Main\+Window@{Main\+Window}}
  94. \subsubsection[{mutex}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Mutex Main\+Window\+::mutex\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}
  95. Protect critical region / protege region critica \hypertarget{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{}\index{Main\+Window@{Main\+Window}!net\+Manager@{net\+Manager}}
  96. \index{net\+Manager@{net\+Manager}!Main\+Window@{Main\+Window}}
  97. \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}
  98. to request http images / para solicitar imagenes http \hypertarget{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{}\index{Main\+Window@{Main\+Window}!pause@{pause}}
  99. \index{pause@{pause}!Main\+Window@{Main\+Window}}
  100. \subsubsection[{pause}]{\setlength{\rightskip}{0pt plus 5cm}int Main\+Window\+::pause\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}
  101. flag to pause / bandera para pausar \hypertarget{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{}\index{Main\+Window@{Main\+Window}!sniff@{sniff}}
  102. \index{sniff@{sniff}!Main\+Window@{Main\+Window}}
  103. \subsubsection[{sniff}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sniffer}$\ast$ Main\+Window\+::sniff\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}
  104. pointer to the sniffer class / apuntador a la clase sniffer \hypertarget{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{}\index{Main\+Window@{Main\+Window}!sniff\+\_\+thread@{sniff\+\_\+thread}}
  105. \index{sniff\+\_\+thread@{sniff\+\_\+thread}!Main\+Window@{Main\+Window}}
  106. \subsubsection[{sniff\+\_\+thread}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Thread Main\+Window\+::sniff\+\_\+thread\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}
  107. thread for the sniffer / hilo para el sniffer \hypertarget{class_main_window_a2a035505d0e0d67620a0959430d25b28}{}\index{Main\+Window@{Main\+Window}!wait\+\_\+pause@{wait\+\_\+pause}}
  108. \index{wait\+\_\+pause@{wait\+\_\+pause}!Main\+Window@{Main\+Window}}
  109. \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}
  110. to pause the sniffer / para pausar el sniffer
  111. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  112. \item
  113. mainwindow.\+h\item
  114. mainwindow.\+cpp\end{DoxyCompactItemize}