\hypertarget{Elocation_8h}{}\section{Elocation.\+h File Reference}
\label{Elocation_8h}\index{Elocation.\+h@{Elocation.\+h}}


Elocation Library.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Elocation__Accuracy}{\+\_\+\+Elocation\+\_\+\+Accuracy}
\item 
struct \hyperlink{struct__Elocation__Address}{\+\_\+\+Elocation\+\_\+\+Address}
\item 
struct \hyperlink{struct__Elocation__Position}{\+\_\+\+Elocation\+\_\+\+Position}
\item 
struct \hyperlink{struct__Elocation__Velocity}{\+\_\+\+Elocation\+\_\+\+Velocity}
\item 
struct \hyperlink{struct__Elocation__Requirements}{\+\_\+\+Elocation\+\_\+\+Requirements}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Elocation__Accuracy}{\+\_\+\+Elocation\+\_\+\+Accuracy} \hyperlink{group__Location_ga39a951ab9c8a02f3358d866a50aad425}{Elocation\+\_\+\+Accuracy}
\item 
typedef struct \hyperlink{struct__Elocation__Address}{\+\_\+\+Elocation\+\_\+\+Address} \hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address}
\item 
typedef struct \hyperlink{struct__Elocation__Position}{\+\_\+\+Elocation\+\_\+\+Position} \hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position}
\item 
typedef struct \hyperlink{struct__Elocation__Velocity}{\+\_\+\+Elocation\+\_\+\+Velocity} \hyperlink{group__Location_ga70a0c8f4a2438b304023833bb07d3e7e}{Elocation\+\_\+\+Velocity}
\item 
typedef struct \hyperlink{struct__Elocation__Requirements}{\+\_\+\+Elocation\+\_\+\+Requirements} \hyperlink{group__Location_ga3af1c05f084d92d326c6194d3ce0e24b}{Elocation\+\_\+\+Requirements}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Location_gaf7d3505d9f0421f0edc84fdc3f5fc085}{Elocation\+\_\+\+Accuracy\+\_\+\+Level} \{ \newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+N\+O\+NE} = 0, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+O\+U\+N\+T\+RY} = 1, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+R\+E\+G\+I\+ON}, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+L\+O\+C\+A\+L\+I\+TY}, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+P\+O\+S\+T\+A\+L\+C\+O\+DE}, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+I\+TY} = 4, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+N\+E\+I\+G\+H\+B\+O\+R\+H\+O\+OD} = 5, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+S\+T\+R\+E\+ET} = 6, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+E\+T\+A\+I\+L\+ED}, 
\newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+A\+C\+C\+U\+R\+A\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+X\+A\+CT} = 8
 \}
\end{DoxyCompactItemize}

\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Location_gab88cd08d8d12e09816070877ab23b7d8}{Elocation\+\_\+\+Resource\+\_\+\+Flags} \{ \newline
{\bfseries E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+N\+O\+NE} = 0, 
\newline
\hyperlink{group__Location_gab88cd08d8d12e09816070877ab23b7d8a7d21bb47bf041e20ea85e72ccd5aa4b1}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+N\+E\+T\+W\+O\+RK} = 1 $<$$<$ 0, 
\newline
\hyperlink{group__Location_gab88cd08d8d12e09816070877ab23b7d8ac24689a848e4ae4a3a6533e0e2dcdbc8}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+C\+E\+LL} = 1 $<$$<$ 1, 
\newline
\hyperlink{group__Location_gab88cd08d8d12e09816070877ab23b7d8ae932cb8fe341e4caed9c61cb49b18ce6}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+G\+PS} = 1 $<$$<$ 2, 
\newline
\hyperlink{group__Location_gab88cd08d8d12e09816070877ab23b7d8a1b75c580364630545a940e0e198dc8b4}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+A\+LL} = (1 $<$$<$ 10) -\/ 1
 \}
\end{DoxyCompactItemize}

