gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::VncServer::DataEvent Class Reference

DataEvent to read data from vnc. More...

#include <vncserver.hh>

Inheritance diagram for gem5::VncServer::DataEvent:
gem5::PollEvent gem5::Serializable

Public Member Functions

 DataEvent (VncServer *vs, int fd, int e)
 Poll event for the data socket.
void process (int revent)
Public Member Functions inherited from gem5::PollEvent
 PollEvent (int fd, int event)
virtual ~PollEvent ()
bool queued ()
void serialize (CheckpointOut &cp) const override
 Serialize an object.
void unserialize (CheckpointIn &cp) override
 Unserialize an object.
void disable ()
void enable ()
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)

Protected Attributes

VncServervncserver
Protected Attributes inherited from gem5::PollEvent
pollfd pfd
PollQueuequeue
bool enabled

Additional Inherited Members

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.

Detailed Description

DataEvent to read data from vnc.

Definition at line 167 of file vncserver.hh.

Constructor & Destructor Documentation

◆ DataEvent()

gem5::VncServer::DataEvent::DataEvent ( VncServer * vs,
int fd,
int e )

Poll event for the data socket.

Definition at line 101 of file vncserver.cc.

References gem5::ArmISA::e, gem5::ArmISA::fd, gem5::PollEvent::PollEvent(), gem5::VncServer::VncServer(), vncserver, and gem5::ArmISA::vs.

Member Function Documentation

◆ process()

void gem5::VncServer::DataEvent::process ( int revent)
virtual

Implements gem5::PollEvent.

Definition at line 107 of file vncserver.cc.

References vncserver.

Member Data Documentation

◆ vncserver

VncServer* gem5::VncServer::DataEvent::vncserver
protected

Definition at line 170 of file vncserver.hh.

Referenced by DataEvent(), and process().


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

Generated on Sat Oct 18 2025 08:06:55 for gem5 by doxygen 1.14.0