SimGrid  3.16
Versatile Simulation of Distributed Systems
simgrid::kernel::context::BoostContextFactory Class Reference

#include <ContextBoost.hpp>

Inheritance diagram for simgrid::kernel::context::BoostContextFactory:
simgrid::kernel::context::ContextFactory

Public Member Functions

 BoostContextFactory ()
 
 ~BoostContextFactory () override
 
Contextcreate_context (std::function< void()> code, void_pfn_smxprocess_t, smx_actor_t process) override
 
void run_all () override
 
- Public Member Functions inherited from simgrid::kernel::context::ContextFactory
 ContextFactory (std::string name)
 
virtual ~ContextFactory ()
 
virtual Contextattach (void_pfn_smxprocess_t cleanup_func, smx_actor_t process)
 Creates a context from the current context of execution. More...
 
virtual Contextcreate_maestro (std::function< void()> code, smx_actor_t process)
 
virtual Contextself ()
 
std::string const & name () const
 

Public Attributes

friend BoostContext
 
friend BoostSerialContext
 
friend BoostParallelContext
 

Additional Inherited Members

- Protected Member Functions inherited from simgrid::kernel::context::ContextFactory
template<class T , class... Args>
T * new_context (Args &&... args)
 

Constructor & Destructor Documentation

◆ BoostContextFactory()

simgrid::kernel::context::BoostContextFactory::BoostContextFactory ( )

◆ ~BoostContextFactory()

simgrid::kernel::context::BoostContextFactory::~BoostContextFactory ( )
override

Member Function Documentation

◆ create_context()

smx_context_t simgrid::kernel::context::BoostContextFactory::create_context ( std::function< void()>  code,
void_pfn_smxprocess_t  cleanup_func,
smx_actor_t  process 
)
overridevirtual

◆ run_all()

void simgrid::kernel::context::BoostContextFactory::run_all ( )
overridevirtual

Member Data Documentation

◆ BoostContext

friend simgrid::kernel::context::BoostContextFactory::BoostContext

◆ BoostSerialContext

friend simgrid::kernel::context::BoostContextFactory::BoostSerialContext

◆ BoostParallelContext

friend simgrid::kernel::context::BoostContextFactory::BoostParallelContext

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