Realistic 3D camera system
3D camera system components
|
The asio::buffer_copy function is used to copy bytes from a source buffer (or buffer sequence) to a target buffer (or buffer sequence). More...
Functions | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const const_buffer &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const const_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const mutable_buffer &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const mutable_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer. More... | |
template<typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const ConstBufferSequence &source) |
Copies bytes from a source buffer sequence to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const const_buffer &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const const_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const mutable_buffer &source) |
Copies bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const mutable_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer. More... | |
template<typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const ConstBufferSequence &source) |
Copies bytes from a source buffer sequence to a target buffer. More... | |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const const_buffer &source) |
Copies bytes from a source buffer to a target buffer sequence. More... | |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const const_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer sequence. More... | |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const mutable_buffer &source) |
Copies bytes from a source buffer to a target buffer sequence. More... | |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const mutable_buffers_1 &source) |
Copies bytes from a source buffer to a target buffer sequence. More... | |
template<typename MutableBufferSequence , typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const ConstBufferSequence &source) |
Copies bytes from a source buffer sequence to a target buffer sequence. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const const_buffer &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const const_buffers_1 &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const mutable_buffer &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const mutable_buffers_1 &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
template<typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const mutable_buffer &target, const ConstBufferSequence &source, std::size_t max_bytes_to_copy) |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const const_buffer &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const const_buffers_1 &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const mutable_buffer &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const mutable_buffers_1 &source, std::size_t max_bytes_to_copy) |
Copies a limited number of bytes from a source buffer to a target buffer. More... | |
template<typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const mutable_buffers_1 &target, const ConstBufferSequence &source, std::size_t max_bytes_to_copy) |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const const_buffer &source, std::size_t max_bytes_to_copy) |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const const_buffers_1 &source, std::size_t max_bytes_to_copy) |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const mutable_buffer &source, std::size_t max_bytes_to_copy) |
template<typename MutableBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const mutable_buffers_1 &source, std::size_t max_bytes_to_copy) |
template<typename MutableBufferSequence , typename ConstBufferSequence > | |
std::size_t | asio::buffer_copy (const MutableBufferSequence &target, const ConstBufferSequence &source, std::size_t max_bytes_to_copy) |
The asio::buffer_copy function is used to copy bytes from a source buffer (or buffer sequence) to a target buffer (or buffer sequence).
The buffer_copy
function is available in two forms:
buffer_copy(target, source)
buffer_copy(target, source, max_bytes_to_copy)
Both forms return the number of bytes actually copied. The number of bytes copied is the lesser of:
buffer_size(target)
buffer_size(source)
If
specified, max_bytes_to_copy
.This prevents buffer overflow, regardless of the buffer sizes used in the copy operation.
Note that asio::buffer_copy is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1295 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1325 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1351 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1377 of file buffer.hpp.
std::size_t asio::buffer_copy | ( | const mutable_buffer & | target, |
const ConstBufferSequence & | source | ||
) |
Copies bytes from a source buffer sequence to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1403 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1442 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1467 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1494 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1521 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer sequence to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1548 of file buffer.hpp.
std::size_t asio::buffer_copy | ( | const MutableBufferSequence & | target, |
const const_buffer & | source | ||
) |
Copies bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1574 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1614 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1641 of file buffer.hpp.
|
inline |
Copies bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1668 of file buffer.hpp.
std::size_t asio::buffer_copy | ( | const MutableBufferSequence & | target, |
const ConstBufferSequence & | source | ||
) |
Copies bytes from a source buffer sequence to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
buffer_size(target)
buffer_size(source)
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1694 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1761 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1790 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1820 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1850 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer sequence to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1881 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1910 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1939 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1969 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 1999 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer sequence to a target buffer.
target | A modifiable buffer representing the memory region to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2030 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2061 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer representing the memory region from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2092 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2124 of file buffer.hpp.
|
inline |
Copies a limited number of bytes from a source buffer to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A modifiable buffer representing the memory region from which the bytes will be copied. The contents of the source buffer will not be modified. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2156 of file buffer.hpp.
std::size_t asio::buffer_copy | ( | const MutableBufferSequence & | target, |
const ConstBufferSequence & | source, | ||
std::size_t | max_bytes_to_copy | ||
) |
Copies a limited number of bytes from a source buffer sequence to a target buffer sequence.
target | A modifiable buffer sequence representing the memory regions to which the bytes will be copied. |
source | A non-modifiable buffer sequence representing the memory regions from which the bytes will be copied. |
max_bytes_to_copy | The maximum number of bytes to be copied. |
buffer_size(target)
buffer_size(source)
max_bytes_to_copy
This function is implemented in terms of memcpy
, and consequently it cannot be used to copy between overlapping memory regions.
Definition at line 2187 of file buffer.hpp.