\hypertarget{structecore_1_1poller}{}\section{ecore\+:\+:poller Struct Reference}
\label{structecore_1_1poller}\index{ecore\+::poller@{ecore\+::poller}}


Class poller.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structecore_1_1poller_a8fa309e42a0eff9f81903746dd7878a5}{poller} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structecore_1_1poller_a7d181fbf4bcb9d7bf1e2d15461cfb012}{poller} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a0d5d53b50842084e9e0ad9867dc70eb7}{}\hyperlink{structecore_1_1poller_a0d5d53b50842084e9e0ad9867dc70eb7}{poller} (\hyperlink{structecore_1_1poller}{poller} const \&other)\label{structecore_1_1poller_a0d5d53b50842084e9e0ad9867dc70eb7}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
int \hyperlink{structecore_1_1poller_abd36cc50efbd4868b36de62413f07e58}{interval\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em Gets the polling interval rate of {\ttfamily poller}. \end{DoxyCompactList}\item 
bool \hyperlink{structecore_1_1poller_a4bbc741608834d8f84f0462127cc2912}{interval\+\_\+set} (int interval\+\_\+) const 
\begin{DoxyCompactList}\small\item\em Changes the polling interval rate of {\ttfamily poller}. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a5052599c981532e717edebec69bef44d}{}{\footnotesize template$<$typename F $>$ }\\\+::\hyperlink{structefl_1_1eo_1_1signal__connection}{efl\+::eo\+::signal\+\_\+connection} \hyperlink{structecore_1_1poller_a5052599c981532e717edebec69bef44d}{callback\+\_\+callback\+\_\+add\+\_\+add} (F \&\&callback\+\_\+,\+::efl\+::eo\+::callback\+\_\+priority priority\+\_\+=\+::efl\+::eo\+::callback\+\_\+priorities\+::default\+\_\+)\label{structecore_1_1poller_a5052599c981532e717edebec69bef44d}

\begin{DoxyCompactList}\small\item\em A callback was added. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a290cb1ba114f6be714ad6e027a6d9265}{}{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structecore_1_1poller_a290cb1ba114f6be714ad6e027a6d9265}{callback\+\_\+callback\+\_\+add\+\_\+call} (T $\ast$info)\label{structecore_1_1poller_a290cb1ba114f6be714ad6e027a6d9265}

\begin{DoxyCompactList}\small\item\em A callback was added. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a07a932ca82a7f8195ff89f25f3d7a9cb}{}{\footnotesize template$<$typename F $>$ }\\\+::\hyperlink{structefl_1_1eo_1_1signal__connection}{efl\+::eo\+::signal\+\_\+connection} \hyperlink{structecore_1_1poller_a07a932ca82a7f8195ff89f25f3d7a9cb}{callback\+\_\+callback\+\_\+del\+\_\+add} (F \&\&callback\+\_\+,\+::efl\+::eo\+::callback\+\_\+priority priority\+\_\+=\+::efl\+::eo\+::callback\+\_\+priorities\+::default\+\_\+)\label{structecore_1_1poller_a07a932ca82a7f8195ff89f25f3d7a9cb}

\begin{DoxyCompactList}\small\item\em A callback was deleted. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_ac0d60c7fc226cb488775671e2df3f8ec}{}{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structecore_1_1poller_ac0d60c7fc226cb488775671e2df3f8ec}{callback\+\_\+callback\+\_\+del\+\_\+call} (T $\ast$info)\label{structecore_1_1poller_ac0d60c7fc226cb488775671e2df3f8ec}

\begin{DoxyCompactList}\small\item\em A callback was deleted. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a85445b5b2590dd6cf5379046cd7d2f75}{}{\footnotesize template$<$typename F $>$ }\\\+::\hyperlink{structefl_1_1eo_1_1signal__connection}{efl\+::eo\+::signal\+\_\+connection} \hyperlink{structecore_1_1poller_a85445b5b2590dd6cf5379046cd7d2f75}{callback\+\_\+del\+\_\+add} (F \&\&callback\+\_\+,\+::efl\+::eo\+::callback\+\_\+priority priority\+\_\+=\+::efl\+::eo\+::callback\+\_\+priorities\+::default\+\_\+)\label{structecore_1_1poller_a85445b5b2590dd6cf5379046cd7d2f75}

