Creating a constant view from an existing buffer 更多...
#include <BufferView.h>
Public 类型 | |
Member types | |
using | value_type = unsigned char |
using | size_type = uint32_t |
using | const_iterator = const value_type * |
Public 成员函数 | |
Data access | |
const value_type & | operator[] (size_t i) const |
Access the byte at position i. | |
const value_type * | data () const noexcept |
Direct access to the allocated memory or nullptr if no memory is allocated. | |
boost::asio::const_buffer | cbuffer () const noexcept |
Make a boost::asio::buffer from this buffer. | |
boost::asio::const_buffer | buffer () const noexcept |
Make a boost::asio::buffer from this buffer. | |
Iterators | |
const Buffer | _buffer |
const_iterator | cbegin () const noexcept |
const_iterator | begin () const noexcept |
const_iterator | cend () const noexcept |
const_iterator | end () const noexcept |
Construction and destruction | |
BufferView ()=delete | |
BufferView (const BufferView &)=delete | |
static std::shared_ptr< BufferView > | CreateFrom (Buffer &&buffer) |
BufferView (Buffer &&rhs) noexcept | |
Capacity | |
bool | empty () const noexcept |
size_type | size () const noexcept |
size_type | capacity () const noexcept |
static constexpr size_type | max_size () noexcept |
Creating a constant view from an existing buffer
在文件 BufferView.h 第 32 行定义.
using carla::BufferView::const_iterator = const value_type * |
在文件 BufferView.h 第 43 行定义.
using carla::BufferView::size_type = uint32_t |
在文件 BufferView.h 第 42 行定义.
using carla::BufferView::value_type = unsigned char |
在文件 BufferView.h 第 41 行定义.
|
delete |
|
delete |
|
inlineprivatenoexcept |
在文件 BufferView.h 第 62 行定义.
|
inlinenoexcept |
|
inlinenoexcept |
Make a boost::asio::buffer from this buffer.
在文件 BufferView.h 第 94 行定义.
引用了 cbuffer().
被这些函数引用 CreateFrom().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Make a boost::asio::buffer from this buffer.
在文件 BufferView.h 第 89 行定义.
引用了 _buffer, carla::Buffer::data() , 以及 carla::Buffer::size().
被这些函数引用 buffer().
|
inlinenoexcept |
|
inlinestatic |
在文件 BufferView.h 第 56 行定义.
引用了 buffer() , 以及 BufferView().
被这些函数引用 make_special_message(), ADVSCamera::PostPhysTick(), FAsyncDataStreamTmpl< T >::Send(), FPixelReader::SendPixelsInRenderThread(), FAsyncDataStreamTmpl< T >::SerializeAndSend(), TEST(), TEST(), TEST(), TEST(), TEST(), carla::multigpu::Secondary::Write(), carla::multigpu::Router::Write(), carla::multigpu::Router::WriteToNext() , 以及 carla::multigpu::Router::WriteToOne().
|
inlinenoexcept |
Direct access to the allocated memory or nullptr if no memory is allocated.
在文件 BufferView.h 第 80 行定义.
引用了 _buffer , 以及 carla::Buffer::data().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |
在文件 BufferView.h 第 114 行定义.
|
inline |
Access the byte at position i.
在文件 BufferView.h 第 74 行定义.
引用了 _buffer , 以及 carla::Buffer::data().
|
inlinenoexcept |
|
private |
在文件 BufferView.h 第 148 行定义.
被这些函数引用 begin(), capacity(), cbegin(), cbuffer(), cend(), data(), empty(), end(), operator[]() , 以及 size().