Scorum
Public Member Functions | Protected Member Functions | List of all members
scorum::chain::task< ContextType, ReentranceGuardType > Class Template Referenceabstract

#include <tasks_base.hpp>

Public Member Functions

virtual ~task ()
 
taskafter (task &impl)
 
taskbefore (task &impl)
 
void apply (ContextType &ctx)
 

Protected Member Functions

virtual void on_apply (ContextType &)=0
 

Detailed Description

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
class scorum::chain::task< ContextType, ReentranceGuardType >

Definition at line 37 of file tasks_base.hpp.

Constructor & Destructor Documentation

◆ ~task()

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
virtual scorum::chain::task< ContextType, ReentranceGuardType >::~task ( )
inlinevirtual

Definition at line 40 of file tasks_base.hpp.

Member Function Documentation

◆ after()

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
task& scorum::chain::task< ContextType, ReentranceGuardType >::after ( task< ContextType, ReentranceGuardType > &  impl)
inline

Definition at line 44 of file tasks_base.hpp.

◆ apply()

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
void scorum::chain::task< ContextType, ReentranceGuardType >::apply ( ContextType &  ctx)
inline

Definition at line 55 of file tasks_base.hpp.

◆ before()

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
task& scorum::chain::task< ContextType, ReentranceGuardType >::before ( task< ContextType, ReentranceGuardType > &  impl)
inline

Definition at line 49 of file tasks_base.hpp.

◆ on_apply()

template<typename ContextType = data_service_factory_i, typename ReentranceGuardType = dummy_reentrance_guard<ContextType>>
virtual void scorum::chain::task< ContextType, ReentranceGuardType >::on_apply ( ContextType &  )
protectedpure virtual

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