preCICE v3.1.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
precice::com::ConnectionInfoReader Class Reference

Reads the connection info for the given participant/rank information. More...

#include <ConnectionInfoPublisher.hpp>

Inheritance diagram for precice::com::ConnectionInfoReader:
[legend]
Collaboration diagram for precice::com::ConnectionInfoReader:
[legend]

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"}
 

Detailed Description

Reads the connection info for the given participant/rank information.

Definition at line 68 of file ConnectionInfoPublisher.hpp.

Constructor & Destructor Documentation

◆ ConnectionInfoReader() [1/2]

precice::com::ConnectionInfoReader::ConnectionInfoReader ( std::string_view acceptorName,
std::string_view requesterName,
std::string_view tag,
int rank,
std::string_view addressDirectory )
inlinenoexcept

Definition at line 70 of file ConnectionInfoPublisher.hpp.

◆ ConnectionInfoReader() [2/2]

precice::com::ConnectionInfoReader::ConnectionInfoReader ( std::string_view acceptorName,
std::string_view requesterName,
std::string_view tag,
std::string_view addressDirectory )
inlinenoexcept

Definition at line 79 of file ConnectionInfoPublisher.hpp.

Member Function Documentation

◆ read()

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.

Here is the call graph for this function:

The documentation for this class was generated from the following files: