\doxysection{Network\+Information Class Reference}
\hypertarget{a00698}{}\label{a00698}\index{NetworkInformation@{NetworkInformation}}


Helper to encapsulate the network information.  




{\ttfamily \#include $<$Network\+Information.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
string \mbox{\hyperlink{a00698_a70d8ccf293dc138d81ae694e3f5c15ea}{Get\+Ip\+Address}} ()
\begin{DoxyCompactList}\small\item\em Gets the IP v4 Address. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_af7d03d8d21d771c5926d3ef90496a4d1}{Set\+Ip\+Address}} (string p\+IP)
\begin{DoxyCompactList}\small\item\em Sets the IP v4 Address. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{a00698_aa0a813788fe470a03929ebbc8a974a89}{Get\+Ip\+Port}} ()
\begin{DoxyCompactList}\small\item\em Gets the tcp/ip comm port. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_a4c434641f0b6f65157060be0fa0cb1a7}{Set\+Ip\+Port}} (int p\+Port)
\begin{DoxyCompactList}\small\item\em Sets the tcp/ip comm port. \end{DoxyCompactList}\item 
string \mbox{\hyperlink{a00698_a3394fd679bd67aa63e83f362b0562b25}{Get\+Gateway}} ()
\begin{DoxyCompactList}\small\item\em Gets the gateway Address. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_ae92bcbaeb29ff212cdd8c819271e4ae6}{Set\+Gateway}} (string p\+Gateway)
\begin{DoxyCompactList}\small\item\em Sets the Gateway address. \end{DoxyCompactList}\item 
string \mbox{\hyperlink{a00698_a063ee72bd404431bca8a7569c55cec02}{Get\+Subnet\+Mask}} ()
\begin{DoxyCompactList}\small\item\em Gets the subnet mask. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_aa0564f3f683c4392f5971f7e5aa45592}{Set\+Subnet\+Mask}} (string p\+Subnet\+Mask)
\begin{DoxyCompactList}\small\item\em Sets the subnet mask. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{a00698_a702eb15e36c794f9e5e66d6278fd331d}{Get\+Dhcp\+Mode}} ()
\begin{DoxyCompactList}\small\item\em Gets the dhcp mode. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_a7d1f4f13217b3c58b4bcd0efead8fe3e}{Set\+Dhcp\+Mode}} (bool p\+Enabled)
\begin{DoxyCompactList}\small\item\em Sets the dhcp mode. \end{DoxyCompactList}\item 
string \mbox{\hyperlink{a00698_a781099d851537608730ae7add2dd9daf}{Get\+Mac\+Address}} ()
\begin{DoxyCompactList}\small\item\em Get the sensor\textquotesingle{}s mac adress. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00698_a151aedd1431434605186c0276cb2a622}{Set\+Mac\+Address}} (string macd\+Adress)
\begin{DoxyCompactList}\small\item\em Sets the mac adress field. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Helper to encapsulate the network information. 

\doxysubsection{Member Function Documentation}
\Hypertarget{a00698_a702eb15e36c794f9e5e66d6278fd331d}\index{NetworkInformation@{NetworkInformation}!GetDhcpMode@{GetDhcpMode}}
\index{GetDhcpMode@{GetDhcpMode}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetDhcpMode()}{GetDhcpMode()}}
{\footnotesize\ttfamily \label{a00698_a702eb15e36c794f9e5e66d6278fd331d} 
bool Network\+Information\+::\+Get\+Dhcp\+Mode (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the dhcp mode. 

\begin{DoxyReturn}{Returns}
dhcp mode as a boolean (true\+: ON, false\+: OFF)
\end{DoxyReturn}
\Hypertarget{a00698_a3394fd679bd67aa63e83f362b0562b25}\index{NetworkInformation@{NetworkInformation}!GetGateway@{GetGateway}}
\index{GetGateway@{GetGateway}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetGateway()}{GetGateway()}}
{\footnotesize\ttfamily \label{a00698_a3394fd679bd67aa63e83f362b0562b25} 
string Network\+Information\+::\+Get\+Gateway (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the gateway Address. 

\begin{DoxyReturn}{Returns}
Gateway address as a string
\end{DoxyReturn}
\Hypertarget{a00698_a70d8ccf293dc138d81ae694e3f5c15ea}\index{NetworkInformation@{NetworkInformation}!GetIpAddress@{GetIpAddress}}
\index{GetIpAddress@{GetIpAddress}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetIpAddress()}{GetIpAddress()}}
{\footnotesize\ttfamily \label{a00698_a70d8ccf293dc138d81ae694e3f5c15ea} 
string Network\+Information\+::\+Get\+Ip\+Address (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the IP v4 Address. 

\begin{DoxyReturn}{Returns}
IP Address as a string
\end{DoxyReturn}
\Hypertarget{a00698_aa0a813788fe470a03929ebbc8a974a89}\index{NetworkInformation@{NetworkInformation}!GetIpPort@{GetIpPort}}
\index{GetIpPort@{GetIpPort}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetIpPort()}{GetIpPort()}}
{\footnotesize\ttfamily \label{a00698_aa0a813788fe470a03929ebbc8a974a89} 
int Network\+Information\+::\+Get\+Ip\+Port (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the tcp/ip comm port. 

\begin{DoxyReturn}{Returns}
TCP Port as an int
\end{DoxyReturn}
\Hypertarget{a00698_a781099d851537608730ae7add2dd9daf}\index{NetworkInformation@{NetworkInformation}!GetMacAddress@{GetMacAddress}}
\index{GetMacAddress@{GetMacAddress}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetMacAddress()}{GetMacAddress()}}
{\footnotesize\ttfamily \label{a00698_a781099d851537608730ae7add2dd9daf} 
string Network\+Information\+::\+Get\+Mac\+Address (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Get the sensor\textquotesingle{}s mac adress. 

\begin{DoxyReturn}{Returns}
The mac adress
\end{DoxyReturn}
\Hypertarget{a00698_a063ee72bd404431bca8a7569c55cec02}\index{NetworkInformation@{NetworkInformation}!GetSubnetMask@{GetSubnetMask}}
\index{GetSubnetMask@{GetSubnetMask}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{GetSubnetMask()}{GetSubnetMask()}}
{\footnotesize\ttfamily \label{a00698_a063ee72bd404431bca8a7569c55cec02} 
string Network\+Information\+::\+Get\+Subnet\+Mask (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the subnet mask. 

\begin{DoxyReturn}{Returns}
Subnet mask as a string
\end{DoxyReturn}
\Hypertarget{a00698_a7d1f4f13217b3c58b4bcd0efead8fe3e}\index{NetworkInformation@{NetworkInformation}!SetDhcpMode@{SetDhcpMode}}
\index{SetDhcpMode@{SetDhcpMode}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetDhcpMode()}{SetDhcpMode()}}
{\footnotesize\ttfamily \label{a00698_a7d1f4f13217b3c58b4bcd0efead8fe3e} 
void Network\+Information\+::\+Set\+Dhcp\+Mode (\begin{DoxyParamCaption}\item[{bool}]{p\+Enabled}{}\end{DoxyParamCaption})}



Sets the dhcp mode. 


\begin{DoxyParams}{Parameters}
{\em p\+Enabled} & The DHCP mode to be set (true\+: ON, false\+: OFF)\\
\hline
\end{DoxyParams}
\Hypertarget{a00698_ae92bcbaeb29ff212cdd8c819271e4ae6}\index{NetworkInformation@{NetworkInformation}!SetGateway@{SetGateway}}
\index{SetGateway@{SetGateway}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetGateway()}{SetGateway()}}
{\footnotesize\ttfamily \label{a00698_ae92bcbaeb29ff212cdd8c819271e4ae6} 
void Network\+Information\+::\+Set\+Gateway (\begin{DoxyParamCaption}\item[{string}]{p\+Gateway}{}\end{DoxyParamCaption})}



Sets the Gateway address. 


\begin{DoxyParams}{Parameters}
{\em p\+Gateway} & The gateway address v4 to be set\\
\hline
\end{DoxyParams}
\Hypertarget{a00698_af7d03d8d21d771c5926d3ef90496a4d1}\index{NetworkInformation@{NetworkInformation}!SetIpAddress@{SetIpAddress}}
\index{SetIpAddress@{SetIpAddress}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetIpAddress()}{SetIpAddress()}}
{\footnotesize\ttfamily \label{a00698_af7d03d8d21d771c5926d3ef90496a4d1} 
void Network\+Information\+::\+Set\+Ip\+Address (\begin{DoxyParamCaption}\item[{string}]{p\+IP}{}\end{DoxyParamCaption})}



Sets the IP v4 Address. 


\begin{DoxyParams}{Parameters}
{\em p\+IP} & The IP Address v4 to be set\\
\hline
\end{DoxyParams}
\Hypertarget{a00698_a4c434641f0b6f65157060be0fa0cb1a7}\index{NetworkInformation@{NetworkInformation}!SetIpPort@{SetIpPort}}
\index{SetIpPort@{SetIpPort}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetIpPort()}{SetIpPort()}}
{\footnotesize\ttfamily \label{a00698_a4c434641f0b6f65157060be0fa0cb1a7} 
void Network\+Information\+::\+Set\+Ip\+Port (\begin{DoxyParamCaption}\item[{int}]{p\+Port}{}\end{DoxyParamCaption})}



Sets the tcp/ip comm port. 


\begin{DoxyParams}{Parameters}
{\em p\+Port} & tcp/ip port as an int\\
\hline
\end{DoxyParams}
\Hypertarget{a00698_a151aedd1431434605186c0276cb2a622}\index{NetworkInformation@{NetworkInformation}!SetMacAddress@{SetMacAddress}}
\index{SetMacAddress@{SetMacAddress}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetMacAddress()}{SetMacAddress()}}
{\footnotesize\ttfamily \label{a00698_a151aedd1431434605186c0276cb2a622} 
void Network\+Information\+::\+Set\+Mac\+Address (\begin{DoxyParamCaption}\item[{string}]{mac\+Address}{}\end{DoxyParamCaption})}



Sets the mac adress field. 


\begin{DoxyParams}{Parameters}
{\em mac\+Adress} & The mac adress to be encapsulated\\
\hline
\end{DoxyParams}
\Hypertarget{a00698_aa0564f3f683c4392f5971f7e5aa45592}\index{NetworkInformation@{NetworkInformation}!SetSubnetMask@{SetSubnetMask}}
\index{SetSubnetMask@{SetSubnetMask}!NetworkInformation@{NetworkInformation}}
\doxysubsubsection{\texorpdfstring{SetSubnetMask()}{SetSubnetMask()}}
{\footnotesize\ttfamily \label{a00698_aa0564f3f683c4392f5971f7e5aa45592} 
void Network\+Information\+::\+Set\+Subnet\+Mask (\begin{DoxyParamCaption}\item[{string}]{p\+Subnet\+Mask}{}\end{DoxyParamCaption})}



Sets the subnet mask. 


\begin{DoxyParams}{Parameters}
{\em p\+Subnet\+Mask} & The subnet mask v4 to be set\\
\hline
\end{DoxyParams}


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