plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::rt::detail::AtomicPayloadTraits< T > 模板结构体 参考

#include <ipc_channel.h>

Public 类型

using WordArray = std::array<std::uint64_t, WordCount>
using AtomicWordArray = std::array<std::atomic<std::uint64_t>, WordCount>

静态 Public 属性

static constexpr std::size_t WordSize = sizeof(std::uint64_t)
static constexpr std::size_t WordCount = sizeof(T) / WordSize

详细描述

template<typename T>
struct plcopen::core::rt::detail::AtomicPayloadTraits< T >

在文件 ipc_channel.h 第 35 行定义.

成员类型定义说明

◆ AtomicWordArray

template<typename T>
using plcopen::core::rt::detail::AtomicPayloadTraits< T >::AtomicWordArray = std::array<std::atomic<std::uint64_t>, WordCount>

在文件 ipc_channel.h 第 44 行定义.

◆ WordArray

template<typename T>
using plcopen::core::rt::detail::AtomicPayloadTraits< T >::WordArray = std::array<std::uint64_t, WordCount>

在文件 ipc_channel.h 第 43 行定义.

类成员变量说明

◆ WordCount

template<typename T>
std::size_t plcopen::core::rt::detail::AtomicPayloadTraits< T >::WordCount = sizeof(T) / WordSize
staticconstexpr

在文件 ipc_channel.h 第 42 行定义.

◆ WordSize

template<typename T>
std::size_t plcopen::core::rt::detail::AtomicPayloadTraits< T >::WordSize = sizeof(std::uint64_t)
staticconstexpr

在文件 ipc_channel.h 第 38 行定义.


该结构体的文档由以下文件生成: