X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/74c54d770c8a3c775a801b64fdaa5b84843798c0..1f43204aab7e713e6f5afa1c817f779281bc0693:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index 8f0fd64f36..601cb74567 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -20,6 +20,7 @@ class Actor; using ActorPtr = boost::intrusive_ptr; XBT_PUBLIC void intrusive_ptr_release(Actor* actor); XBT_PUBLIC void intrusive_ptr_add_ref(Actor* actor); +class Barrier; class Comm; using CommPtr = boost::intrusive_ptr; XBT_PUBLIC void intrusive_ptr_release(Comm* c); @@ -121,9 +122,14 @@ namespace trace_mgr { class trace; class future_evt_set; } +namespace vm { +class VMModel; +class VirtualMachineImpl; +} // namespace vm } // namespace simgrid typedef simgrid::s4u::Actor s4u_Actor; +typedef simgrid::s4u::Barrier s4u_Barrier; typedef simgrid::s4u::Host s4u_Host; typedef simgrid::s4u::Link s4u_Link; typedef simgrid::s4u::File s4u_File; @@ -143,6 +149,7 @@ typedef simgrid::surf::StorageImpl* surf_storage_t; #else typedef struct s4u_Actor s4u_Actor; +typedef struct s4u_Barrier s4u_Barrier; typedef struct s4u_Host s4u_Host; typedef struct s4u_Link s4u_Link; typedef struct s4u_File s4u_File; @@ -160,6 +167,7 @@ typedef struct s_surf_storage* surf_storage_t; #endif +typedef s4u_Barrier* sg_bar_t; typedef s4u_NetZone* sg_netzone_t; typedef s4u_Host* sg_host_t; typedef s4u_Link* sg_link_t;