\hypertarget{simplehsm_8py}{
\section{simplehsm.py File Reference}
\label{simplehsm_8py}\index{simplehsm.py@{simplehsm.py}}
}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class \hyperlink{classsimplehsm_1_1_state_event}{simplehsm.StateEvent}
\begin{CompactList}\small\item\em \hyperlink{classsimplehsm_1_1_state_event}{StateEvent} class. \item\end{CompactList}\item 
class \hyperlink{classsimplehsm_1_1_simple_hsm}{simplehsm.SimpleHsm}
\begin{CompactList}\small\item\em \hyperlink{classsimplehsm_1_1_simple_hsm}{SimpleHsm} class. \item\end{CompactList}\end{CompactItemize}
\subsection*{Packages}
\begin{CompactItemize}
\item 
package \hyperlink{namespacesimplehsm}{simplehsm}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
def \hyperlink{namespacesimplehsm_59182d084c59090c89e303eb3fcd204b}{simplehsm.deep\_\-history}
\begin{CompactList}\small\item\em Add a deep history psuedostate to a composite state. \item\end{CompactList}\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
int \hyperlink{namespacesimplehsm_7622f6140b02bab0258d0ea45dc50503}{simplehsm.SIG\_\-NULL} = 0
\begin{CompactList}\small\item\em Null signal, all state functions should ignore this signal and return their parent state (or None if the top level state). \item\end{CompactList}\item 
int \hyperlink{namespacesimplehsm_efef3a89742e0f0cb8988c2ee8738ded}{simplehsm.SIG\_\-INIT} = 1
\begin{CompactList}\small\item\em Initialisation signal, a state function should transition to a default substate (\hyperlink{classsimplehsm_1_1_simple_hsm_e91280b0ea99849e546bc46509b940b7}{SimpleHsm.InitTransitionState()}) if it has substates. \item\end{CompactList}\item 
int \hyperlink{namespacesimplehsm_bcc2da008baf495ead8ead5ae7a3d158}{simplehsm.SIG\_\-ENTRY} = 2
\begin{CompactList}\small\item\em Entry signal, a state function should perform its entry actions (if any). \item\end{CompactList}\item 
int \hyperlink{namespacesimplehsm_9da0126e34c758effb41944604c7981a}{simplehsm.SIG\_\-EXIT} = 3
\begin{CompactList}\small\item\em Exit signal, a state function should perform its exit actions (if any). \item\end{CompactList}\item 
int \hyperlink{namespacesimplehsm_7811b0a8222965fa3a4ce910363d7774}{simplehsm.SIG\_\-USER} = 4
\begin{CompactList}\small\item\em User signals should start from this index. \item\end{CompactList}\end{CompactItemize}


\label{_details}
\hypertarget{_details}{}
\subsection{Detailed Description}
\begin{Desc}
\item[Author:]Daniel Newton $<$\href{mailto:djpnewton@gmail.com}{\tt djpnewton@gmail.com}$>$ \end{Desc}
\begin{Desc}
\item[Version:]1.0\end{Desc}
\hypertarget{simplehsm_8py_LICENSE}{}\subsection{LICENSE}\label{simplehsm_8py_LICENSE}
Copyright (c) 2009 Daniel Newton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \char`\"{}Software\char`\"{}), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED \char`\"{}AS IS\char`\"{}, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\hypertarget{simplehsm_8py_DESCRIPTION}{}\subsection{DESCRIPTION}\label{simplehsm_8py_DESCRIPTION}
The \hyperlink{namespacesimplehsm}{simplehsm} C implementation 