logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::Runable - A container for objects that can be queued against a runlist.

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                                 ost::Runable(3)

Constructor & Destructor Documentation

ost::Runable::Runable()[protected]virtualost::Runable::~Runable()[protected],[virtual]

Detailed Description

       A container for objects that can be queued against a runlist.

       Author
           David Sugar dyfet@ostel.com

       runable object with notify when ready.

Member Function Documentation

virtualvoidost::Runable::ready(void)[protected],[purevirtual]
       Method handler that is invoked when a wait-listed object becomes ready to run.

   boolost::Runable::starting(Runlist*list)
       Start the object against a run list.

       Returns
           true if immediately available to run.

       Parameterslist to start under.

   voidost::Runable::stoping(void)
       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.

Name

       ost::Runable - A container for objects that can be queued against a runlist.

Synopsis

       #include <misc.h>

   PublicMemberFunctions
       bool starting (Runlist *list)
           Start the object against a run list.
       void stoping (void)
           Stop the object, called when stopping or ready completes.

   ProtectedMemberFunctionsRunable ()
       virtual ~Runable ()
       virtual void ready (void)=0
           Method handler that is invoked when a wait-listed object becomes ready to run.

   Friends
       class Runlist

See Also