gem5 v24.1.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
gem5::ListenSocketConfig Class Reference

#include <socket.hh>

Public Types

using Builder = std::function< ListenSocketPtr(const std::string &name)>
 

Public Member Functions

 ListenSocketConfig ()
 
 ListenSocketConfig (Builder _builder)
 
ListenSocketPtr build (const std::string &name) const
 
 operator bool () const
 

Static Public Member Functions

static bool parseIni (const std::string &value, ListenSocketConfig &retval)
 

Private Attributes

Builder builder
 

Detailed Description

Definition at line 114 of file socket.hh.

Member Typedef Documentation

◆ Builder

using gem5::ListenSocketConfig::Builder = std::function<ListenSocketPtr(const std::string &name)>

Definition at line 117 of file socket.hh.

Constructor & Destructor Documentation

◆ ListenSocketConfig() [1/2]

gem5::ListenSocketConfig::ListenSocketConfig ( )
inline

Definition at line 119 of file socket.hh.

◆ ListenSocketConfig() [2/2]

gem5::ListenSocketConfig::ListenSocketConfig ( Builder  _builder)
inline

Definition at line 120 of file socket.hh.

Member Function Documentation

◆ build()

ListenSocketPtr gem5::ListenSocketConfig::build ( const std::string &  name) const
inline

◆ operator bool()

gem5::ListenSocketConfig::operator bool ( ) const
inline

Definition at line 129 of file socket.hh.

References builder.

◆ parseIni()

bool gem5::ListenSocketConfig::parseIni ( const std::string &  value,
ListenSocketConfig retval 
)
static

Member Data Documentation

◆ builder

Builder gem5::ListenSocketConfig::builder
private

Definition at line 134 of file socket.hh.

Referenced by build(), and operator bool().


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

Generated on Mon Jan 13 2025 04:28:54 for gem5 by doxygen 1.9.8