Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get sg_instr_new_router through a signal
[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 using ActorPtr = boost::intrusive_ptr<Actor>;
17
18 class Activity;
19 class Comm;
20 using CommPtr = boost::intrusive_ptr<Comm>;
21 class Engine;
22 class Host;
23 class Link;
24 class Mailbox;
25 using MailboxPtr = boost::intrusive_ptr<Mailbox>;
26 class Mutex;
27 class NetZone;
28
29 class Storage;
30
31 XBT_PUBLIC(void) intrusive_ptr_release(Comm* c);
32 XBT_PUBLIC(void) intrusive_ptr_add_ref(Comm* c);
33 }
34 }
35
36 #endif