transwarp
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | List of all members
transwarp::task< void > Class Template Referenceabstract

The task class (void result type) More...

#include <transwarp.h>

Inheritance diagram for transwarp::task< void >:
transwarp::itask transwarp::detail::task_impl_base< void, TaskType, Functor, ParentResults...> transwarp::detail::task_impl_proxy< void, TaskType, Functor, ParentResults...>

Public Types

using result_type = void
 

Public Member Functions

virtual void set_value ()=0
 
virtual const
std::shared_future
< result_type > & 
get_future () const noexcept=0
 
virtual result_type get () const =0
 
- Public Member Functions inherited from transwarp::itask
virtual void set_executor (std::shared_ptr< transwarp::executor > executor)=0
 
virtual void set_executor_all (std::shared_ptr< transwarp::executor > executor)=0
 
virtual void remove_executor ()=0
 
virtual void remove_executor_all ()=0
 
virtual void set_priority (std::size_t priority)=0
 
virtual void set_priority_all (std::size_t priority)=0
 
virtual void reset_priority ()=0
 
virtual void reset_priority_all ()=0
 
virtual void set_custom_data (std::shared_ptr< void > custom_data)=0
 
virtual void set_custom_data_all (std::shared_ptr< void > custom_data)=0
 
virtual void remove_custom_data ()=0
 
virtual void remove_custom_data_all ()=0
 
virtual const std::shared_ptr
< transwarp::node > & 
get_node () const noexcept=0
 
virtual void add_listener (std::shared_ptr< transwarp::listener > listener)=0
 
virtual void add_listener (transwarp::event_type event, std::shared_ptr< transwarp::listener > listener)=0
 
virtual void remove_listener (const std::shared_ptr< transwarp::listener > &listener)=0
 
virtual void remove_listener (transwarp::event_type event, const std::shared_ptr< transwarp::listener > &listener)=0
 
virtual void remove_listeners (transwarp::event_type event)=0
 
virtual void remove_listeners ()=0
 
virtual void schedule ()=0
 
virtual void schedule (transwarp::executor &executor)=0
 
virtual void schedule (bool reset)=0
 
virtual void schedule (transwarp::executor &executor, bool reset)=0
 
virtual void schedule_all ()=0
 
virtual void schedule_all (transwarp::executor &executor)=0
 
virtual void schedule_all (bool reset_all)=0
 
virtual void schedule_all (transwarp::executor &executor, bool reset_all)=0
 
virtual void schedule_all (transwarp::schedule_type type)=0
 
virtual void schedule_all (transwarp::executor &executor, transwarp::schedule_type type)=0
 
virtual void schedule_all (transwarp::schedule_type type, bool reset_all)=0
 
virtual void schedule_all (transwarp::executor &executor, transwarp::schedule_type type, bool reset_all)=0
 
virtual void set_exception (std::exception_ptr exception)=0
 
virtual bool was_scheduled () const noexcept=0
 
virtual void wait () const =0
 
virtual bool is_ready () const =0
 
virtual bool has_result () const =0
 
virtual void reset ()=0
 
virtual void reset_all ()=0
 
virtual void cancel (bool enabled) noexcept=0
 
virtual void cancel_all (bool enabled) noexcept=0
 
virtual std::vector
< transwarp::edge
get_graph () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from transwarp::itask
virtual void schedule_impl (bool reset, transwarp::executor *executor=nullptr)=0
 

Detailed Description

template<>
class transwarp::task< void >

The task class (void result type)


The documentation for this class was generated from the following file: