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

#include <SocketCommunicationFactory.hpp>

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

Public Member Functions

 SocketCommunicationFactory (unsigned short portNumber=0, bool reuseAddress=false, std::string networkName=utils::networking::loopbackInterfaceName(), std::string addressDirectory=".")
 
 SocketCommunicationFactory (std::string const &addressDirectory)
 
PtrCommunication newCommunication () override
 
std::string addressDirectory () override
 
- Public Member Functions inherited from precice::com::CommunicationFactory
virtual ~CommunicationFactory ()
 

Private Attributes

unsigned short _portNumber
 
bool _reuseAddress
 
std::string _networkName
 
std::string _addressDirectory
 

Detailed Description

Definition at line 11 of file SocketCommunicationFactory.hpp.

Constructor & Destructor Documentation

◆ SocketCommunicationFactory() [1/2]

precice::com::SocketCommunicationFactory::SocketCommunicationFactory ( unsigned short portNumber = 0,
bool reuseAddress = false,
std::string networkName = utils::networking::loopbackInterfaceName(),
std::string addressDirectory = "." )

Definition at line 10 of file SocketCommunicationFactory.cpp.

Here is the call graph for this function:

◆ SocketCommunicationFactory() [2/2]

precice::com::SocketCommunicationFactory::SocketCommunicationFactory ( std::string const & addressDirectory)
explicit

Definition at line 25 of file SocketCommunicationFactory.cpp.

Member Function Documentation

◆ addressDirectory()

std::string precice::com::SocketCommunicationFactory::addressDirectory ( )
overridevirtual

Reimplemented from precice::com::CommunicationFactory.

Definition at line 37 of file SocketCommunicationFactory.cpp.

◆ newCommunication()

PtrCommunication precice::com::SocketCommunicationFactory::newCommunication ( )
overridevirtual

Implements precice::com::CommunicationFactory.

Definition at line 31 of file SocketCommunicationFactory.cpp.

Member Data Documentation

◆ _addressDirectory

std::string precice::com::SocketCommunicationFactory::_addressDirectory
private

Definition at line 28 of file SocketCommunicationFactory.hpp.

◆ _networkName

std::string precice::com::SocketCommunicationFactory::_networkName
private

Definition at line 27 of file SocketCommunicationFactory.hpp.

◆ _portNumber

unsigned short precice::com::SocketCommunicationFactory::_portNumber
private

Definition at line 25 of file SocketCommunicationFactory.hpp.

◆ _reuseAddress

bool precice::com::SocketCommunicationFactory::_reuseAddress
private

Definition at line 26 of file SocketCommunicationFactory.hpp.


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