gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
BaseRemoteGDB::SocketEvent< F > Class Template Reference
Inheritance diagram for BaseRemoteGDB::SocketEvent< F >:
PollEvent Serializable

Public Member Functions

 SocketEvent (BaseRemoteGDB *gdb, int fd, int e)
 
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)
 

Protected Attributes

BaseRemoteGDBgdb
 
- Protected Attributes inherited from PollEvent
pollfd pfd
 
PollQueuequeue
 
bool enabled
 

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)
 

Detailed Description

template<void(BaseRemoteGDB::*)(int revent) F>
class BaseRemoteGDB::SocketEvent< F >

Definition at line 170 of file remote_gdb.hh.

Constructor & Destructor Documentation

◆ SocketEvent()

template<void(BaseRemoteGDB::*)(int revent) F>
BaseRemoteGDB::SocketEvent< F >::SocketEvent ( BaseRemoteGDB gdb,
int  fd,
int  e 
)
inline

Definition at line 176 of file remote_gdb.hh.

Member Function Documentation

◆ process()

template<void(BaseRemoteGDB::*)(int revent) F>
void BaseRemoteGDB::SocketEvent< F >::process ( int  revent)
inlinevirtual

Implements PollEvent.

Definition at line 180 of file remote_gdb.hh.

References BaseRemoteGDB::SocketEvent< F >::gdb.

Member Data Documentation

◆ gdb

template<void(BaseRemoteGDB::*)(int revent) F>
BaseRemoteGDB* BaseRemoteGDB::SocketEvent< F >::gdb
protected

Definition at line 173 of file remote_gdb.hh.

Referenced by BaseRemoteGDB::SocketEvent< F >::process().


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

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