- std::vector<ActorInformation>& actors();
- std::vector<ActorInformation>& dead_actors();
-
- /** Get a local description of a remote SIMIX actor */
- ActorInformation* resolve_actor_info(RemotePtr<kernel::actor::ActorImpl> actor)
- {
- xbt_assert(mc_model_checker != nullptr);
- if (not actor)
- return nullptr;
- this->refresh_simix();
- for (auto& actor_info : this->smx_actors_infos)
- if (actor_info.address == actor)
- return &actor_info;
- for (auto& actor_info : this->smx_dead_actors_infos)
- if (actor_info.address == actor)
- return &actor_info;
- return nullptr;
- }
-
- /** Get a local copy of the SIMIX actor structure */
- kernel::actor::ActorImpl* resolve_actor(RemotePtr<kernel::actor::ActorImpl> process)
- {
- ActorInformation* actor_info = this->resolve_actor_info(process);
- if (actor_info)
- return actor_info->copy.get_buffer();
- else
- return nullptr;
- }
-