\hypertarget{group__Eldbus__Object__Mapper}{\section{Object Mapper}
\label{group__Eldbus__Object__Mapper}\index{Object Mapper@{Object Mapper}}
}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eldbus__Object__Event__Interface__Added}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Added}
\item 
struct \hyperlink{struct__Eldbus__Object__Event__Interface__Removed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Removed}
\item 
struct \hyperlink{struct__Eldbus__Object__Event__Property__Changed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Changed}
\item 
struct \hyperlink{struct__Eldbus__Object__Event__Property__Removed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Removed}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eldbus__Object__Mapper_ga9885b2ab7172a58f452a5f40ca83ca32}{typedef struct \\*
\hyperlink{struct__Eldbus__Object__Event__Interface__Added}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Added} {\bfseries Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Added}}\label{group__Eldbus__Object__Mapper_ga9885b2ab7172a58f452a5f40ca83ca32}

\item 
\hypertarget{group__Eldbus__Object__Mapper_ga7351185bdb8725349188a5339062453e}{typedef struct \\*
\hyperlink{struct__Eldbus__Object__Event__Interface__Removed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Removed} {\bfseries Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Interface\-\_\-\-Removed}}\label{group__Eldbus__Object__Mapper_ga7351185bdb8725349188a5339062453e}

\item 
\hypertarget{group__Eldbus__Object__Mapper_gade27f1cd97c5369f8a1afc80e2e36d31}{typedef struct \\*
\hyperlink{struct__Eldbus__Object__Event__Property__Changed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Changed} {\bfseries Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Changed}}\label{group__Eldbus__Object__Mapper_gade27f1cd97c5369f8a1afc80e2e36d31}

\item 
\hypertarget{group__Eldbus__Object__Mapper_ga40a46b6e4856cdb44325c7c1baf1a04d}{typedef struct \\*
\hyperlink{struct__Eldbus__Object__Event__Property__Removed}{\-\_\-\-Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Removed} {\bfseries Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Property\-\_\-\-Removed}}\label{group__Eldbus__Object__Mapper_ga40a46b6e4856cdb44325c7c1baf1a04d}

\item 
\hypertarget{group__Eldbus__Object__Mapper_ga7a31592e2689478395cbd1f6af7dc443}{typedef void($\ast$ {\bfseries Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Cb} )(void $\ast$data, \hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, void $\ast$event\-\_\-info)}\label{group__Eldbus__Object__Mapper_ga7a31592e2689478395cbd1f6af7dc443}

\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Eldbus__Object__Mapper_ga6815a0c586e769b1cbb2c52d7fdb2ff9}{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type} \{ \\*
\hyperlink{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a8d23ba5a3a697f426caed7a75c338f5f}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D} = 0, 
\\*
\hyperlink{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9aadb47e5f38349093150bacb623217d7e}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D}, 
\\*
{\bfseries E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-P\-R\-O\-P\-E\-R\-T\-Y\-\_\-\-C\-H\-A\-N\-G\-E\-D}, 
\\*
{\bfseries E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-P\-R\-O\-P\-E\-R\-T\-Y\-\_\-\-R\-E\-M\-O\-V\-E\-D}, 
\\*
{\bfseries E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-D\-E\-L}, 
\\*
\hyperlink{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a887a312e96c9819a6b1b315dd82f53e0}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T}
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$ \hyperlink{group__Eldbus__Object__Mapper_ga067d5c8eba2590fb58e7dc39de87d203}{eldbus\-\_\-object\-\_\-get} (\hyperlink{group__Eldbus__Core_ga5f0557a7e65ed263fcc1678874b8f7e7}{Eldbus\-\_\-\-Connection} $\ast$conn, const char $\ast$bus, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Get an object of the given bus and path. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga395009a5d3d2b5109b3ec7e883779f14}{\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$ \hyperlink{group__Eldbus__Object__Mapper_ga395009a5d3d2b5109b3ec7e883779f14}{eldbus\-\_\-object\-\_\-ref} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj)}\label{group__Eldbus__Object__Mapper_ga395009a5d3d2b5109b3ec7e883779f14}

\begin{DoxyCompactList}\small\item\em Increase object reference. \end{DoxyCompactList}\item 
void \hyperlink{group__Eldbus__Object__Mapper_gabf9de9a1f28df4a8b0b3b2cd416d647e}{eldbus\-\_\-object\-\_\-unref} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Decrease object reference. \end{DoxyCompactList}\item 
void \hyperlink{group__Eldbus__Object__Mapper_ga93cdc265ac6c4f89699184e7a839859f}{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, Eldbus\-\_\-\-Free\-\_\-\-Cb cb, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Add a callback function to be called when object will be freed. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga13cf9182415e80ae36e5c8b79ad187a7}{void \hyperlink{group__Eldbus__Object__Mapper_ga13cf9182415e80ae36e5c8b79ad187a7}{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-del} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, Eldbus\-\_\-\-Free\-\_\-\-Cb cb, const void $\ast$data)}\label{group__Eldbus__Object__Mapper_ga13cf9182415e80ae36e5c8b79ad187a7}

