\doxysection{Sensor\+Lamps Class Reference}
\hypertarget{a00792}{}\label{a00792}\index{SensorLamps@{SensorLamps}}


Helper to encapsulate the sensor lamps state.  




{\ttfamily \#include $<$Sensor\+Lamps.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00792_abb7877a23e9ca3edcda6739a4bacc927}{Sensor\+Lamps}} ()
\begin{DoxyCompactList}\small\item\em Base constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00792_a6153c8dbad9f74fb89477a3527e98522}{Sensor\+Lamps}} (LEDCOLOR p\+Led1, LEDCOLOR p\+Led2, LEDCOLOR p\+Led3, LEDCOLOR p\+Led4)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
LEDCOLOR \mbox{\hyperlink{a00792_ab8f02baf5d9ad259a7c4f6cec29db3fe}{Get\+Led1}} ()
\begin{DoxyCompactList}\small\item\em Gets the LED1 status. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00792_a17d732760b070b87c186371b425c82bb}{Set\+Led1}} (LEDCOLOR p\+Color)
\begin{DoxyCompactList}\small\item\em Sets the LED1 status. \end{DoxyCompactList}\item 
LEDCOLOR \mbox{\hyperlink{a00792_a82789c3f3d5b3ad2137d9a127c27bde7}{Get\+Led2}} ()
\begin{DoxyCompactList}\small\item\em Gets the LED2 status. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00792_af0fdbed973e8fa3c8d5cd9f048763fa8}{Set\+Led2}} (LEDCOLOR p\+Color)
\begin{DoxyCompactList}\small\item\em Sets the LED status. \end{DoxyCompactList}\item 
LEDCOLOR \mbox{\hyperlink{a00792_a319f00c6c387d5e94fbaad7e1fd7dde1}{Get\+Led3}} ()
\begin{DoxyCompactList}\small\item\em Gets the LED3 status. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00792_ae6761bf0de78039119e9efcd4daffea1}{Set\+Led3}} (LEDCOLOR p\+Color)
\begin{DoxyCompactList}\small\item\em Sets the LED3 status. \end{DoxyCompactList}\item 
LEDCOLOR \mbox{\hyperlink{a00792_a19250eee3b4e8e7591edd172682323ea}{Get\+Led4}} ()
\begin{DoxyCompactList}\small\item\em Gets the LED4 status. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a00792_a5324946ffd638094d7e9cd14958b96b4}{Set\+Led4}} (LEDCOLOR p\+Color)
\begin{DoxyCompactList}\small\item\em Sets the LED4 status. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Helper to encapsulate the sensor lamps state. 

