Scorum
Public Member Functions | List of all members
scorum::chain::task_reentrance_guard_i< ContextType > Struct Template Referenceabstract

#include <tasks_base.hpp>

Inheritance diagram for scorum::chain::task_reentrance_guard_i< ContextType >:
scorum::chain::dummy_reentrance_guard< data_service_factory_i > scorum::chain::dummy_reentrance_guard< ContextType >

Public Member Functions

virtual ~task_reentrance_guard_i ()
 
virtual bool is_allowed (ContextType &ctx)=0
 
virtual void apply (ContextType &ctx)=0
 

Detailed Description

template<typename ContextType>
struct scorum::chain::task_reentrance_guard_i< ContextType >

Definition at line 11 of file tasks_base.hpp.

Constructor & Destructor Documentation

◆ ~task_reentrance_guard_i()

template<typename ContextType >
virtual scorum::chain::task_reentrance_guard_i< ContextType >::~task_reentrance_guard_i ( )
inlinevirtual

Definition at line 13 of file tasks_base.hpp.

Member Function Documentation

◆ apply()

template<typename ContextType >
virtual void scorum::chain::task_reentrance_guard_i< ContextType >::apply ( ContextType &  ctx)
pure virtual

◆ is_allowed()

template<typename ContextType >
virtual bool scorum::chain::task_reentrance_guard_i< ContextType >::is_allowed ( ContextType &  ctx)
pure virtual

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