gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
VirtIO9PSocket::SocketDataEvent Class Reference
Inheritance diagram for VirtIO9PSocket::SocketDataEvent:
PollEvent Serializable

Public Member Functions

 SocketDataEvent (VirtIO9PSocket &_parent, int fd, int event)
virtual ~SocketDataEvent ()
void process (int revent)
- Public Member Functions inherited from PollEvent
 PollEvent (int fd, int event)
virtual ~PollEvent ()
bool queued ()
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
void disable ()
void enable ()
- 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)

Private Attributes


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 PollEvent
pollfd pfd
bool enabled

Detailed Description

Definition at line 364 of file fs9p.hh.

Constructor & Destructor Documentation

◆ SocketDataEvent()

VirtIO9PSocket::SocketDataEvent::SocketDataEvent ( VirtIO9PSocket _parent,
int  fd,
int  event 

Definition at line 367 of file fs9p.hh.

◆ ~SocketDataEvent()

virtual VirtIO9PSocket::SocketDataEvent::~SocketDataEvent ( )

Definition at line 370 of file fs9p.hh.

Member Function Documentation

◆ process()

void VirtIO9PSocket::SocketDataEvent::process ( int  revent)

Implements PollEvent.

Definition at line 568 of file

References parent, and VirtIO9PProxy::serverDataReady().

Member Data Documentation

◆ parent

VirtIO9PSocket& VirtIO9PSocket::SocketDataEvent::parent

Definition at line 375 of file fs9p.hh.

Referenced by process().

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

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