\begin{DoxyCompactList}\small\item\em Remove callback registered in \hyperlink{group__Eldbus__Object__Mapper_ga93cdc265ac6c4f89699184e7a839859f}{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add()}. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}{void \hyperlink{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}{eldbus\-\_\-object\-\_\-event\-\_\-callback\-\_\-add} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, \hyperlink{group__Eldbus__Object__Mapper_ga6815a0c586e769b1cbb2c52d7fdb2ff9}{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type} type, Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Cb cb, const void $\ast$cb\-\_\-data)}\label{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}

\begin{DoxyCompactList}\small\item\em Add a callback function to be called when an event of the specified type occurs. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga3634ea4bcd8faab23bf5774ee316a428}{void \hyperlink{group__Eldbus__Object__Mapper_ga3634ea4bcd8faab23bf5774ee316a428}{eldbus\-\_\-object\-\_\-event\-\_\-callback\-\_\-del} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, \hyperlink{group__Eldbus__Object__Mapper_ga6815a0c586e769b1cbb2c52d7fdb2ff9}{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type} type, Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Cb cb, const void $\ast$cb\-\_\-data)}\label{group__Eldbus__Object__Mapper_ga3634ea4bcd8faab23bf5774ee316a428}

\begin{DoxyCompactList}\small\item\em Remove callback registered in \hyperlink{group__Eldbus__Object__Mapper_ga51777d46a7af02dc5027b31098c7f060}{eldbus\-\_\-object\-\_\-event\-\_\-callback\-\_\-add()}. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga561392690c2caa00e7b1e31e6e216135}{\hyperlink{group__Eldbus__Core_ga5f0557a7e65ed263fcc1678874b8f7e7}{Eldbus\-\_\-\-Connection} $\ast$ {\bfseries eldbus\-\_\-object\-\_\-connection\-\_\-get} (const \hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj)}\label{group__Eldbus__Object__Mapper_ga561392690c2caa00e7b1e31e6e216135}

\item 
\hypertarget{group__Eldbus__Object__Mapper_gaad0b030403dafa3271333a003218a1b5}{const char $\ast$ {\bfseries eldbus\-\_\-object\-\_\-bus\-\_\-name\-\_\-get} (const \hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj)}\label{group__Eldbus__Object__Mapper_gaad0b030403dafa3271333a003218a1b5}

\item 
\hypertarget{group__Eldbus__Object__Mapper_ga229b1b1f11ca0f78b1158f271e10df02}{const char $\ast$ {\bfseries eldbus\-\_\-object\-\_\-path\-\_\-get} (const \hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj)}\label{group__Eldbus__Object__Mapper_ga229b1b1f11ca0f78b1158f271e10df02}

