\doxysection{Device\+Pinger Class Reference}
\hypertarget{a00786}{}\label{a00786}\index{DevicePinger@{DevicePinger}}


The ETHERNET device pinger\+: a helper to allow sending ICMP packets to a host.  




{\ttfamily \#include $<$Device\+Pinger.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00786_a3bdfd17e5340ff5a1222e5969d2b0873}{Device\+Pinger}} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00786_a384b11758f4726732a70a6843f093ce9}{Device\+Pinger}} (string address)
\begin{DoxyCompactList}\small\item\em A copy constructor accepting the IPV4 host address to ping. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00786_aa16b518aaebfb0936b638a7144ba8c2b}{Device\+Pinger}} (string address, int timeout)
\begin{DoxyCompactList}\small\item\em A copy constructor accepting the IPV4 host address to ping. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00786_a2dc504501432db204e0970854be816c0}{Set\+Address}} (string address)
\begin{DoxyCompactList}\small\item\em Sets the host IPV4 Address to ping. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00802}{PING\+\_\+\+RESULT}} \mbox{\hyperlink{a00786_a7c687c550370bfaba964f2155ff83e12}{Ping}} ()
\begin{DoxyCompactList}\small\item\em Pings the host. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00802}{PING\+\_\+\+RESULT}} \mbox{\hyperlink{a00786_a462d8f6ac7087f4d97fd9f18ea8ec428}{Ping}} (int packet\+Amount)
\begin{DoxyCompactList}\small\item\em Pings the host. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The ETHERNET device pinger\+: a helper to allow sending ICMP packets to a host. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00786_a3bdfd17e5340ff5a1222e5969d2b0873}\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{DevicePinger()}{DevicePinger()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily \label{a00786_a3bdfd17e5340ff5a1222e5969d2b0873} 
Device\+Pinger\+::\+Device\+Pinger (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Default constructor. 

\Hypertarget{a00786_a384b11758f4726732a70a6843f093ce9}\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{DevicePinger()}{DevicePinger()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily \label{a00786_a384b11758f4726732a70a6843f093ce9} 
Device\+Pinger\+::\+Device\+Pinger (\begin{DoxyParamCaption}\item[{string}]{address}{}\end{DoxyParamCaption})}



A copy constructor accepting the IPV4 host address to ping. 


\begin{DoxyParams}{Parameters}
{\em address} & The host IPV4 adress\\
\hline
\end{DoxyParams}
\Hypertarget{a00786_aa16b518aaebfb0936b638a7144ba8c2b}\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\index{DevicePinger@{DevicePinger}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{DevicePinger()}{DevicePinger()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily \label{a00786_aa16b518aaebfb0936b638a7144ba8c2b} 
Device\+Pinger\+::\+Device\+Pinger (\begin{DoxyParamCaption}\item[{string}]{address}{, }\item[{int}]{timeout}{}\end{DoxyParamCaption})}



A copy constructor accepting the IPV4 host address to ping. 


\begin{DoxyParams}{Parameters}
{\em address} & The host IPV4 adress\\
\hline
{\em timeout} & The allowed ping timeout in milliseconds\\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\Hypertarget{a00786_a7c687c550370bfaba964f2155ff83e12}\index{DevicePinger@{DevicePinger}!Ping@{Ping}}
\index{Ping@{Ping}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{Ping()}{Ping()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{a00786_a7c687c550370bfaba964f2155ff83e12} 
\mbox{\hyperlink{a00802}{PING\+\_\+\+RESULT}} Device\+Pinger\+::\+Ping (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Pings the host. 

\begin{DoxyReturn}{Returns}
An encapsulation of ping returns
\end{DoxyReturn}


\begin{DoxyReturn}{Returns}
The amount of packets sent (default amount of packet is 3)
\end{DoxyReturn}
\Hypertarget{a00786_a462d8f6ac7087f4d97fd9f18ea8ec428}\index{DevicePinger@{DevicePinger}!Ping@{Ping}}
\index{Ping@{Ping}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{Ping()}{Ping()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{a00786_a462d8f6ac7087f4d97fd9f18ea8ec428} 
\mbox{\hyperlink{a00802}{PING\+\_\+\+RESULT}} Device\+Pinger\+::\+Ping (\begin{DoxyParamCaption}\item[{int}]{packet\+Amount}{}\end{DoxyParamCaption})}



Pings the host. 


\begin{DoxyParams}{Parameters}
{\em packet\+Amount} & How much packet to be sent\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An encapsulation of ping returns
\end{DoxyReturn}



\begin{DoxyParams}{Parameters}
{\em packet\+Amount} & How much packet to be sent\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The amount of packets sent
\end{DoxyReturn}
\Hypertarget{a00786_a2dc504501432db204e0970854be816c0}\index{DevicePinger@{DevicePinger}!SetAddress@{SetAddress}}
\index{SetAddress@{SetAddress}!DevicePinger@{DevicePinger}}
\doxysubsubsection{\texorpdfstring{SetAddress()}{SetAddress()}}
{\footnotesize\ttfamily \label{a00786_a2dc504501432db204e0970854be816c0} 
void Device\+Pinger\+::\+Set\+Address (\begin{DoxyParamCaption}\item[{string}]{address}{}\end{DoxyParamCaption})}



Sets the host IPV4 Address to ping. 


\begin{DoxyParams}{Parameters}
{\em address} & The host IPV4 adress\\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Device\+Pinger.\+h\item 
Device\+Pinger.\+cpp\end{DoxyCompactItemize}
