SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::kernel::context::RawContextFactory Class Reference

#include <ContextRaw.hpp>

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

Public Member Functions

 RawContextFactory ()
 
 ~RawContextFactory () override
 
Contextcreate_context (std::function< void()> code, void_pfn_smxprocess_t cleanup, 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
 

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

◆ RawContextFactory()

simgrid::kernel::context::RawContextFactory::RawContextFactory ( )

◆ ~RawContextFactory()

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

Member Function Documentation

◆ create_context()

Context * simgrid::kernel::context::RawContextFactory::create_context ( std::function< void()>  code,
void_pfn_smxprocess_t  cleanup,
smx_actor_t  process 
)
overridevirtual

◆ run_all()

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

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