SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <simix.hpp>
Public Member Functions | |
ContextFactory (std::string name) | |
virtual | ~ContextFactory () |
virtual Context * | create_context (std::function< void()> code, void_pfn_smxprocess_t cleanup, smx_process_t process)=0 |
virtual Context * | attach (void_pfn_smxprocess_t cleanup_func, smx_process_t process) |
Creates a context from the current context of execution. More... | |
virtual Context * | create_maestro (std::function< void()> code, smx_process_t process) |
virtual void | run_all ()=0 |
virtual Context * | self () |
std::string const & | name () const |
Protected Member Functions | |
template<class T , class... Args> | |
T * | new_context (Args &&...args) |
|
inline |
|
virtual |
|
pure virtual |
|
virtual |
Creates a context from the current context of execution.
This will not work on all implementation of ContextFactory
.
Reimplemented in simgrid::simix::ThreadContextFactory.
|
virtual |
Reimplemented in simgrid::simix::ThreadContextFactory.
|
pure virtual |
|
virtual |
Reimplemented in simgrid::simix::ThreadContextFactory.
|
inline |
|
inlineprotected |