Template Class Sample
Defined in File sample.hpp
Inheritance Relationships
Base Type
public iox::popo::SmartChunk< PublisherInterface< T, cxx::add_const_conditionally_t< mepoo::NoUserHeader, T > >, T, cxx::add_const_conditionally_t< mepoo::NoUserHeader, T > >(Template Class SmartChunk)
Class Documentation
-
template<typename T, typename H = cxx::add_const_conditionally_t<mepoo::NoUserHeader, T>>
class Sample : public iox::popo::SmartChunk<PublisherInterface<T, cxx::add_const_conditionally_t<mepoo::NoUserHeader, T>>, T, cxx::add_const_conditionally_t<mepoo::NoUserHeader, T>> The Sample class is a mutable abstraction over types which are written to loaned shared memory. These samples are publishable to the iceoryx system.
Public Types
Public Functions
-
template<typename S = T, typename = ForPublisherOnly<S, T>>
void publish() noexcept Publish the sample via the publisher from which it was loaned and automatically release ownership to it.
Only available for non-const type T.
-
template<typename S = T, typename = ForPublisherOnly<S, T>>