X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d4c47baed3b8ae7aac5e5bbdcd4bf11229b38d1..4f00ed8e7bb1267a9fb7a68b413f705c606068f5:/include/simgrid/s4u/forward.hpp diff --git a/include/simgrid/s4u/forward.hpp b/include/simgrid/s4u/forward.hpp index ec485ba5b3..627cb196c3 100644 --- a/include/simgrid/s4u/forward.hpp +++ b/include/simgrid/s4u/forward.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -12,27 +12,36 @@ namespace simgrid { namespace s4u { +class Activity; class Actor; -XBT_PUBLIC(void) intrusive_ptr_release(Actor* actor); -XBT_PUBLIC(void) intrusive_ptr_add_ref(Actor* actor); using ActorPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Actor* actor); +XBT_PUBLIC void intrusive_ptr_add_ref(Actor* actor); -class Activity; class Comm; using CommPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Comm* c); +XBT_PUBLIC void intrusive_ptr_add_ref(Comm* c); + class Engine; +class Exec; +using ExecPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Exec* e); +XBT_PUBLIC void intrusive_ptr_add_ref(Exec* e); + class Host; class Link; class Mailbox; using MailboxPtr = boost::intrusive_ptr; +XBT_PUBLIC void intrusive_ptr_release(Mailbox* m); +XBT_PUBLIC void intrusive_ptr_add_ref(Mailbox* m); class Mutex; +XBT_PUBLIC void intrusive_ptr_release(Mutex* m); +XBT_PUBLIC void intrusive_ptr_add_ref(Mutex* m); class NetZone; - +class VirtualMachine; class File; class Storage; - -XBT_PUBLIC(void) intrusive_ptr_release(Comm* c); -XBT_PUBLIC(void) intrusive_ptr_add_ref(Comm* c); } }