| 1 |
// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root |
| 2 |
// SPDX-License-Identifier: LGPL-2.1-or-later |
| 3 |
#ifndef DUNE_UGGRID_PARALLEL_PPIF_PPIFTYPES_HH |
| 4 |
#define DUNE_UGGRID_PARALLEL_PPIF_PPIFTYPES_HH 1 |
| 5 |
|
| 6 |
#include <cstddef> |
| 7 |
|
| 8 |
namespace PPIF { |
| 9 |
|
| 10 |
/** |
| 11 |
* opaque type for communication channels |
| 12 |
*/ |
| 13 |
struct VChannel; |
| 14 |
|
| 15 |
using VChannelPtr = VChannel*; |
| 16 |
|
| 17 |
/** |
| 18 |
* opaque type for messages |
| 19 |
*/ |
| 20 |
struct Msg; |
| 21 |
|
| 22 |
using msgid = Msg*; |
| 23 |
|
| 24 |
constexpr static msgid NO_MSGID = nullptr; |
| 25 |
|
| 26 |
/** |
| 27 |
* indicate support for context objects in PPIF |
| 28 |
*/ |
| 29 |
#ifndef DUNE_UGGRID_HAVE_PPIFCONTEXT |
| 30 |
# define DUNE_UGGRID_HAVE_PPIFCONTEXT 1 |
| 31 |
#endif |
| 32 |
|
| 33 |
class PPIFContext; |
| 34 |
|
| 35 |
} /* namespace PPIF */ |
| 36 |
|
| 37 |
#endif |