Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / include / simgrid / s4u / forward.hpp
1 /* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_S4U_FORWARD_HPP
7 #define SIMGRID_S4U_FORWARD_HPP
8
9 #include <boost/intrusive_ptr.hpp>
10 #include <xbt/base.h>
11
12 namespace simgrid {
13 namespace s4u {
14
15 class Activity;
16 class Actor;
17 using ActorPtr = boost::intrusive_ptr<Actor>;
18 XBT_PUBLIC void intrusive_ptr_release(Actor* actor);
19 XBT_PUBLIC void intrusive_ptr_add_ref(Actor* actor);
20
21 class Comm;
22 using CommPtr = boost::intrusive_ptr<Comm>;
23 XBT_PUBLIC void intrusive_ptr_release(Comm* c);
24 XBT_PUBLIC void intrusive_ptr_add_ref(Comm* c);
25
26 class Engine;
27 class Exec;
28 using ExecPtr = boost::intrusive_ptr<Exec>;
29 XBT_PUBLIC void intrusive_ptr_release(Exec* e);
30 XBT_PUBLIC void intrusive_ptr_add_ref(Exec* e);
31
32 class Host;
33 class Link;
34 class Mailbox;
35 using MailboxPtr = boost::intrusive_ptr<Mailbox>;
36 XBT_PUBLIC void intrusive_ptr_release(Mailbox* m);
37 XBT_PUBLIC void intrusive_ptr_add_ref(Mailbox* m);
38 class Mutex;
39 class NetZone;
40 class VirtualMachine;
41 class File;
42 class Storage;
43 }
44 }
45
46 #endif