SimGrid  3.16
Versatile Simulation of Distributed Systems
simgrid::kernel::context::UContextFactory Class Reference
Inheritance diagram for simgrid::kernel::context::UContextFactory:
simgrid::kernel::context::ContextFactory

Public Member Functions

 UContextFactory ()
 
 ~UContextFactory () 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
 

Public Attributes

friend UContext
 
friend SerialUContext
 
friend ParallelUContext
 

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

◆ UContextFactory()

simgrid::kernel::context::UContextFactory::UContextFactory ( )

◆ ~UContextFactory()

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

Member Function Documentation

◆ create_context()

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

◆ run_all()

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

Member Data Documentation

◆ UContext

friend simgrid::kernel::context::UContextFactory::UContext

◆ SerialUContext

friend simgrid::kernel::context::UContextFactory::SerialUContext

◆ ParallelUContext

friend simgrid::kernel::context::UContextFactory::ParallelUContext

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