\begin{DoxyCompactList}\small\item\em Obj is being deleted. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a79e91550ea948a4adc9d6c258c1ae1bb}{}{\footnotesize template$<$typename T $>$ }\\void \hyperlink{structecore_1_1poller_a79e91550ea948a4adc9d6c258c1ae1bb}{callback\+\_\+del\+\_\+call} (T $\ast$info)\label{structecore_1_1poller_a79e91550ea948a4adc9d6c258c1ae1bb}

\begin{DoxyCompactList}\small\item\em Obj is being deleted. \end{DoxyCompactList}\end{DoxyCompactItemize}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename F0 $>$ }\\\hyperlink{structecore_1_1poller_a5bff37eba4cfd9188346c21f05046d5f}{poller} (\+::\hyperlink{structefl_1_1eo_1_1parent__type}{efl\+::eo\+::parent\+\_\+type} \+\_\+p, \+\_\+c\+\_\+constructor$<$ F0 $>$ \+\_\+c0)
\begin{DoxyCompactList}\small\item\em Constructs a new \hyperlink{structecore_1_1poller}{ecore\+::poller} object. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a268f4716db2e7d4f4bd2d3feea1092c6}{}{\footnotesize template$<$typename F0 $>$ }\\{\bfseries poller} (\+\_\+c\+\_\+constructor$<$ F0 $>$ \+\_\+c0)\label{structecore_1_1poller_a268f4716db2e7d4f4bd2d3feea1092c6}

