\hypertarget{a00918}{\section{Open\+Flipper\+Job Class Reference}
\label{a00918}\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}}
}


Internal Job execution object.  




{\ttfamily \#include $<$Open\+Flipper/threads/\+Open\+Flipper\+Thread.\+hh$>$}

Inheritance diagram for Open\+Flipper\+Job\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00918}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00918_ab4bf28d6fe9ee6ff914d05617010b5f4}{start\+Job\+Processing} ()
\begin{DoxyCompactList}\small\item\em slot to start processing \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00918_a666296d8d514059802fbbc5df9cb098f}{process} (const Q\+String \+\_\+job\+Id=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em connection to actual processing function \end{DoxyCompactList}\item 
void \hyperlink{a00918_a3fe808e1dd0fe686dd123aaa5583c960}{finished} ()
\begin{DoxyCompactList}\small\item\em Job done. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00918_ad61d6830892ba94a8c6ed43d857b6bba}{{\bfseries Open\+Flipper\+Job} (const Q\+String \+\_\+job\+Id)}\label{a00918_ad61d6830892ba94a8c6ed43d857b6bba}

\item 
\hypertarget{a00918_a7a9e1773fbeade98a6e20ee07e8ecba3}{void \hyperlink{a00918_a7a9e1773fbeade98a6e20ee07e8ecba3}{job\+Id} (const Q\+String \&\+\_\+job\+Id)}\label{a00918_a7a9e1773fbeade98a6e20ee07e8ecba3}

\begin{DoxyCompactList}\small\item\em Set job's id. \end{DoxyCompactList}\item 
\hypertarget{a00918_a0ea6384747b7252925ee13087969f77d}{Q\+String \hyperlink{a00918_a0ea6384747b7252925ee13087969f77d}{job\+Id} () const }\label{a00918_a0ea6384747b7252925ee13087969f77d}

\begin{DoxyCompactList}\small\item\em Get job's id. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00918_a5c4de9300e87c182ebc5836b78445526}{Q\+String \hyperlink{a00918_a5c4de9300e87c182ebc5836b78445526}{job\+Id\+\_\+}}\label{a00918_a5c4de9300e87c182ebc5836b78445526}

\begin{DoxyCompactList}\small\item\em The job's id. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Internal Job execution object. 

This class is used to start a process within a thread. The thread object itself lives in the event queue of the object that created the thread. So every signal or slot within the Q\+Thread object will be dispatched in the core event loop and therefore lock the gui. Objects created in the Q\+Thread will run in the threads event queue as well as their signals and slots. So Q\+Thread uses this object to actually run arbitrary threads inside the threads event queue.

See \hyperlink{processInterfacePage}{Process Interface} for details. 

Definition at line 249 of file Open\+Flipper\+Thread.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00918_a3fe808e1dd0fe686dd123aaa5583c960}{\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}!finished@{finished}}
\index{finished@{finished}!Open\+Flipper\+Job@{Open\+Flipper\+Job}}
\subsubsection[{finished}]{\setlength{\rightskip}{0pt plus 5cm}void Open\+Flipper\+Job\+::finished (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [signal]}}}\label{a00918_a3fe808e1dd0fe686dd123aaa5583c960}


Job done. 

This signal is emitted, when the job has finished \hypertarget{a00918_a666296d8d514059802fbbc5df9cb098f}{\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}!process@{process}}
\index{process@{process}!Open\+Flipper\+Job@{Open\+Flipper\+Job}}
\subsubsection[{process}]{\setlength{\rightskip}{0pt plus 5cm}void Open\+Flipper\+Job\+::process (
\begin{DoxyParamCaption}
\item[{const Q\+String}]{\+\_\+job\+Id = {\ttfamily \char`\"{}\char`\"{}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [signal]}}}\label{a00918_a666296d8d514059802fbbc5df9cb098f}


connection to actual processing function 

This signal has to be connected via a Qt\+::\+Direct\+Connection to an arbitrary slot. This slot will be executed in the local event queue. If this object is created in a Q\+Thread, than the slot will be run inside this thread. \hypertarget{a00918_ab4bf28d6fe9ee6ff914d05617010b5f4}{\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}!start\+Job\+Processing@{start\+Job\+Processing}}
\index{start\+Job\+Processing@{start\+Job\+Processing}!Open\+Flipper\+Job@{Open\+Flipper\+Job}}
\subsubsection[{start\+Job\+Processing}]{\setlength{\rightskip}{0pt plus 5cm}void Open\+Flipper\+Job\+::start\+Job\+Processing (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00918_ab4bf28d6fe9ee6ff914d05617010b5f4}


slot to start processing 

If this slot is called, the slot connected to \hyperlink{a00918_a666296d8d514059802fbbc5df9cb098f}{process()} will be executed in the current thread. 

Definition at line 131 of file Open\+Flipper\+Thread.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/threads/Open\+Flipper\+Thread.\+hh\item 
Open\+Flipper/threads/Open\+Flipper\+Thread.\+cc\end{DoxyCompactItemize}
