preCICE v3.1.2
|
Reads the connection info for the given participant/rank information. More...
#include <ConnectionInfoPublisher.hpp>
Public Member Functions | |
ConnectionInfoReader (std::string_view acceptorName, std::string_view requesterName, std::string_view tag, int rank, std::string_view addressDirectory) noexcept | |
ConnectionInfoReader (std::string_view acceptorName, std::string_view requesterName, std::string_view tag, std::string_view addressDirectory) noexcept | |
std::string | read () const |
Reads the info from the connection info file. Will block, if the the file is not present. | |
Public Member Functions inherited from precice::com::ConnectionInfoPublisher | |
ConnectionInfoPublisher (std::string_view acceptorName, std::string_view requesterName, std::string_view tag, int rank, std::string_view addressDirectory) noexcept | |
ConnectionInfoPublisher (std::string_view acceptorName, std::string_view requesterName, std::string_view tag, std::string_view addressDirectory) noexcept | |
Additional Inherited Members | |
Protected Member Functions inherited from precice::com::ConnectionInfoPublisher | |
std::string | getLocalDirectory () const |
Returns the local directory which is used to store the hashed part. | |
std::string | getFilename () const |
Returns the full path to the hashed filename. | |
Protected Attributes inherited from precice::com::ConnectionInfoPublisher | |
std::string const | acceptorName |
std::string const | requesterName |
std::string const | tag |
int const | rank = -1 |
std::string const | addressDirectory |
logging::Logger | _log {"com::ConnectionInfoPublisher"} |
Reads the connection info for the given participant/rank information.
Definition at line 68 of file ConnectionInfoPublisher.hpp.
|
inlinenoexcept |
Definition at line 70 of file ConnectionInfoPublisher.hpp.
|
inlinenoexcept |
Definition at line 79 of file ConnectionInfoPublisher.hpp.
std::string precice::com::ConnectionInfoReader::read | ( | ) | const |
Reads the info from the connection info file. Will block, if the the file is not present.
Definition at line 72 of file ConnectionInfoPublisher.cpp.