Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First works on the datatypes. Still missing a lot.
[simgrid.git] / include / smpi / forward.hpp
1 /* Copyright (c) 2016. 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_SMPI_FORWARD_HPP
7 #define SIMGRID_SMPI_FORWARD_HPP
8
9
10 #ifdef __cplusplus
11
12 #include <boost/intrusive_ptr.hpp>
13 namespace simgrid {
14 namespace smpi {
15
16 class Comm;
17 class Datatype;
18 class Group;
19 class Op;
20 class Request;
21 class Topo;
22 class Topo_Cart;
23 class Topo_Graph;
24 class Topo_Dist_Graph;
25 class Win;
26
27
28
29 }
30 }
31
32 typedef simgrid::smpi::Comm SMPI_Comm;
33 typedef simgrid::smpi::Datatype SMPI_Datatype;
34 typedef simgrid::smpi::Group SMPI_Group;
35 typedef simgrid::smpi::Op SMPI_Op;
36 typedef simgrid::smpi::Request SMPI_Request;
37 typedef simgrid::smpi::Topo SMPI_Topology;
38 typedef simgrid::smpi::Topo_Cart SMPI_Cart_topology;
39 typedef simgrid::smpi::Topo_Dist_Graph SMPI_Dist_Graph_topology;
40 typedef simgrid::smpi::Topo_Graph SMPI_Graph_topology;
41 typedef simgrid::smpi::Win SMPI_Win;
42
43 #else
44
45 typedef struct SMPI_Comm SMPI_Comm;
46 typedef struct SMPI_Datatype SMPI_Datatype;
47 typedef struct SMPI_Group SMPI_Group;
48 typedef struct SMPI_Op SMPI_Op;
49 typedef struct SMPI_Request SMPI_Request;
50 typedef struct SMPI_Topology SMPI_Topology;
51 typedef struct SMPI_Win SMPI_Win;
52 typedef struct SMPI_Graph_topology SMPI_Graph_topology;
53 typedef struct SMPI_Cart_topology SMPI_Cart_topology;
54 typedef struct SMPI_Dist_Graph_topology SMPI_Dist_Graph_topology;
55
56 #endif
57
58 #endif