Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'public_smpi_func' into 'master'
[simgrid.git] / include / smpi / forward.hpp
1 /* Copyright (c) 2016-2021. 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 Colls;
17 class Comm;
18 class Datatype;
19 class Errhandler;
20 class File;
21 class Group;
22 class Info;
23 class Keyval;
24 class Op;
25 class ActorExt;
26 class Request;
27 class Status;
28 class Topo;
29 class Topo_Cart;
30 class Topo_Graph;
31 class Topo_Dist_Graph;
32 class Win;
33
34 }
35 }
36
37 using SMPI_Comm                = simgrid::smpi::Comm;
38 using SMPI_Datatype            = simgrid::smpi::Datatype;
39 using SMPI_Errhandler          = simgrid::smpi::Errhandler;
40 using SMPI_File                = simgrid::smpi::File;
41 using SMPI_Group               = simgrid::smpi::Group;
42 using SMPI_Info                = simgrid::smpi::Info;
43 using SMPI_Op                  = simgrid::smpi::Op;
44 using SMPI_Request             = simgrid::smpi::Request;
45 using SMPI_Topology            = simgrid::smpi::Topo;
46 using SMPI_Cart_topology       = simgrid::smpi::Topo_Cart;
47 using SMPI_Dist_Graph_topology = simgrid::smpi::Topo_Dist_Graph;
48 using SMPI_Graph_topology      = simgrid::smpi::Topo_Graph;
49 using SMPI_Win                 = simgrid::smpi::Win;
50
51 #else
52
53 typedef struct SMPI_Comm SMPI_Comm;
54 typedef struct SMPI_Datatype SMPI_Datatype;
55 typedef struct SMPI_Errhandler SMPI_Errhandler;
56 typedef struct SMPI_File SMPI_File;
57 typedef struct SMPI_Group SMPI_Group;
58 typedef struct SMPI_Info SMPI_Info;
59 typedef struct SMPI_Op SMPI_Op;
60 typedef struct SMPI_Request SMPI_Request;
61 typedef struct SMPI_Topology SMPI_Topology;
62 typedef struct SMPI_Win SMPI_Win;
63
64 #endif
65
66 #endif