gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
SocketFDEntry Class Reference

#include <fd_entry.hh>

Inheritance diagram for SocketFDEntry:
HBFDEntry FDEntry Serializable

Public Member Functions

 SocketFDEntry (int sim_fd, int domain, int type, int protocol, bool close_on_exec=false)
 SocketFDEntry (SocketFDEntry const &reg, bool close_on_exec=false)
std::shared_ptr< FDEntryclone () const override
- Public Member Functions inherited from HBFDEntry
 HBFDEntry (int flags, int sim_fd, bool close_on_exec=false)
 HBFDEntry (HBFDEntry const &reg, bool close_on_exec=false)
int getFlags () const
int getSimFD () const
void setFlags (int flags)
void setSimFD (int sim_fd)
- Public Member Functions inherited from FDEntry
 FDEntry (bool close_on_exec=false)
bool getCOE () const
void setCOE (bool close_on_exec)
virtual void serialize (CheckpointOut &cp) const
 Serialize an object. More...
virtual void unserialize (CheckpointIn &cp)
 Unserialize an object. More...
- Public Member Functions inherited from Serializable
 Serializable ()
virtual ~Serializable ()
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section. More...
void serializeSection (CheckpointOut &cp, const std::string &name) const
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object. More...
void unserializeSection (CheckpointIn &cp, const std::string &name)

Public Attributes

int _domain
int _type
int _protocol

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
static void serializeAll (const std::string &cpt_dir)
 Serializes all the SimObjects. More...
static void unserializeGlobals (CheckpointIn &cp)
- Protected Attributes inherited from HBFDEntry
int _flags
int _simFD
- Protected Attributes inherited from FDEntry
bool _closeOnExec

Detailed Description

Definition at line 222 of file fd_entry.hh.

Constructor & Destructor Documentation

◆ SocketFDEntry() [1/2]

SocketFDEntry::SocketFDEntry ( int  sim_fd,
int  domain,
int  type,
int  protocol,
bool  close_on_exec = false 

Definition at line 225 of file fd_entry.hh.

◆ SocketFDEntry() [2/2]

SocketFDEntry::SocketFDEntry ( SocketFDEntry const &  reg,
bool  close_on_exec = false 

Definition at line 231 of file fd_entry.hh.

Member Function Documentation

◆ clone()

std::shared_ptr<FDEntry> SocketFDEntry::clone ( ) const

Reimplemented from HBFDEntry.

Definition at line 237 of file fd_entry.hh.

Member Data Documentation

◆ _domain

int SocketFDEntry::_domain

Definition at line 242 of file fd_entry.hh.

◆ _protocol

int SocketFDEntry::_protocol

Definition at line 244 of file fd_entry.hh.

◆ _type

int SocketFDEntry::_type

Definition at line 243 of file fd_entry.hh.

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

Generated on Wed Sep 30 2020 14:02:32 for gem5 by doxygen 1.8.17