\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{a00792_abb7877a23e9ca3edcda6739a4bacc927}\index{SensorLamps@{SensorLamps}!SensorLamps@{SensorLamps}}
\index{SensorLamps@{SensorLamps}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SensorLamps()}{SensorLamps()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{a00792_abb7877a23e9ca3edcda6739a4bacc927} 
Sensor\+Lamps\+::\+Sensor\+Lamps (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Base constructor. 

\Hypertarget{a00792_a6153c8dbad9f74fb89477a3527e98522}\index{SensorLamps@{SensorLamps}!SensorLamps@{SensorLamps}}
\index{SensorLamps@{SensorLamps}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SensorLamps()}{SensorLamps()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{a00792_a6153c8dbad9f74fb89477a3527e98522} 
Sensor\+Lamps\+::\+Sensor\+Lamps (\begin{DoxyParamCaption}\item[{LEDCOLOR}]{p\+Led1}{, }\item[{LEDCOLOR}]{p\+Led2}{, }\item[{LEDCOLOR}]{p\+Led3}{, }\item[{LEDCOLOR}]{p\+Led4}{}\end{DoxyParamCaption})}



Copy constructor. 


\begin{DoxyParams}{Parameters}
{\em p\+Led1} & the Led1 status as a string\\
\hline
{\em p\+Led2} & the Led2 status as a string\\
\hline
{\em p\+Led3} & the Led3 status as a string\\
\hline
{\em p\+Led4} & the Led4 status as a string\\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\Hypertarget{a00792_ab8f02baf5d9ad259a7c4f6cec29db3fe}\index{SensorLamps@{SensorLamps}!GetLed1@{GetLed1}}
\index{GetLed1@{GetLed1}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{GetLed1()}{GetLed1()}}
{\footnotesize\ttfamily \label{a00792_ab8f02baf5d9ad259a7c4f6cec29db3fe} 
LEDCOLOR Sensor\+Lamps\+::\+Get\+Led1 (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the LED1 status. 

\begin{DoxyReturn}{Returns}
LED1 status as an int
\end{DoxyReturn}
\Hypertarget{a00792_a82789c3f3d5b3ad2137d9a127c27bde7}\index{SensorLamps@{SensorLamps}!GetLed2@{GetLed2}}
\index{GetLed2@{GetLed2}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{GetLed2()}{GetLed2()}}
{\footnotesize\ttfamily \label{a00792_a82789c3f3d5b3ad2137d9a127c27bde7} 
LEDCOLOR Sensor\+Lamps\+::\+Get\+Led2 (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the LED2 status. 

\begin{DoxyReturn}{Returns}
LED2 status as an int
\end{DoxyReturn}
\Hypertarget{a00792_a319f00c6c387d5e94fbaad7e1fd7dde1}\index{SensorLamps@{SensorLamps}!GetLed3@{GetLed3}}
\index{GetLed3@{GetLed3}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{GetLed3()}{GetLed3()}}
{\footnotesize\ttfamily \label{a00792_a319f00c6c387d5e94fbaad7e1fd7dde1} 
LEDCOLOR Sensor\+Lamps\+::\+Get\+Led3 (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the LED3 status. 

\begin{DoxyReturn}{Returns}
LED3 status as an int
\end{DoxyReturn}
\Hypertarget{a00792_a19250eee3b4e8e7591edd172682323ea}\index{SensorLamps@{SensorLamps}!GetLed4@{GetLed4}}
\index{GetLed4@{GetLed4}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{GetLed4()}{GetLed4()}}
{\footnotesize\ttfamily \label{a00792_a19250eee3b4e8e7591edd172682323ea} 
LEDCOLOR Sensor\+Lamps\+::\+Get\+Led4 (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}



Gets the LED4 status. 

\begin{DoxyReturn}{Returns}
LED4 status as an int
\end{DoxyReturn}
\Hypertarget{a00792_a17d732760b070b87c186371b425c82bb}\index{SensorLamps@{SensorLamps}!SetLed1@{SetLed1}}
\index{SetLed1@{SetLed1}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SetLed1()}{SetLed1()}}
{\footnotesize\ttfamily \label{a00792_a17d732760b070b87c186371b425c82bb} 
void Sensor\+Lamps\+::\+Set\+Led1 (\begin{DoxyParamCaption}\item[{LEDCOLOR}]{p\+Color}{}\end{DoxyParamCaption})}



Sets the LED1 status. 


\begin{DoxyParams}{Parameters}
{\em p\+Color} & The led1 color to be set\\
\hline
\end{DoxyParams}
\Hypertarget{a00792_af0fdbed973e8fa3c8d5cd9f048763fa8}\index{SensorLamps@{SensorLamps}!SetLed2@{SetLed2}}
\index{SetLed2@{SetLed2}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SetLed2()}{SetLed2()}}
{\footnotesize\ttfamily \label{a00792_af0fdbed973e8fa3c8d5cd9f048763fa8} 
void Sensor\+Lamps\+::\+Set\+Led2 (\begin{DoxyParamCaption}\item[{LEDCOLOR}]{p\+Color}{}\end{DoxyParamCaption})}



Sets the LED status. 


\begin{DoxyParams}{Parameters}
{\em p\+Color} & The led2 color to be set\\
\hline
\end{DoxyParams}
\Hypertarget{a00792_ae6761bf0de78039119e9efcd4daffea1}\index{SensorLamps@{SensorLamps}!SetLed3@{SetLed3}}
\index{SetLed3@{SetLed3}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SetLed3()}{SetLed3()}}
{\footnotesize\ttfamily \label{a00792_ae6761bf0de78039119e9efcd4daffea1} 
void Sensor\+Lamps\+::\+Set\+Led3 (\begin{DoxyParamCaption}\item[{LEDCOLOR}]{p\+Color}{}\end{DoxyParamCaption})}



Sets the LED3 status. 


\begin{DoxyParams}{Parameters}
{\em p\+Color} & The led3 color to be set\\
\hline
\end{DoxyParams}
\Hypertarget{a00792_a5324946ffd638094d7e9cd14958b96b4}\index{SensorLamps@{SensorLamps}!SetLed4@{SetLed4}}
\index{SetLed4@{SetLed4}!SensorLamps@{SensorLamps}}
\doxysubsubsection{\texorpdfstring{SetLed4()}{SetLed4()}}
{\footnotesize\ttfamily \label{a00792_a5324946ffd638094d7e9cd14958b96b4} 
void Sensor\+Lamps\+::\+Set\+Led4 (\begin{DoxyParamCaption}\item[{LEDCOLOR}]{p\+Color}{}\end{DoxyParamCaption})}



Sets the LED4 status. 


\begin{DoxyParams}{Parameters}
{\em p\+Color} & The led4 color to be set\\
\hline
\end{DoxyParams}


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