\end{DoxyCompactItemize}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename F\+\_\+func\+\_\+ $>$ }\\static \+\_\+c\+\_\+constructor$<$ F\+\_\+func\+\_\+ $>$ \hyperlink{structecore_1_1poller_a90273ccbdd39d07874966669c66a7f83}{constructor} (Ecore\+\_\+\+Poller\+\_\+\+Type type\+\_\+, int interval\+\_\+, F\+\_\+func\+\_\+ \&\&func\+\_\+)
\begin{DoxyCompactList}\small\item\em Constructor with parameters for Ecore Poller. \end{DoxyCompactList}\item 
\hypertarget{structecore_1_1poller_a1124fda262271fcf3297d17df2e3bb55}{}static \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} const $\ast$ {\bfseries \+\_\+eo\+\_\+class} ()\label{structecore_1_1poller_a1124fda262271fcf3297d17df2e3bb55}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Class poller. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{structecore_1_1poller_a5bff37eba4cfd9188346c21f05046d5f}{}\index{ecore\+::poller@{ecore\+::poller}!poller@{poller}}
\index{poller@{poller}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{poller}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename F0 $>$ ecore\+::poller\+::poller (
\begin{DoxyParamCaption}
\item[{\+::{\bf efl\+::eo\+::parent\+\_\+type}}]{\+\_\+p, }
\item[{\+\_\+c\+\_\+constructor$<$ F0 $>$}]{\+\_\+c0}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structecore_1_1poller_a5bff37eba4cfd9188346c21f05046d5f}


Constructs a new \hyperlink{structecore_1_1poller}{ecore\+::poller} object. 

Constructs a new \hyperlink{structecore_1_1poller}{ecore\+::poller} object. If you want this object to be a child of another Eo object, use an efl\+::eo\+::parent expression, like the example.

Since this class have a necessary constructor method, you must call it in the right place within this constructor parameters.

Example\+: 
\begin{DoxyCode}
\hyperlink{structecore_1_1poller}{ecore::poller} my\_poller(\hyperlink{group__Efl__Cxx__API_ga9a67daec890c873d3df9cf33b2ddd187}{efl::eo::parent} = parent\_object,
   my\_poller.constructor(type\_, interval\_, func\_));
\end{DoxyCode}


\begin{DoxySeeAlso}{See also}
\hyperlink{structecore_1_1poller_a90273ccbdd39d07874966669c66a7f83}{poller\+::constructor} 

\hyperlink{structecore_1_1poller_a8fa309e42a0eff9f81903746dd7878a5}{poller(\+Eo$\ast$ eo)} 
\end{DoxySeeAlso}
\hypertarget{structecore_1_1poller_a8fa309e42a0eff9f81903746dd7878a5}{}\index{ecore\+::poller@{ecore\+::poller}!poller@{poller}}
\index{poller@{poller}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{poller}]{\setlength{\rightskip}{0pt plus 5cm}ecore\+::poller\+::poller (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structecore_1_1poller_a8fa309e42a0eff9f81903746dd7878a5}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\hypertarget{structecore_1_1poller_a7d181fbf4bcb9d7bf1e2d15461cfb012}{}\index{ecore\+::poller@{ecore\+::poller}!poller@{poller}}
\index{poller@{poller}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{poller}]{\setlength{\rightskip}{0pt plus 5cm}ecore\+::poller\+::poller (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}\label{structecore_1_1poller_a7d181fbf4bcb9d7bf1e2d15461cfb012}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. 

\subsection{Member Function Documentation}
\hypertarget{structecore_1_1poller_a90273ccbdd39d07874966669c66a7f83}{}\index{ecore\+::poller@{ecore\+::poller}!constructor@{constructor}}
\index{constructor@{constructor}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{constructor}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename F\+\_\+func\+\_\+ $>$ static \+\_\+c\+\_\+constructor$<$F\+\_\+func\+\_\+$>$ ecore\+::poller\+::constructor (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Poller\+\_\+\+Type}]{type\+\_\+, }
\item[{int}]{interval\+\_\+, }
\item[{F\+\_\+func\+\_\+ \&\&}]{func\+\_\+}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{structecore_1_1poller_a90273ccbdd39d07874966669c66a7f83}


Constructor with parameters for Ecore Poller. 


\begin{DoxyParams}{Parameters}
{\em type} & \\
\hline
{\em interval} & \\
\hline
{\em func} & \\
\hline
{\em data} & \\
\hline
\end{DoxyParams}
\hypertarget{structecore_1_1poller_abd36cc50efbd4868b36de62413f07e58}{}\index{ecore\+::poller@{ecore\+::poller}!interval\+\_\+get@{interval\+\_\+get}}
\index{interval\+\_\+get@{interval\+\_\+get}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{interval\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+::poller\+::interval\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{structecore_1_1poller_abd36cc50efbd4868b36de62413f07e58}


Gets the polling interval rate of {\ttfamily poller}. 

\begin{DoxyReturn}{Returns}
Returns the interval, in ticks, that {\ttfamily poller} polls at.
\end{DoxyReturn}
This returns a poller\textquotesingle{}s polling interval, or 0 on error.


\begin{DoxyParams}{Parameters}
{\em interval} & The tick interval to set; must be a power of 2 and $<$= 32768. \\
\hline
\end{DoxyParams}
\hypertarget{structecore_1_1poller_a4bbc741608834d8f84f0462127cc2912}{}\index{ecore\+::poller@{ecore\+::poller}!interval\+\_\+set@{interval\+\_\+set}}
\index{interval\+\_\+set@{interval\+\_\+set}!ecore\+::poller@{ecore\+::poller}}
\subsubsection[{interval\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}bool ecore\+::poller\+::interval\+\_\+set (
\begin{DoxyParamCaption}
\item[{int}]{interval\+\_\+}
\end{DoxyParamCaption}
) const}\label{structecore_1_1poller_a4bbc741608834d8f84f0462127cc2912}


Changes the polling interval rate of {\ttfamily poller}. 

\begin{DoxyReturn}{Returns}
Returns true on success, false on failure.
\end{DoxyReturn}
This allows the changing of a poller\textquotesingle{}s polling interval. It is useful when you want to alter a poll rate without deleting and re-\/creating a poller.


\begin{DoxyParams}{Parameters}
{\em interval} & The tick interval to set; must be a power of 2 and $<$= 32768. \\
\hline
\end{DoxyParams}