\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$ \hyperlink{group__Location_ga748b789c18ab4bbac9030cd1308a70a5}{elocation\+\_\+address\+\_\+new} (void)
\begin{DoxyCompactList}\small\item\em Create a new address object to operate on. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Location_gafd4ff166c408ef5f581ed3a3eb007625}{elocation\+\_\+address\+\_\+free} (\hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$address)
\begin{DoxyCompactList}\small\item\em Free an address object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$ \hyperlink{group__Location_gab08afeffaf64ecec9d3bc7cfd9a8ca09}{elocation\+\_\+position\+\_\+new} (void)
\begin{DoxyCompactList}\small\item\em Create a new position object to operate on. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Location_gaa7ab0e1b0c13c0dd0402ad0f57863af3}{elocation\+\_\+position\+\_\+free} (\hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position)
\begin{DoxyCompactList}\small\item\em Free an position object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_gac72e7393c0fcefeb003ebef6f8310dc6}{elocation\+\_\+address\+\_\+get} (\hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$address)
\begin{DoxyCompactList}\small\item\em Get the current address information. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_ga63021b1b1bae584f7b18c93299956007}{elocation\+\_\+position\+\_\+get} (\hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position)
\begin{DoxyCompactList}\small\item\em Get the current position information. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_ga1a8200ff897dc051b523a51c38f51911}{elocation\+\_\+status\+\_\+get} (int $\ast$status)
\begin{DoxyCompactList}\small\item\em Get the current status. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_gac394640141e0ee145e64bc99c16b2cb4}{elocation\+\_\+requirements\+\_\+set} (\hyperlink{group__Location_ga3af1c05f084d92d326c6194d3ce0e24b}{Elocation\+\_\+\+Requirements} $\ast$requirements)
\begin{DoxyCompactList}\small\item\em Set the requirements. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_ga164cd6d9f0e3297d3c00a1518d077608}{elocation\+\_\+position\+\_\+to\+\_\+address} (\hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position\+\_\+shadow, \hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$address\+\_\+shadow)
\begin{DoxyCompactList}\small\item\em Convert position to address. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_gab317513f3344ee687ae74409cdc15000}{elocation\+\_\+address\+\_\+to\+\_\+position} (\hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$address\+\_\+shadow, \hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position\+\_\+shadow)
\begin{DoxyCompactList}\small\item\em Convert address to position. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_gad3d98cf4594ae6cecbd3ccd88d562dd0}{elocation\+\_\+freeform\+\_\+address\+\_\+to\+\_\+position} (const char $\ast$freeform\+\_\+address, \hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position\+\_\+shadow)
\begin{DoxyCompactList}\small\item\em Convert free form address tring to position. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_ga740882bb8b7aa675c9d9c8e632239dbe}{elocation\+\_\+landmarks\+\_\+get} (\hyperlink{group__Location_ga82f0edab60c70181bc2977f5f9938a57}{Elocation\+\_\+\+Position} $\ast$position\+\_\+shadow, \hyperlink{group__Location_ga70097807d0c7c94f6648f98947f57145}{Elocation\+\_\+\+Address} $\ast$address\+\_\+shadow)
\begin{DoxyCompactList}\small\item\em Request a landmark position. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Location_gac913c3ae7abe9ecfe5769255d7463750}{elocation\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialize the elocation subsystem. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Location_ga171f14c512aba57a32743647c07ac2dd}{elocation\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Cleanup and shutdown the elocation subsystem. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\textbf{ }\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gafbc96484eaf8205668222bf464d40dac}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+T\+A\+T\+US}
\begin{DoxyCompactList}\small\item\em Available location events that are emitted from the library. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_ga46e6af99df73d92e269d8cbec5dee787}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+O\+S\+I\+T\+I\+ON}
\begin{DoxyCompactList}\small\item\em Position changed. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gaf905f923cca1b1f518ef66cb86eca170}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+D\+D\+R\+E\+SS}
\begin{DoxyCompactList}\small\item\em Address changed. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gacc0727e2c95d80653668d6069537d528}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+V\+E\+L\+O\+C\+I\+TY}
\begin{DoxyCompactList}\small\item\em Velocity changed. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gacbb0cfabbde2b73376e794c811722c63}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+G\+E\+O\+C\+O\+DE}
\begin{DoxyCompactList}\small\item\em Reply for geocode translation arrived. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_ga1e42b28b5cad09e2ba27b8968e7cede6}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+R\+E\+V\+E\+R\+S\+E\+G\+E\+O\+C\+O\+DE}
\begin{DoxyCompactList}\small\item\em Reply for geocode translation arrived. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gad2c8fbf49d34e4265165176e75849578}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+N\+M\+EA}
\begin{DoxyCompactList}\small\item\em N\+M\+EA update. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_ga21980100de4cf059715a6921f7038c6f}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+S\+A\+T\+E\+L\+L\+I\+TE}
\begin{DoxyCompactList}\small\item\em Satellite info changed. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gaa51d20e59777443f5410cfeb10559cb2}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+OI}
\begin{DoxyCompactList}\small\item\em P\+OI reply. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} int \hyperlink{group__Location_gacc0c3dbccad7000eff258aba6c1069b9}{E\+L\+O\+C\+A\+T\+I\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+M\+E\+T\+A\+\_\+\+R\+E\+A\+DY}
\begin{DoxyCompactList}\small\item\em Meta provider is ready to be used. \end{DoxyCompactList}\end{DoxyCompactItemize}



\subsection{Detailed Description}
Elocation Library. 

