X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08ddd90ede6ae87880ab6aefe213001b224de841..38e43236966d7844577474360e1db66f194f9c19:/include/simgrid/forward.h?ds=sidebyside diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 392a3f8d2a..0b77f998c6 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -20,6 +20,10 @@ namespace context { class Context; class ContextFactory; } +namespace actor { +class ActorImpl; +using ActorImplPtr = boost::intrusive_ptr; +} // namespace actor namespace activity { class ActivityImpl; using ActivityImplPtr = boost::intrusive_ptr; @@ -63,8 +67,6 @@ class RouteCreationArgs; } } namespace simix { - class ActorImpl; - using ActorImplPtr = boost::intrusive_ptr; class Host; } @@ -90,19 +92,16 @@ typedef simgrid::s4u::NetZone s4u_NetZone; typedef simgrid::s4u::VirtualMachine s4u_VM; typedef boost::intrusive_ptr smx_activity_t; typedef simgrid::kernel::routing::NetPoint routing_NetPoint; -typedef simgrid::kernel::resource::Resource surf_Resource; typedef simgrid::trace_mgr::trace tmgr_Trace; typedef simgrid::kernel::context::Context* smx_context_t; -typedef simgrid::simix::ActorImpl* smx_actor_t; +typedef simgrid::kernel::actor::ActorImpl* smx_actor_t; typedef simgrid::kernel::activity::MutexImpl* smx_mutex_t; typedef simgrid::kernel::activity::MailboxImpl* smx_mailbox_t; typedef simgrid::surf::StorageImpl* surf_storage_t; -typedef simgrid::kernel::lmm::Element* lmm_element_t; typedef const simgrid::kernel::lmm::Element* const_lmm_element_t; typedef simgrid::kernel::lmm::ConstraintLight* lmm_constraint_light_t; -typedef simgrid::kernel::lmm::System* lmm_system_t; #else @@ -115,7 +114,6 @@ typedef struct s4u_NetZone s4u_NetZone; typedef struct s4u_VM s4u_VM; typedef struct kernel_Activity* smx_activity_t; typedef struct routing_NetPoint routing_NetPoint; -typedef struct surf_Resource surf_Resource; typedef struct Trace tmgr_Trace; typedef struct s_smx_context* smx_context_t; @@ -132,13 +130,12 @@ typedef s4u_Link* sg_link_t; typedef s4u_Storage* sg_storage_t; typedef s4u_File* sg_file_t; typedef s4u_VM* sg_vm_t; +typedef s4u_Actor* sg_actor_t; typedef routing_NetPoint* sg_netpoint_t; -typedef surf_Resource *sg_resource_t; typedef tmgr_Trace *tmgr_trace_t; /**< Opaque structure defining an availability trace */ -typedef struct s_smx_simcall s_smx_simcall_t; typedef struct s_smx_simcall* smx_simcall_t; typedef enum { // FIXME: move this to s4u::Link; make it an enum class