Scarab  v3.8.0
Project 8 C++ Utility Library
Classes | Namespaces | Functions
cancelable.hh File Reference
#include "macros.hh"
#include "scarab_api.hh"
#include <atomic>
#include <memory>
Include dependency graph for cancelable.hh:

Go to the source code of this file.

Classes

class  cancelable
 Base class for a cancelable object (i.e. an object that can be canceled by scarab::signal_handler or other client code) More...
 
struct  cancelable_wrapper
 Lightweight wrapper for a cancelable object only temporarily added to signal_handler. More...
 

Namespaces

 scarab
 

Functions

std::shared_ptr< cancelable_wrapper > wrap_cancelable (cancelable &a_cancelable)
 Convenience function to create a cancelable_wrapper. More...