|
iceoryx2
C++ Language Bindings
|
Wrapper around an uninitialized entry value that can be used for a zero-copy update. More...
#include <entry_value_uninit.hpp>
Public Member Functions | |
| EntryValueUninit (EntryValueUninit &&rhs) noexcept | |
| auto | operator= (EntryValueUninit &&rhs) noexcept -> EntryValueUninit & |
| ~EntryValueUninit () noexcept | |
| EntryValueUninit (const EntryValueUninit &)=delete | |
| auto | operator= (const EntryValueUninit &) -> EntryValueUninit &=delete |
| auto | value_mut () -> ValueType & |
Friends | |
| template<ServiceType , typename , typename > | |
| class | EntryHandleMut |
| template<ServiceType ST, typename KeyT , typename ValueT > | |
| auto | update_with_copy (EntryValueUninit< ST, KeyT, ValueT > &&self, ValueT value) -> EntryHandleMut< ST, KeyT, ValueT > |
| template<ServiceType ST, typename KeyT , typename ValueT > | |
| auto | discard (EntryValueUninit< ST, KeyT, ValueT > &&self) -> EntryHandleMut< ST, KeyT, ValueT > |
Discard the [EntryValueUninit] and returns the original [EntryHandleMut]. | |
| template<ServiceType ST, typename KeyT , typename ValueT > | |
| auto | assume_init_and_update (EntryValueUninit< ST, KeyT, ValueT > &&self) -> EntryHandleMut< ST, KeyT, ValueT > |
| template<ServiceType ST, typename KeyT , typename ValueT > | |
| auto | loan_uninit (EntryHandleMut< ST, KeyT, ValueT > &&) -> EntryValueUninit< ST, KeyT, ValueT > |
Wrapper around an uninitialized entry value that can be used for a zero-copy update.
Definition at line 27 of file entry_value_uninit.hpp.
|
inlinenoexcept |
Definition at line 82 of file entry_value_uninit.hpp.
|
inlinenoexcept |
Definition at line 105 of file entry_value_uninit.hpp.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 93 of file entry_value_uninit.hpp.
|
inline |
Returns a reference to the value of the blackboard entry. It can be used to update the value without copy. After writing, assume_init_and_update() must be called.
Definition at line 132 of file entry_value_uninit.hpp.
|
friend |
Consumes the [EntryValueUninit], makes the new value accessible and returns the original [EntryHandleMut].
|
friend |
Discard the [EntryValueUninit] and returns the original [EntryHandleMut].
|
friend |
Definition at line 57 of file entry_value_uninit.hpp.
|
friend |
|
friend |
Consumes the [EntryValueUninit], writes value to the entry value and returns the original [EntryHandleMut].