wex  v21.04.0
Static Public Member Functions | List of all members
wex::interruptible Class Reference

Offers methods to start, stop things. More...

#include <wex/interruptible.h>

Inheritance diagram for wex::interruptible:
Inheritance graph
[legend]

Static Public Member Functions

static bool cancel ()
 Cancel interruptible process. More...
 
static bool is_cancelled ()
 Check whether process was cancelled.
 
static bool is_running ()
 Is process running.
 
static bool start ()
 Starts interruptible process. More...
 
static void stop ()
 Stops interruptible process.
 

Detailed Description

Offers methods to start, stop things.

Member Function Documentation

◆ cancel()

static bool wex::interruptible::cancel ( )
static

Cancel interruptible process.

Returns false if process was not running.

◆ start()

static bool wex::interruptible::start ( )
static

Starts interruptible process.

Returns false if process is already running.