\hypertarget{a09820}{}\section{Open\+Flipper\+Job Class Reference}
\label{a09820}\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]{a09820}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a09820_ab4bf28d6fe9ee6ff914d05617010b5f4}{start\+Job\+Processing} ()
\begin{DoxyCompactList}\small\item\em slot to start processing \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a09820_a666296d8d514059802fbbc5df9cb098f}{process} (const Q\+String \+\_\+job\+Id=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em connection to actual processing function \end{DoxyCompactList}\item 
void \hyperlink{a09820_a3fe808e1dd0fe686dd123aaa5583c960}{finished} ()
\begin{DoxyCompactList}\small\item\em Job done. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09820_ad61d6830892ba94a8c6ed43d857b6bba}\label{a09820_ad61d6830892ba94a8c6ed43d857b6bba}} 
{\bfseries Open\+Flipper\+Job} (const Q\+String \+\_\+job\+Id)
\item 
\mbox{\Hypertarget{a09820_a7a9e1773fbeade98a6e20ee07e8ecba3}\label{a09820_a7a9e1773fbeade98a6e20ee07e8ecba3}} 
void \hyperlink{a09820_a7a9e1773fbeade98a6e20ee07e8ecba3}{job\+Id} (const Q\+String \&\+\_\+job\+Id)
\begin{DoxyCompactList}\small\item\em Set job\textquotesingle{}s id. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09820_ab60726589a459239b9dfccb10b4d3c13}\label{a09820_ab60726589a459239b9dfccb10b4d3c13}} 
Q\+String \hyperlink{a09820_ab60726589a459239b9dfccb10b4d3c13}{job\+Id} () const
\begin{DoxyCompactList}\small\item\em Get job\textquotesingle{}s id. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09820_a5c4de9300e87c182ebc5836b78445526}\label{a09820_a5c4de9300e87c182ebc5836b78445526}} 
Q\+String \hyperlink{a09820_a5c4de9300e87c182ebc5836b78445526}{job\+Id\+\_\+}
\begin{DoxyCompactList}\small\item\em The job\textquotesingle{}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 243 of file Open\+Flipper\+Thread.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a09820_a3fe808e1dd0fe686dd123aaa5583c960}\label{a09820_a3fe808e1dd0fe686dd123aaa5583c960}} 
\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}!finished@{finished}}
\index{finished@{finished}!Open\+Flipper\+Job@{Open\+Flipper\+Job}}
\subsubsection{\texorpdfstring{finished}{finished}}
{\footnotesize\ttfamily void Open\+Flipper\+Job\+::finished (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}



Job done. 

This signal is emitted, when the job has finished \mbox{\Hypertarget{a09820_a666296d8d514059802fbbc5df9cb098f}\label{a09820_a666296d8d514059802fbbc5df9cb098f}} 
\index{Open\+Flipper\+Job@{Open\+Flipper\+Job}!process@{process}}
\index{process@{process}!Open\+Flipper\+Job@{Open\+Flipper\+Job}}
\subsubsection{\texorpdfstring{process}{process}}
{\footnotesize\ttfamily void Open\+Flipper\+Job\+::process (\begin{DoxyParamCaption}\item[{const Q\+String}]{\+\_\+job\+Id = {\ttfamily \char`\"{}\char`\"{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [signal]}}



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. \mbox{\Hypertarget{a09820_ab4bf28d6fe9ee6ff914d05617010b5f4}\label{a09820_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{\texorpdfstring{start\+Job\+Processing}{startJobProcessing}}
{\footnotesize\ttfamily void Open\+Flipper\+Job\+::start\+Job\+Processing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



slot to start processing 

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

Definition at line 125 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}
