\hypertarget{namespacecalc__hsm}{
\section{Package calc\_\-hsm}
\label{namespacecalc__hsm}\index{calc\_\-hsm@{calc\_\-hsm}}
}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class \hyperlink{classcalc__hsm_1_1_calc_event}{CalcEvent}
\begin{CompactList}\small\item\em Calc state machine events. \item\end{CompactList}\item 
class \hyperlink{classcalc__hsm_1_1_calc_hsm}{CalcHsm}
\begin{CompactList}\small\item\em Calc state machine. \item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
\hyperlink{namespacecalc__hsm_f270b412c4c6c45ebbcef097ec6e70cc}{SIG\_\-CLEAR} = SIG\_\-USER
\begin{CompactList}\small\item\em Clear signal, user has pressed the clear button. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_9e6c96ecb713f302d3949fbdab8015fc}{SIG\_\-CLEAR\_\-ENTRY} = 1
\begin{CompactList}\small\item\em Clear Entry signal, user has pressed the clear entry button. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_ebfc36e3a2695ce7744e63ae147021cd}{SIG\_\-DIGIT\_\-1\_\-9} = 2
\begin{CompactList}\small\item\em Digit 1-9 signal, user has pressed a digit button ranging from 1 to 9. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_25aa1022b81b8e0e88008f9872a08c56}{SIG\_\-DIGIT\_\-0} = 3
\begin{CompactList}\small\item\em Digit 0 signal, user has pressed the 0 button. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_d2fa23b0d202800e410e2532e10904d7}{SIG\_\-OPERATOR} = 4
\begin{CompactList}\small\item\em Operator signal, user has pressed an operator (add, subtract, multiply, divide) button. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_3c3d2cae6ab88090761ad4b9cb1d02b7}{SIG\_\-POINT} = 5
\begin{CompactList}\small\item\em Point signal, user has pressed the decimal point button. \item\end{CompactList}\item 
int \hyperlink{namespacecalc__hsm_f27167882c29bfa2778c134086d30463}{SIG\_\-EQUALS} = 6
\begin{CompactList}\small\item\em Equals signal, user has pressed the equals button. \item\end{CompactList}\end{CompactItemize}


\subsection{Variable Documentation}
\hypertarget{namespacecalc__hsm_f270b412c4c6c45ebbcef097ec6e70cc}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-CLEAR@{SIG\_\-CLEAR}}
\index{SIG\_\-CLEAR@{SIG\_\-CLEAR}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-CLEAR}]{\setlength{\rightskip}{0pt plus 5cm}{\bf calc\_\-hsm.SIG\_\-CLEAR} = SIG\_\-USER}}
\label{namespacecalc__hsm_f270b412c4c6c45ebbcef097ec6e70cc}


Clear signal, user has pressed the clear button. 

\hypertarget{namespacecalc__hsm_9e6c96ecb713f302d3949fbdab8015fc}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-CLEAR\_\-ENTRY@{SIG\_\-CLEAR\_\-ENTRY}}
\index{SIG\_\-CLEAR\_\-ENTRY@{SIG\_\-CLEAR\_\-ENTRY}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-CLEAR\_\-ENTRY}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-CLEAR\_\-ENTRY} = 1}}
\label{namespacecalc__hsm_9e6c96ecb713f302d3949fbdab8015fc}


Clear Entry signal, user has pressed the clear entry button. 

\hypertarget{namespacecalc__hsm_25aa1022b81b8e0e88008f9872a08c56}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-DIGIT\_\-0@{SIG\_\-DIGIT\_\-0}}
\index{SIG\_\-DIGIT\_\-0@{SIG\_\-DIGIT\_\-0}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-DIGIT\_\-0}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-DIGIT\_\-0} = 3}}
\label{namespacecalc__hsm_25aa1022b81b8e0e88008f9872a08c56}


Digit 0 signal, user has pressed the 0 button. 

\hypertarget{namespacecalc__hsm_ebfc36e3a2695ce7744e63ae147021cd}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-DIGIT\_\-1\_\-9@{SIG\_\-DIGIT\_\-1\_\-9}}
\index{SIG\_\-DIGIT\_\-1\_\-9@{SIG\_\-DIGIT\_\-1\_\-9}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-DIGIT\_\-1\_\-9}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-DIGIT\_\-1\_\-9} = 2}}
\label{namespacecalc__hsm_ebfc36e3a2695ce7744e63ae147021cd}


Digit 1-9 signal, user has pressed a digit button ranging from 1 to 9. 

\hypertarget{namespacecalc__hsm_f27167882c29bfa2778c134086d30463}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-EQUALS@{SIG\_\-EQUALS}}
\index{SIG\_\-EQUALS@{SIG\_\-EQUALS}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-EQUALS}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-EQUALS} = 6}}
\label{namespacecalc__hsm_f27167882c29bfa2778c134086d30463}


Equals signal, user has pressed the equals button. 

\hypertarget{namespacecalc__hsm_d2fa23b0d202800e410e2532e10904d7}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-OPERATOR@{SIG\_\-OPERATOR}}
\index{SIG\_\-OPERATOR@{SIG\_\-OPERATOR}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-OPERATOR}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-OPERATOR} = 4}}
\label{namespacecalc__hsm_d2fa23b0d202800e410e2532e10904d7}


Operator signal, user has pressed an operator (add, subtract, multiply, divide) button. 

\hypertarget{namespacecalc__hsm_3c3d2cae6ab88090761ad4b9cb1d02b7}{
\index{calc\_\-hsm@{calc\_\-hsm}!SIG\_\-POINT@{SIG\_\-POINT}}
\index{SIG\_\-POINT@{SIG\_\-POINT}!calc_hsm@{calc\_\-hsm}}
\subsubsection[{SIG\_\-POINT}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf calc\_\-hsm.SIG\_\-POINT} = 5}}
\label{namespacecalc__hsm_3c3d2cae6ab88090761ad4b9cb1d02b7}


Point signal, user has pressed the decimal point button. 

