SimGrid  3.16
Versatile Simulation of Distributed Systems
simgrid::simix::Host Class Reference

#include <smx_host_private.h>

Public Member Functions

 Host ()
 
virtual ~Host ()
 
void turnOn ()
 Re-starts all the actors that are marked as restartable. More...
 

Public Attributes

xbt_swag_t process_list
 
std::vector< ProcessArg * > auto_restart_processes
 
std::vector< ProcessArg * > boot_processes
 

Static Public Attributes

static simgrid::xbt::Extension< simgrid::s4u::Host, HostEXTENSION_ID
 

Constructor & Destructor Documentation

◆ Host()

simgrid::simix::Host::Host ( )
explicit

◆ ~Host()

simgrid::simix::Host::~Host ( )
virtual

Member Function Documentation

◆ turnOn()

void simgrid::simix::Host::turnOn ( )

Re-starts all the actors that are marked as restartable.

Weird things will happen if you turn on an host that is already on. S4U is fool-proof, not this.

Member Data Documentation

◆ EXTENSION_ID

simgrid::xbt::Extension< simgrid::s4u::Host, Host > simgrid::simix::Host::EXTENSION_ID
static

◆ process_list

xbt_swag_t simgrid::simix::Host::process_list

◆ auto_restart_processes

std::vector<ProcessArg*> simgrid::simix::Host::auto_restart_processes

◆ boot_processes

std::vector<ProcessArg*> simgrid::simix::Host::boot_processes

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