#include <rx-scheduler.hpp>
rxcpp::schedulers::schedulable::~schedulable |
( |
| ) |
|
|
inline |
rxcpp::schedulers::schedulable::schedulable |
( |
| ) |
|
|
inline |
rxcpp::schedulers::schedulable::schedulable |
( |
worker |
q, |
|
|
action |
a |
|
) |
| |
|
inline |
action and worker share lifetime
action and worker have independent lifetimes
template<class F >
auto rxcpp::schedulers::schedulable::add |
( |
F |
f | ) |
const -> typename std::enable_if<rxcpp::detail::is_unsubscribe_function<F>::value, weak_subscription>::type |
|
inline |
void rxcpp::schedulers::schedulable::clear |
( |
| ) |
const |
|
inline |
const action& rxcpp::schedulers::schedulable::get_action |
( |
| ) |
const |
|
inline |
action& rxcpp::schedulers::schedulable::get_action |
( |
| ) |
|
|
inline |
const worker rxcpp::schedulers::schedulable::get_worker |
( |
| ) |
const |
|
inline |
worker rxcpp::schedulers::schedulable::get_worker |
( |
| ) |
|
|
inline |
bool rxcpp::schedulers::schedulable::is_recursed |
( |
| ) |
const |
|
inline |
bool rxcpp::schedulers::schedulable::is_subscribed |
( |
| ) |
const |
|
inline |
clock_type::time_point rxcpp::schedulers::schedulable::now |
( |
| ) |
const |
|
inline |
void rxcpp::schedulers::schedulable::operator() |
( |
| ) |
const |
|
inline |
requests tail-recursion of the same action this will exit the process if called when is_recursed() is false. Note: to improve perf it is not required to call is_recursed() before calling this operator. Context is sufficient. The schedulable passed to the action by the scheduler will return true from is_recursed()
void rxcpp::schedulers::schedulable::operator() |
( |
const recurse & |
r | ) |
const |
|
inline |
void rxcpp::schedulers::schedulable::schedule |
( |
| ) |
const |
|
inline |
put this on the queue of the stored scheduler to run asap
void rxcpp::schedulers::schedulable::schedule |
( |
clock_type::time_point |
when | ) |
const |
|
inline |
put this on the queue of the stored scheduler to run at the specified time
void rxcpp::schedulers::schedulable::schedule |
( |
clock_type::duration |
when | ) |
const |
|
inline |
put this on the queue of the stored scheduler to run after a delay from now
auto rxcpp::schedulers::schedulable::set_recursed |
( |
const recurse & |
r | ) |
const -> decltype(recursed_scope.reset(r)) |
|
inline |
void rxcpp::schedulers::schedulable::unsubscribe |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: