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

#include <ActorImpl.hpp>

Public Member Functions

 ActorImpl ()
 
 ~ActorImpl ()
 
const char * cname ()
 
simgrid::s4u::ActorPtr iface ()
 
simgrid::s4u::Actorciface ()
 
void daemonize ()
 This process will be terminated automatically when the last non-daemon process finishes. More...
 
bool isDaemon ()
 Whether this process is daemonized. More...
 

Public Attributes

s_xbt_swag_hookup_t process_hookup = { nullptr, nullptr }
 
s_xbt_swag_hookup_t synchro_hookup = { nullptr, nullptr }
 
s_xbt_swag_hookup_t host_proc_hookup = { nullptr, nullptr }
 
s_xbt_swag_hookup_t destroy_hookup = { nullptr, nullptr }
 
aid_t pid = 0
 
aid_t ppid = -1
 
simgrid::xbt::string name
 
s4u::Hosthost = nullptr
 
smx_context_t context = nullptr
 
std::exception_ptr exception
 
bool finished = false
 
bool blocked = false
 
bool suspended = false
 
bool auto_restart = false
 
sg_host_t new_host = nullptr
 
smx_activity_t waiting_synchro = nullptr
 
std::list< smx_activity_tcomms
 
xbt_dict_t properties = nullptr
 
s_smx_simcall_t simcall
 
voiddata = nullptr
 
std::vector< s_smx_process_exit_fun_ton_exit
 
std::function< void()> code
 
smx_timer_t kill_timer = nullptr
 
int segment_index = -1
 

Friends

void intrusive_ptr_add_ref (ActorImpl *process)
 
void intrusive_ptr_release (ActorImpl *process)
 

Constructor & Destructor Documentation

◆ ActorImpl()

simgrid::simix::ActorImpl::ActorImpl ( )
inline

◆ ~ActorImpl()

simgrid::simix::ActorImpl::~ActorImpl ( )

Member Function Documentation

◆ cname()

const char* simgrid::simix::ActorImpl::cname ( )
inline

◆ iface()

simgrid::s4u::ActorPtr simgrid::simix::ActorImpl::iface ( )
inline

◆ ciface()

simgrid::s4u::Actor* simgrid::simix::ActorImpl::ciface ( )
inline

◆ daemonize()

void simgrid::simix::ActorImpl::daemonize ( )

This process will be terminated automatically when the last non-daemon process finishes.

◆ isDaemon()

bool simgrid::simix::ActorImpl::isDaemon ( )

Whether this process is daemonized.

Friends And Related Function Documentation

◆ intrusive_ptr_add_ref

void intrusive_ptr_add_ref ( ActorImpl process)
friend

◆ intrusive_ptr_release

void intrusive_ptr_release ( ActorImpl process)
friend

Member Data Documentation

◆ process_hookup

s_xbt_swag_hookup_t simgrid::simix::ActorImpl::process_hookup = { nullptr, nullptr }

◆ synchro_hookup

s_xbt_swag_hookup_t simgrid::simix::ActorImpl::synchro_hookup = { nullptr, nullptr }

◆ host_proc_hookup

s_xbt_swag_hookup_t simgrid::simix::ActorImpl::host_proc_hookup = { nullptr, nullptr }

◆ destroy_hookup

s_xbt_swag_hookup_t simgrid::simix::ActorImpl::destroy_hookup = { nullptr, nullptr }

◆ pid

aid_t simgrid::simix::ActorImpl::pid = 0

◆ ppid

aid_t simgrid::simix::ActorImpl::ppid = -1

◆ name

simgrid::xbt::string simgrid::simix::ActorImpl::name

◆ host

s4u::Host* simgrid::simix::ActorImpl::host = nullptr

◆ context

smx_context_t simgrid::simix::ActorImpl::context = nullptr

◆ exception

std::exception_ptr simgrid::simix::ActorImpl::exception

◆ finished

bool simgrid::simix::ActorImpl::finished = false

◆ blocked

bool simgrid::simix::ActorImpl::blocked = false

◆ suspended

bool simgrid::simix::ActorImpl::suspended = false

◆ auto_restart

bool simgrid::simix::ActorImpl::auto_restart = false

◆ new_host

sg_host_t simgrid::simix::ActorImpl::new_host = nullptr

◆ waiting_synchro

smx_activity_t simgrid::simix::ActorImpl::waiting_synchro = nullptr

◆ comms

std::list<smx_activity_t> simgrid::simix::ActorImpl::comms

◆ properties

xbt_dict_t simgrid::simix::ActorImpl::properties = nullptr

◆ simcall

s_smx_simcall_t simgrid::simix::ActorImpl::simcall

◆ data

void* simgrid::simix::ActorImpl::data = nullptr

◆ on_exit

std::vector<s_smx_process_exit_fun_t> simgrid::simix::ActorImpl::on_exit

◆ code

std::function<void()> simgrid::simix::ActorImpl::code

◆ kill_timer

smx_timer_t simgrid::simix::ActorImpl::kill_timer = nullptr

◆ segment_index

int simgrid::simix::ActorImpl::segment_index = -1

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