Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 733

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

\section{ost::Runable Class Reference}
\label{classost_1_1_runable}\index{ost::Runable@{ost::Runable}}
A container for objects that can be queued against a runlist.runable object with notify when ready.  


{\tt \#include $<$misc.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf starting} ({\bf Runlist} $\ast$list)
\begin{CompactList}\small\item\em Start the object against a run list. \item\end{CompactList}\item 
void {\bf stoping} (void)
\begin{CompactList}\small\item\em Stop the object, called when stopping or ready completes. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf Runable} ()
\item 
virtual {\bf $\sim$Runable} ()
\item 
virtual void {\bf ready} (void)=0
\begin{CompactList}\small\item\em Method handler that is invoked when a wait-listed object becomes ready to run. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class \_\-\_\-EXPORT {\bf Runlist}
\end{CompactItemize}


\subsection{Detailed Description}
A container for objects that can be queued against a runlist.runable object with notify when ready. 

\begin{Desc}
\item[Author:]David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ost::Runable@{ost::Runable}!Runable@{Runable}}
\index{Runable@{Runable}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::Runable::Runable ()\hspace{0.3cm}{\tt  [protected]}}\label{classost_1_1_runable_c0621e778853b90f2675eee8c0b0f71f}


\index{ost::Runable@{ost::Runable}!~Runable@{$\sim$Runable}}
\index{~Runable@{$\sim$Runable}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual ost::Runable::$\sim$Runable ()\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classost_1_1_runable_4b7babd1ac94658807797b2bbd4c261d}




\subsection{Member Function Documentation}
\index{ost::Runable@{ost::Runable}!ready@{ready}}
\index{ready@{ready}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void ost::Runable::ready (void)\hspace{0.3cm}{\tt  [protected, pure virtual]}}\label{classost_1_1_runable_a688f43efcca4a41a5f61eced310f27b}


Method handler that is invoked when a wait-listed object becomes ready to run. 

\index{ost::Runable@{ost::Runable}!starting@{starting}}
\index{starting@{starting}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool ost::Runable::starting ({\bf Runlist} $\ast$ {\em list})}\label{classost_1_1_runable_abc473eb135997a8708522e17433211f}


Start the object against a run list. 

\begin{Desc}
\item[Returns:]true if immediately available to run. \end{Desc}
\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em list}]to start under. \end{description}
\end{Desc}
\index{ost::Runable@{ost::Runable}!stoping@{stoping}}
\index{stoping@{stoping}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::Runable::stoping (void)}\label{classost_1_1_runable_cddf293eb7de735bf1f9c9015fdd80c5}


Stop the object, called when stopping or ready completes. 

May also be used for a task that has not yet started to remove it from the wait list. 

\subsection{Friends And Related Function Documentation}
\index{ost::Runable@{ost::Runable}!Runlist@{Runlist}}
\index{Runlist@{Runlist}!ost::Runable@{ost::Runable}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class \_\-\_\-EXPORT {\bf Runlist}\hspace{0.3cm}{\tt  [friend]}}\label{classost_1_1_runable_1a29d36422d89e8af835a47abaa7d672}




The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf misc.h}\end{CompactItemize}