Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the doc of S4U: s/process/actor/
[simgrid.git] / include / simgrid / s4u / forward.hpp
1 /* Copyright (c) 2016-2017. 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 Actor;
16 XBT_PUBLIC(void) intrusive_ptr_release(Actor* actor);
17 XBT_PUBLIC(void) intrusive_ptr_add_ref(Actor* actor);
18 using ActorPtr = boost::intrusive_ptr<Actor>;
19
20 class Activity;
21 class Comm;
22 using CommPtr = boost::intrusive_ptr<Comm>;
23 class Engine;
24 class Host;
25 class Link;
26 class Mailbox;
27 using MailboxPtr = boost::intrusive_ptr<Mailbox>;
28 class Mutex;
29 class NetZone;
30 class VirtualMachine;
31
32 class File;
33 class Storage;
34
35 XBT_PUBLIC(void) intrusive_ptr_release(Comm* c);
36 XBT_PUBLIC(void) intrusive_ptr_add_ref(Comm* c);
37 }
38 }
39
40 #endif