/workspaces/astro/sol3-sdk/cpp/sol3/core/shmem_buffer.h File Reference

Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/core/shmem_buffer.h File Reference
Space-ng SDK
shmem_buffer.h File Reference
#include "sol3/core/message_port.h"
#include "sol3/core/msg/buffer.h"
#include "sol3/core/msg/exchange_config.h"
#include <boost/asio/local/datagram_protocol.hpp>
#include <unistd.h>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  sol3::core::EndpointPort
 
struct  sol3::core::PortIdx
 
class  sol3::core::IBufferConst
 A view of an immutable shared-memory buffer. More...
 
class  sol3::core::IBufferMutable
 Mutable view of shared memory buffer. More...
 
class  sol3::core::IBufferExchange
 Interface for registering, discovering, and disposing shared buffers. More...
 
struct  std::hash< sol3::core::PortIdx >
 

Namespaces

 sol3
 
 sol3::core
 
 sol3::core::msg
 
 std
 

Typedefs

using sol3::core::Endpoint = boost::asio::local::datagram_protocol::endpoint
 

Functions

std::string sol3::core::msg::format_as (BufferInfo const &)
 These functions add support for fmt::format. More...
 
std::string sol3::core::msg::format_as (BufferFormat const &)
 
bool sol3::core::isGpu (msg::BufferFormat format)
 Returns true if the format is a GPU format (e.g. MIPI_RAW, YUV_NV12). More...
 
std::unique_ptr< IBufferMutable > sol3::core::makeShmemBuffer (BufferInfo const &info)
 Creates a mutable buffer, matching the BufferInfo. More...
 
std::unique_ptr< IBufferConst > sol3::core::importShmemBufferConst (BufferInfo const &info, int fd, Endpoint const &endpoint)