\item 
\hyperlink{group__Eldbus__Core_ga7a5d4dc070bd925034de6e52c4260be7}{Eldbus\-\_\-\-Pending} $\ast$ \hyperlink{group__Eldbus__Object__Mapper_gac51c7e49b47c7adffb3bc4020a156295}{eldbus\-\_\-object\-\_\-send} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, \hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\-\_\-\-Message} $\ast$msg, Eldbus\-\_\-\-Message\-\_\-\-Cb cb, const void $\ast$cb\-\_\-data, double timeout)
\begin{DoxyCompactList}\small\item\em Send a message. \end{DoxyCompactList}\item 
\hyperlink{group__Eldbus__Core_ga0f4385f3952b6ad56f1966a3ed1b744c}{Eldbus\-\_\-\-Signal\-\_\-\-Handler} $\ast$ \hyperlink{group__Eldbus__Object__Mapper_gafd35708e5748b5851c7041ddeaecf0fc}{eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, const char $\ast$interface, const char $\ast$member, Eldbus\-\_\-\-Signal\-\_\-\-Cb cb, const void $\ast$cb\-\_\-data)
\begin{DoxyCompactList}\small\item\em Add a signal handler. \end{DoxyCompactList}\item 
\hypertarget{group__Eldbus__Object__Mapper_ga1267b8300ebb665f5dc8c60c623a16af}{\hyperlink{group__Eldbus__Core_ga14e8c4d4b96af5fb8bb5c66dc315593a}{Eldbus\-\_\-\-Message} $\ast$ {\bfseries eldbus\-\_\-object\-\_\-method\-\_\-call\-\_\-new} (\hyperlink{group__Eldbus__Core_ga49914ed24559a149426b5f2bb8294a06}{Eldbus\-\_\-\-Object} $\ast$obj, const char $\ast$interface, const char $\ast$member)}\label{group__Eldbus__Object__Mapper_ga1267b8300ebb665f5dc8c60c623a16af}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Enumeration Type Documentation}
\hypertarget{group__Eldbus__Object__Mapper_ga6815a0c586e769b1cbb2c52d7fdb2ff9}{\index{Object Mapper@{Object Mapper}!Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type@{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type}}
\index{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type@{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type}!Object Mapper@{Object Mapper}}
\subsubsection[{Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Eldbus\-\_\-\-Object\-\_\-\-Event\-\_\-\-Type}}}\label{group__Eldbus__Object__Mapper_ga6815a0c586e769b1cbb2c52d7fdb2ff9}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D}!Object Mapper@{Object Mapper}}\index{Object Mapper@{Object Mapper}!E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D}}\item[{\em 
\hypertarget{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a8d23ba5a3a697f426caed7a75c338f5f}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-A\-D\-D\-E\-D}\label{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a8d23ba5a3a697f426caed7a75c338f5f}
}]a parent path must have a Object\-Manager interface \index{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D}!Object Mapper@{Object Mapper}}\index{Object Mapper@{Object Mapper}!E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D}}\item[{\em 
\hypertarget{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9aadb47e5f38349093150bacb623217d7e}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-F\-A\-C\-E\-\_\-\-R\-E\-M\-O\-V\-E\-D}\label{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9aadb47e5f38349093150bacb623217d7e}
}]a parent path must have a Object\-Manager interface \index{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T}!Object Mapper@{Object Mapper}}\index{Object Mapper@{Object Mapper}!E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T@{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T}}\item[{\em 
\hypertarget{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a887a312e96c9819a6b1b315dd82f53e0}{E\-L\-D\-B\-U\-S\-\_\-\-O\-B\-J\-E\-C\-T\-\_\-\-E\-V\-E\-N\-T\-\_\-\-L\-A\-S\-T}\label{group__Eldbus__Object__Mapper_gga6815a0c586e769b1cbb2c52d7fdb2ff9a887a312e96c9819a6b1b315dd82f53e0}
}]sentinel, not a real event type \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Eldbus__Object__Mapper_ga067d5c8eba2590fb58e7dc39de87d203}{\index{Object Mapper@{Object Mapper}!eldbus\-\_\-object\-\_\-get@{eldbus\-\_\-object\-\_\-get}}
\index{eldbus\-\_\-object\-\_\-get@{eldbus\-\_\-object\-\_\-get}!Object Mapper@{Object Mapper}}
\subsubsection[{eldbus\-\_\-object\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\-\_\-\-Object}$\ast$ eldbus\-\_\-object\-\_\-get (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\-\_\-\-Connection} $\ast$}]{conn, }
\item[{const char $\ast$}]{bus, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Object__Mapper_ga067d5c8eba2590fb58e7dc39de87d203}


Get an object of the given bus and path. 


\begin{DoxyParams}{Parameters}
{\em conn} & connection where object belongs \\
\hline
{\em bus} & name of bus or unique-\/id of who listens for calls of this object \\
\hline
{\em path} & object path of this object \\
\hline
\end{DoxyParams}


References eina\-\_\-hash\-\_\-string\-\_\-small\-\_\-new(), E\-I\-N\-A\-\_\-\-M\-A\-G\-I\-C\-\_\-\-S\-E\-T, eina\-\_\-stringshare\-\_\-add(), eina\-\_\-stringshare\-\_\-del(), eldbus\-\_\-connection\-\_\-free\-\_\-cb\-\_\-add(), eldbus\-\_\-object\-\_\-ref(), and eldbus\-\_\-proxy\-\_\-get().

\hypertarget{group__Eldbus__Object__Mapper_gabf9de9a1f28df4a8b0b3b2cd416d647e}{\index{Object Mapper@{Object Mapper}!eldbus\-\_\-object\-\_\-unref@{eldbus\-\_\-object\-\_\-unref}}
\index{eldbus\-\_\-object\-\_\-unref@{eldbus\-\_\-object\-\_\-unref}!Object Mapper@{Object Mapper}}
\subsubsection[{eldbus\-\_\-object\-\_\-unref}]{\setlength{\rightskip}{0pt plus 5cm}void eldbus\-\_\-object\-\_\-unref (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\-\_\-\-Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Object__Mapper_gabf9de9a1f28df4a8b0b3b2cd416d647e}


Decrease object reference. 

If reference == 0 object will be freed and all its children. \hypertarget{group__Eldbus__Object__Mapper_ga93cdc265ac6c4f89699184e7a839859f}{\index{Object Mapper@{Object Mapper}!eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add@{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add}}
\index{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add@{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add}!Object Mapper@{Object Mapper}}
\subsubsection[{eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}void eldbus\-\_\-object\-\_\-free\-\_\-cb\-\_\-add (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\-\_\-\-Object} $\ast$}]{obj, }
\item[{Eldbus\-\_\-\-Free\-\_\-\-Cb}]{cb, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Object__Mapper_ga93cdc265ac6c4f89699184e7a839859f}


Add a callback function to be called when object will be freed. 


\begin{DoxyParams}{Parameters}
{\em obj} & object that you want to monitor \\
\hline
{\em cb} & callback that will be executed \\
\hline
{\em data} & passed to callback \\
\hline
\end{DoxyParams}


Referenced by eldbus\-\_\-proxy\-\_\-get().

\hypertarget{group__Eldbus__Object__Mapper_gac51c7e49b47c7adffb3bc4020a156295}{\index{Object Mapper@{Object Mapper}!eldbus\-\_\-object\-\_\-send@{eldbus\-\_\-object\-\_\-send}}
\index{eldbus\-\_\-object\-\_\-send@{eldbus\-\_\-object\-\_\-send}!Object Mapper@{Object Mapper}}
\subsubsection[{eldbus\-\_\-object\-\_\-send}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\-\_\-\-Pending}$\ast$ eldbus\-\_\-object\-\_\-send (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\-\_\-\-Object} $\ast$}]{obj, }
\item[{{\bf Eldbus\-\_\-\-Message} $\ast$}]{msg, }
\item[{Eldbus\-\_\-\-Message\-\_\-\-Cb}]{cb, }
\item[{const void $\ast$}]{cb\-\_\-data, }
\item[{double}]{timeout}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Object__Mapper_gac51c7e49b47c7adffb3bc4020a156295}


Send a message. 


\begin{DoxyParams}{Parameters}
{\em obj} & the msg will be sent in connection to this object \\
\hline
{\em msg} & message that will be sent \\
\hline
{\em cb} & if msg is a method call a callback should be passed to be executed when a response arrives \\
\hline
{\em cb\-\_\-data} & data passed to callback \\
\hline
{\em timeout} & timeout in milliseconds, -\/1 to default internal value or E\-L\-D\-B\-U\-S\-\_\-\-T\-I\-M\-E\-O\-U\-T\-\_\-\-I\-N\-F\-I\-N\-I\-T\-E for no timeout \\
\hline
\end{DoxyParams}


References eina\-\_\-inlist\-\_\-append(), E\-I\-N\-A\-\_\-\-I\-N\-L\-I\-S\-T\-\_\-\-G\-E\-T, and eldbus\-\_\-pending\-\_\-free\-\_\-cb\-\_\-add().

\hypertarget{group__Eldbus__Object__Mapper_gafd35708e5748b5851c7041ddeaecf0fc}{\index{Object Mapper@{Object Mapper}!eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add@{eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add}}
\index{eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add@{eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add}!Object Mapper@{Object Mapper}}
\subsubsection[{eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eldbus\-\_\-\-Signal\-\_\-\-Handler}$\ast$ eldbus\-\_\-object\-\_\-signal\-\_\-handler\-\_\-add (
\begin{DoxyParamCaption}
\item[{{\bf Eldbus\-\_\-\-Object} $\ast$}]{obj, }
\item[{const char $\ast$}]{interface, }
\item[{const char $\ast$}]{member, }
\item[{Eldbus\-\_\-\-Signal\-\_\-\-Cb}]{cb, }
\item[{const void $\ast$}]{cb\-\_\-data}
\end{DoxyParamCaption}
)}}\label{group__Eldbus__Object__Mapper_gafd35708e5748b5851c7041ddeaecf0fc}


Add a signal handler. 


\begin{DoxyParams}{Parameters}
{\em obj} & where the signal is emitted \\
\hline
{\em interface} & of the signal \\
\hline
{\em member} & name of the signal \\
\hline
{\em cb} & callback that will be called when this signal is received \\
\hline
{\em cb\-\_\-data} & data that will be passed to callback \\
\hline
\end{DoxyParams}


References eina\-\_\-list\-\_\-append(), and eldbus\-\_\-signal\-\_\-handler\-\_\-free\-\_\-cb\-\_\-add().



Referenced by eldbus\-\_\-object\-\_\-event\-\_\-callback\-\_\-add().

