\hypertarget{classinterfaceconfiguration}{
\section{interfaceconfiguration Class Reference}
\label{classinterfaceconfiguration}\index{interfaceconfiguration@{interfaceconfiguration}}
}


reads and stores a interface configuration.  




{\ttfamily \#include $<$interfaceconfiguration.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classinterfaceconfiguration_adb3454e2f635cdb9e64abbf52876e405}{interfaceconfiguration} ()
\item 
\hyperlink{classinterfaceconfiguration_a2a5030a447c71b8cb9fff25f76495e47}{interfaceconfiguration} (const \hyperlink{classinterfaceconfiguration}{interfaceconfiguration} \&other)
\item 
\hyperlink{classinterfaceconfiguration}{interfaceconfiguration} \& \hyperlink{classinterfaceconfiguration_acfe24fb0ea09bf2ab6b56d563a01ea64}{operator=} (const \hyperlink{classinterfaceconfiguration}{interfaceconfiguration} \&other)
\item 
virtual \hyperlink{classinterfaceconfiguration_a081284366f684dda0ea5b16da03d38cd}{$\sim$interfaceconfiguration} ()
\item 
bool \hyperlink{classinterfaceconfiguration_a2b4fec7513ebaed66c05525a79fbb86b}{readConfigOutOfFile} (QString pathToConfig)
\item 
QString \hyperlink{classinterfaceconfiguration_ac3bf787a5f0815a51ee9e168054dc6b2}{getBroadcast} ()
\item 
QString \hyperlink{classinterfaceconfiguration_aa3e8faa34f96977487d949a7c08c7104}{getClientid} ()
\item 
QString \hyperlink{classinterfaceconfiguration_aa5f79d74d6298e66dab7f8166961fdcc}{getDhcpchaddr} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a591718d15c0020c9d500d64fffcafcfa}{getDhcpsid} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a9e927ea4b057f3e321737865fb2b3441}{getDnssearch} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a1fc0fa91b94b24250c1f92f8504fd2c0}{getDnsservers} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a77f6373dbb0cf520ab01f70368565d54}{getGateways} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a74fdcb6c01517e3efe2e9e37c009adf7}{getGateway} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a516bf4c58fd7d1b89da4e3993947d259}{getHostname} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a7150e0b9dc8c3bc972dc28283c14de8e}{getInterface} ()
\item 
QString \hyperlink{classinterfaceconfiguration_abb1fd67d11ce6d7ffff31e90f1c7bfad}{getIpAddress} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a34beb3374ea802c5de36a9fe402c1f19}{getNetmask} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a5cfbd9cf96ca1432d5ec60dee3da38b3}{getNetwork} ()
\item 
QString \hyperlink{classinterfaceconfiguration_a0f83e2252730de775c834e53cacc6ae5}{getRoutes} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
reads and stores a interface configuration. Copyright (c) 2010,2011 -\/ RZ Uni Freiburg Copyright (c) 2010,2011 -\/ OpenSLX Project

