gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::memory::SharedMemoryServer::BaseShmPollEvent Class Reference
Inheritance diagram for gem5::memory::SharedMemoryServer::BaseShmPollEvent:
gem5::PollEvent gem5::Serializable gem5::memory::SharedMemoryServer::ClientSocketEvent gem5::memory::SharedMemoryServer::ListenSocketEvent

Public Member Functions

 BaseShmPollEvent (int fd, SharedMemoryServer *shm_server)
 
const std::string & name () const
 
- 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 ()
 
virtual void process (int revent)=0
 
- 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 Member Functions

bool tryReadAll (void *buffer, size_t size)
 

Protected Attributes

SharedMemoryServershmServer
 
std::string eventName
 
- 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

Definition at line 58 of file shared_memory_server.hh.

Constructor & Destructor Documentation

◆ BaseShmPollEvent()

gem5::memory::SharedMemoryServer::BaseShmPollEvent::BaseShmPollEvent ( int fd,
SharedMemoryServer * shm_server )

Definition at line 100 of file shared_memory_server.cc.

Member Function Documentation

◆ name()

const std::string & gem5::memory::SharedMemoryServer::BaseShmPollEvent::name ( ) const

Definition at line 108 of file shared_memory_server.cc.

◆ tryReadAll()

bool gem5::memory::SharedMemoryServer::BaseShmPollEvent::tryReadAll ( void * buffer,
size_t size )
protected

Definition at line 114 of file shared_memory_server.cc.

References gem5::Named::name(), gem5::ArmISA::offset, and warn.

Member Data Documentation

◆ eventName

std::string gem5::memory::SharedMemoryServer::BaseShmPollEvent::eventName
protected

Definition at line 69 of file shared_memory_server.hh.

◆ shmServer

SharedMemoryServer* gem5::memory::SharedMemoryServer::BaseShmPollEvent::shmServer
protected

Definition at line 68 of file shared_memory_server.hh.


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

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