preCICE v3.1.1
Loading...
Searching...
No Matches
SocketCommunicationFactory.cpp
Go to the documentation of this file.
2#include <memory>
3#include <utility>
4
8
9namespace precice::com {
11 unsigned short portNumber,
12 bool reuseAddress,
13 std::string networkName,
14 std::string addressDirectory)
15 : _portNumber(portNumber),
16 _reuseAddress(reuseAddress),
17 _networkName(std::move(networkName)),
18 _addressDirectory(std::move(addressDirectory))
19{
22 }
23}
24
26 std::string const &addressDirectory)
27 : SocketCommunicationFactory(0, false, utils::networking::loopbackInterfaceName(), addressDirectory)
28{
29}
30
36
41} // namespace precice::com
SocketCommunicationFactory(unsigned short portNumber=0, bool reuseAddress=false, std::string networkName=utils::networking::loopbackInterfaceName(), std::string addressDirectory=".")
T empty(T... args)
contains the data communication abstraction layer.
STL namespace.