1#ifndef NNGN_OS_SOCKET_H
2#define NNGN_OS_SOCKET_H
8#include "timing/profile.h"
28 std::string
path = {};
31 bool recv(std::string *buffer);
49 f(std::string_view{buffer});
lock(const lock &)=delete
lock(const lock &&)=delete
std::string m_path
Definition: socket.h:15
lock & operator=(const lock &&)=delete
lock & operator=(const lock &)=delete
bool path(std::string_view path)
lock m_lock
Definition: socket.h:25
Socket & operator=(const Socket &)=delete
bool recv(std::string *buffer)
Socket & operator=(const Socket &&)=delete
Socket(const Socket &)=delete
std::vector< std::byte > poll_data
Definition: socket.h:27
std::string path
Definition: socket.h:28
Socket(const Socket &&)=delete
bool init(std::string_view path)
bool process(std::string *buffer)
#define NNGN_PROFILE_CONTEXT(p)
Definition: profile.h:18
std::chrono::duration< float, typename T::period > fd
Definition: timing.cpp:8
#define F(...)
Definition: pp.cpp:12