preCICE v3.2.0
Loading...
Searching...
No Matches
BoundM2N.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <string_view>
5
6#include "logging/Logger.hpp"
8
9namespace precice::m2n {
10
12class BoundM2N {
13public:
16
19
22
25
28
32 bool isRequesting = false;
33
34private:
35 mutable logging::Logger _log{"impl::ParticipantImpl"};
36
44};
45
46} // namespace precice::m2n
This class provides a lightweight logger.
Definition Logger.hpp:17
An M2N between participants with a configured direction.
Definition BoundM2N.hpp:12
void preConnectSecondaryRanks()
pre-connect the Secondary ranks of the M2N
Definition BoundM2N.cpp:52
std::string remoteName
Definition BoundM2N.hpp:31
void connectSecondaryRanks()
Connect the Secondary ranks of the M2N.
Definition BoundM2N.cpp:34
void connectPrimaryRanks(std::string_view configHash)
Connect the Primary Ranks of the M2N.
Definition BoundM2N.cpp:23
void cleanupEstablishment()
Cleanup after having established the connection.
Definition BoundM2N.cpp:70
void prepareEstablishment()
Prepare to establish the connection.
Definition BoundM2N.cpp:14
logging::Logger _log
Definition BoundM2N.hpp:35
std::string localName
Definition BoundM2N.hpp:30
contains the logic of the parallel communication between participants.
Definition BoundM2N.cpp:12
std::shared_ptr< M2N > PtrM2N