gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::TapListener::Event Class Reference
Inheritance diagram for gem5::TapListener::Event:
gem5::PollEvent gem5::Serializable

Public Member Functions

 Event (TapListener *l, int fd, int e)
 
void process (int revent) override
 
- 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. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
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. 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)
 

Protected Attributes

TapListenerlistener
 
- 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. More...
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it. More...
 

Detailed Description

Definition at line 231 of file ethertap.cc.

Constructor & Destructor Documentation

◆ Event()

gem5::TapListener::Event::Event ( TapListener l,
int  fd,
int  e 
)
inline

Definition at line 237 of file ethertap.cc.

Member Function Documentation

◆ process()

void gem5::TapListener::Event::process ( int  revent)
inlineoverridevirtual

Implements gem5::PollEvent.

Definition at line 239 of file ethertap.cc.

References gem5::TapListener::accept(), and listener.

Member Data Documentation

◆ listener

TapListener* gem5::TapListener::Event::listener
protected

Definition at line 234 of file ethertap.cc.

Referenced by process().


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

Generated on Tue Sep 21 2021 12:28:14 for gem5 by doxygen 1.8.17