|
iceoryx2
C++ 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.
References EntryValueUninit().
Referenced by assume_init_and_update, discard, EntryValueUninit(), EntryValueUninit(), loan_uninit, operator=(), operator=(), and update_with_copy.
|
inlinenoexcept |
Definition at line 105 of file entry_value_uninit.hpp.
|
delete |
References EntryValueUninit().
|
delete |
References EntryValueUninit().
|
inlinenoexcept |
Definition at line 93 of file entry_value_uninit.hpp.
References EntryValueUninit(), and iox2::internal::iox2_entry_value_uninit_move().
|
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].
References EntryHandleMut, and EntryValueUninit().
|
friend |
Discard the [EntryValueUninit] and returns the original [EntryHandleMut].
References EntryHandleMut, and EntryValueUninit().
|
friend |
Definition at line 57 of file entry_value_uninit.hpp.
References EntryHandleMut.
Referenced by assume_init_and_update, discard, EntryHandleMut, loan_uninit, and update_with_copy.
|
friend |
References EntryHandleMut, and EntryValueUninit().
|
friend |
Consumes the [EntryValueUninit], writes value to the entry value and returns the original [EntryHandleMut].
References EntryHandleMut, and EntryValueUninit().