ost::Runable(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– ost::Runable β€” the manual page, but make it make sense πŸ’–

okay bestie, gather round, because we're talking about ost::Runable from the GNU CommonC++ library functions manual, and honestly? it's giving quietly essential. no cap. ✨


🌸 NAME 🌸

ost::Runable β€” a container for objects that can be queued against a runlist.

like… it's the little box your object lives in while it waits its turn. iconic behavior fr fr. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <misc.h>

✨ Public Member Functions ✨

  • bool starting (Runlist *list) β€” start the object against a run list. πŸš€
  • void stoping (void) β€” stop the object, called when stopping or ready completes.

πŸ”’ Protected Member Functions πŸ”’

  • Runable ()
  • virtual ~Runable ()
  • virtual void ready (void)=0 β€” the method handler that gets invoked when a wait-listed object becomes ready to run. (yes, the =0 is there, she's pure virtual and she knows it πŸ’…)

🫢 Friends 🫢

  • class Runlist

🌈 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.

that's the whole vibe, honestly β€” you sit in the runlist, and when your moment comes, you get notified. main character energy only. πŸ‘‘


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

ost::Runable::Runable () [protected]

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


⭐ Member Function Documentation ⭐

virtual void ost::Runable::ready (void) [protected], [pure virtual]

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

bool ost::Runable::starting (Runlist * list)

Start the object against a run list.

Returns: true if immediately available to run.

Parameters: list to start under.

void ost::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.

heads up bestie: yes, it's spelled stoping with one p. do NOT "fix" it, that's literally the function name. copy it exactly or the compiler will simply pass away. πŸ’€

friend class Runlist [friend]


πŸ‘‘ Author πŸ‘‘

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


and that's the whole page, bestie 🫢 this one came from the GNU CommonC++ crew, dated Sun Dec 27 2020, and it's page ost::Runable(3) in the manual β€” slay, go queue something. πŸŒΈβœ¨πŸ’…

πŸ“¦ where this page comes from