gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::SocketFDEntry Class Reference

#include <fd_entry.hh>

Inheritance diagram for gem5::SocketFDEntry:
gem5::HBFDEntry gem5::FDEntry gem5::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 gem5::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 gem5::FDEntry
 FDEntry (bool close_on_exec=false)
 
bool getCOE () const
 
FDClass getClass () const
 
void setCOE (bool close_on_exec)
 
virtual void serialize (CheckpointOut &cp) const
 Serialize an object.
 
virtual void unserialize (CheckpointIn &cp)
 Unserialize an object.
 
- Public Member Functions inherited from gem5::Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section.
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object.
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 

Public Attributes

int _domain
 
int _type
 
int _protocol
 

Additional Inherited Members

- Public Types inherited from gem5::FDEntry
enum  FDClass {
  fd_base , fd_hb , fd_file , fd_pipe ,
  fd_device , fd_socket , fd_null
}
 
- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section.
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it.
 
- Protected Attributes inherited from gem5::HBFDEntry
int _flags
 
int _simFD
 
- Protected Attributes inherited from gem5::FDEntry
bool _closeOnExec
 
FDClass _class
 

Detailed Description

Definition at line 243 of file fd_entry.hh.

Constructor & Destructor Documentation

◆ SocketFDEntry() [1/2]

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

Definition at line 246 of file fd_entry.hh.

References gem5::FDEntry::_class, and gem5::FDEntry::fd_socket.

◆ SocketFDEntry() [2/2]

gem5::SocketFDEntry::SocketFDEntry ( SocketFDEntry const & reg,
bool close_on_exec = false )
inline

Definition at line 252 of file fd_entry.hh.

References gem5::FDEntry::_class, and gem5::FDEntry::fd_socket.

Member Function Documentation

◆ clone()

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

Reimplemented from gem5::HBFDEntry.

Definition at line 258 of file fd_entry.hh.

Member Data Documentation

◆ _domain

int gem5::SocketFDEntry::_domain

Definition at line 263 of file fd_entry.hh.

◆ _protocol

int gem5::SocketFDEntry::_protocol

Definition at line 265 of file fd_entry.hh.

◆ _type

int gem5::SocketFDEntry::_type

Definition at line 264 of file fd_entry.hh.


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

Generated on Tue Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0