28#ifndef __MEM_SHARED_MEMORY_SERVER_HH__
29#define __MEM_SHARED_MEMORY_SERVER_HH__
33#include <unordered_map>
37#include "params/SharedMemoryServer.hh"
63 const std::string&
name()
const;
76 void process(
int revent)
override;
83 void process(
int revent)
override;
91 std::unordered_map<int, std::unique_ptr<ClientSocketEvent>>
Abstract superclass for simulation objects.
SharedMemoryServer * shmServer
bool tryReadAll(void *buffer, size_t size)
BaseShmPollEvent(int fd, SharedMemoryServer *shm_server)
const std::string & name() const
void process(int revent) override
void process(int revent) override
SharedMemoryServer(const SharedMemoryServerParams ¶ms)
std::unique_ptr< ListenSocketEvent > listenSocketEvent
std::unordered_map< int, std::unique_ptr< ClientSocketEvent > > clientSocketEvents
const Params & params() const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::unique_ptr< ListenSocket > ListenSocketPtr