This program/file is free software distributed under the GPL version 2. See \href{http://openslx.org/COPYING}{\tt http://openslx.org/COPYING}

If you have any feedback please consult \href{http://openslx.org/feedback}{\tt http://openslx.org/feedback} and send your feedback to \href{mailto:feedback@openslx.org}{\tt feedback@openslx.org}

General information about OpenSLX can be found under \href{http://openslx.org}{\tt http://openslx.org}

reads and stores a interface configuration. the config file has already to exist. It is created by the cdhcpcd client process. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classinterfaceconfiguration_adb3454e2f635cdb9e64abbf52876e405}{
\index{interfaceconfiguration@{interfaceconfiguration}!interfaceconfiguration@{interfaceconfiguration}}
\index{interfaceconfiguration@{interfaceconfiguration}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{interfaceconfiguration}]{\setlength{\rightskip}{0pt plus 5cm}interfaceconfiguration::interfaceconfiguration (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_adb3454e2f635cdb9e64abbf52876e405}
\hypertarget{classinterfaceconfiguration_a2a5030a447c71b8cb9fff25f76495e47}{
\index{interfaceconfiguration@{interfaceconfiguration}!interfaceconfiguration@{interfaceconfiguration}}
\index{interfaceconfiguration@{interfaceconfiguration}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{interfaceconfiguration}]{\setlength{\rightskip}{0pt plus 5cm}interfaceconfiguration::interfaceconfiguration (
\begin{DoxyParamCaption}
\item[{const {\bf interfaceconfiguration} \&}]{other}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a2a5030a447c71b8cb9fff25f76495e47}
\hypertarget{classinterfaceconfiguration_a081284366f684dda0ea5b16da03d38cd}{
\index{interfaceconfiguration@{interfaceconfiguration}!$\sim$interfaceconfiguration@{$\sim$interfaceconfiguration}}
\index{$\sim$interfaceconfiguration@{$\sim$interfaceconfiguration}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{$\sim$interfaceconfiguration}]{\setlength{\rightskip}{0pt plus 5cm}interfaceconfiguration::$\sim$interfaceconfiguration (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classinterfaceconfiguration_a081284366f684dda0ea5b16da03d38cd}


\subsection{Member Function Documentation}
\hypertarget{classinterfaceconfiguration_ac3bf787a5f0815a51ee9e168054dc6b2}{
\index{interfaceconfiguration@{interfaceconfiguration}!getBroadcast@{getBroadcast}}
\index{getBroadcast@{getBroadcast}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getBroadcast}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getBroadcast (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_ac3bf787a5f0815a51ee9e168054dc6b2}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_ac3bf787a5f0815a51ee9e168054dc6b2_icgraph}
\end{center}
\end{figure}


\hypertarget{classinterfaceconfiguration_aa3e8faa34f96977487d949a7c08c7104}{
\index{interfaceconfiguration@{interfaceconfiguration}!getClientid@{getClientid}}
\index{getClientid@{getClientid}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getClientid}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getClientid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_aa3e8faa34f96977487d949a7c08c7104}
\hypertarget{classinterfaceconfiguration_aa5f79d74d6298e66dab7f8166961fdcc}{
\index{interfaceconfiguration@{interfaceconfiguration}!getDhcpchaddr@{getDhcpchaddr}}
\index{getDhcpchaddr@{getDhcpchaddr}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getDhcpchaddr}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getDhcpchaddr (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_aa5f79d74d6298e66dab7f8166961fdcc}
\hypertarget{classinterfaceconfiguration_a591718d15c0020c9d500d64fffcafcfa}{
\index{interfaceconfiguration@{interfaceconfiguration}!getDhcpsid@{getDhcpsid}}
\index{getDhcpsid@{getDhcpsid}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getDhcpsid}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getDhcpsid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a591718d15c0020c9d500d64fffcafcfa}
\hypertarget{classinterfaceconfiguration_a9e927ea4b057f3e321737865fb2b3441}{
\index{interfaceconfiguration@{interfaceconfiguration}!getDnssearch@{getDnssearch}}
\index{getDnssearch@{getDnssearch}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getDnssearch}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getDnssearch (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a9e927ea4b057f3e321737865fb2b3441}
\hypertarget{classinterfaceconfiguration_a1fc0fa91b94b24250c1f92f8504fd2c0}{
\index{interfaceconfiguration@{interfaceconfiguration}!getDnsservers@{getDnsservers}}
\index{getDnsservers@{getDnsservers}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getDnsservers}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getDnsservers (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a1fc0fa91b94b24250c1f92f8504fd2c0}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_a1fc0fa91b94b24250c1f92f8504fd2c0_icgraph}
\end{center}
\end{figure}


\hypertarget{classinterfaceconfiguration_a74fdcb6c01517e3efe2e9e37c009adf7}{
\index{interfaceconfiguration@{interfaceconfiguration}!getGateway@{getGateway}}
\index{getGateway@{getGateway}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getGateway}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getGateway (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a74fdcb6c01517e3efe2e9e37c009adf7}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_a74fdcb6c01517e3efe2e9e37c009adf7_icgraph}
\end{center}
\end{figure}


\hypertarget{classinterfaceconfiguration_a77f6373dbb0cf520ab01f70368565d54}{
\index{interfaceconfiguration@{interfaceconfiguration}!getGateways@{getGateways}}
\index{getGateways@{getGateways}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getGateways}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getGateways (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a77f6373dbb0cf520ab01f70368565d54}
\hypertarget{classinterfaceconfiguration_a516bf4c58fd7d1b89da4e3993947d259}{
\index{interfaceconfiguration@{interfaceconfiguration}!getHostname@{getHostname}}
\index{getHostname@{getHostname}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getHostname}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getHostname (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a516bf4c58fd7d1b89da4e3993947d259}
\hypertarget{classinterfaceconfiguration_a7150e0b9dc8c3bc972dc28283c14de8e}{
\index{interfaceconfiguration@{interfaceconfiguration}!getInterface@{getInterface}}
\index{getInterface@{getInterface}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getInterface}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getInterface (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a7150e0b9dc8c3bc972dc28283c14de8e}
\hypertarget{classinterfaceconfiguration_abb1fd67d11ce6d7ffff31e90f1c7bfad}{
\index{interfaceconfiguration@{interfaceconfiguration}!getIpAddress@{getIpAddress}}
\index{getIpAddress@{getIpAddress}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getIpAddress}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getIpAddress (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_abb1fd67d11ce6d7ffff31e90f1c7bfad}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_abb1fd67d11ce6d7ffff31e90f1c7bfad_icgraph}
\end{center}
\end{figure}


\hypertarget{classinterfaceconfiguration_a34beb3374ea802c5de36a9fe402c1f19}{
\index{interfaceconfiguration@{interfaceconfiguration}!getNetmask@{getNetmask}}
\index{getNetmask@{getNetmask}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getNetmask}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getNetmask (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a34beb3374ea802c5de36a9fe402c1f19}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_a34beb3374ea802c5de36a9fe402c1f19_icgraph}
\end{center}
\end{figure}


\hypertarget{classinterfaceconfiguration_a5cfbd9cf96ca1432d5ec60dee3da38b3}{
\index{interfaceconfiguration@{interfaceconfiguration}!getNetwork@{getNetwork}}
\index{getNetwork@{getNetwork}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getNetwork}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getNetwork (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a5cfbd9cf96ca1432d5ec60dee3da38b3}
\hypertarget{classinterfaceconfiguration_a0f83e2252730de775c834e53cacc6ae5}{
\index{interfaceconfiguration@{interfaceconfiguration}!getRoutes@{getRoutes}}
\index{getRoutes@{getRoutes}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{getRoutes}]{\setlength{\rightskip}{0pt plus 5cm}QString interfaceconfiguration::getRoutes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a0f83e2252730de775c834e53cacc6ae5}
\hypertarget{classinterfaceconfiguration_acfe24fb0ea09bf2ab6b56d563a01ea64}{
\index{interfaceconfiguration@{interfaceconfiguration}!operator=@{operator=}}
\index{operator=@{operator=}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf interfaceconfiguration}\& interfaceconfiguration::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf interfaceconfiguration} \&}]{other}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_acfe24fb0ea09bf2ab6b56d563a01ea64}
\hypertarget{classinterfaceconfiguration_a2b4fec7513ebaed66c05525a79fbb86b}{
\index{interfaceconfiguration@{interfaceconfiguration}!readConfigOutOfFile@{readConfigOutOfFile}}
\index{readConfigOutOfFile@{readConfigOutOfFile}!interfaceconfiguration@{interfaceconfiguration}}
\subsubsection[{readConfigOutOfFile}]{\setlength{\rightskip}{0pt plus 5cm}bool interfaceconfiguration::readConfigOutOfFile (
\begin{DoxyParamCaption}
\item[{QString}]{pathToConfig}
\end{DoxyParamCaption}
)}}
\label{classinterfaceconfiguration_a2b4fec7513ebaed66c05525a79fbb86b}
This method reads the configuration values out of a file.

This method reads the configuration values out of a file. The file has to be created before by the customdhcpcd QProcess. (Overwrites the old values if they are already present.)


\begin{DoxyParams}{Parameters}
{\em pathToConfig} & contains the path to the configuration file. \\
\hline
\end{DoxyParams}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classinterfaceconfiguration_a2b4fec7513ebaed66c05525a79fbb86b_icgraph}
\end{center}
\end{figure}




The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/niklas/workspace/fbgui/src/\hyperlink{interfaceconfiguration_8h}{interfaceconfiguration.h}\item 
/home/niklas/workspace/fbgui/src/\hyperlink{interfaceconfiguration_8cpp}{interfaceconfiguration.cpp}\end{DoxyCompactItemize}
