iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
iox2::PortFactoryReader< S, KeyType > Class Template Reference

#include <port_factory_reader.hpp>

Public Member Functions

auto name (const PortName value) -> decltype(auto)
 PortFactoryReader (PortFactoryReader &&rhs) noexcept
auto operator= (PortFactoryReader &&rhs) noexcept -> PortFactoryReader &
 ~PortFactoryReader ()
 PortFactoryReader (const PortFactoryReader &)=delete
auto operator= (const PortFactoryReader &) -> PortFactoryReader &=delete
auto create () &&-> bb::Expected< Reader< S, KeyType >, ReaderCreateError >
 Creates a new [Reader] port or returns a [ReaderCreateError] on failure.

Friends

template<ServiceType, typename>
class PortFactoryBlackboard

Detailed Description

template<ServiceType S, typename KeyType>
class iox2::PortFactoryReader< S, KeyType >

Factory to create a new [Reader] port/endpoint for [MessagingPattern::Blackboard] based communication.

Definition at line 27 of file port_factory_reader.hpp.

Constructor & Destructor Documentation

◆ PortFactoryReader() [1/2]

template<ServiceType S, typename KeyType>
iox2::PortFactoryReader< S, KeyType >::PortFactoryReader ( PortFactoryReader< S, KeyType > && rhs)
inlinenoexcept

◆ ~PortFactoryReader()

template<ServiceType S, typename KeyType>
iox2::PortFactoryReader< S, KeyType >::~PortFactoryReader ( )
inline

Definition at line 90 of file port_factory_reader.hpp.

◆ PortFactoryReader() [2/2]

template<ServiceType S, typename KeyType>
iox2::PortFactoryReader< S, KeyType >::PortFactoryReader ( const PortFactoryReader< S, KeyType > & )
delete

References PortFactoryReader().

Member Function Documentation

◆ create()

template<ServiceType S, typename KeyType>
auto iox2::PortFactoryReader< S, KeyType >::create ( ) &&->bb::Expected< Reader< S, KeyType >, ReaderCreateError >
inline

Creates a new [Reader] port or returns a [ReaderCreateError] on failure.

Definition at line 95 of file port_factory_reader.hpp.

References iox2::bb::err(), and iox2::bb::into().

◆ name()

template<ServiceType S, typename KeyType>
auto iox2::PortFactoryReader< S, KeyType >::name ( const PortName value) ->decltype(auto)

The [PortName] that shall be assigned to the [Reader]. It does not have to be unique. If no [PortName] is defined then the [Reader] does not have a name.

References name(), and PortFactoryReader().

Referenced by name().

◆ operator=() [1/2]

template<ServiceType S, typename KeyType>
auto iox2::PortFactoryReader< S, KeyType >::operator= ( const PortFactoryReader< S, KeyType > & ) ->PortFactoryReader &=delete
delete

References PortFactoryReader().

◆ operator=() [2/2]

template<ServiceType S, typename KeyType>
auto iox2::PortFactoryReader< S, KeyType >::operator= ( PortFactoryReader< S, KeyType > && rhs) ->PortFactoryReader &
inlinenoexcept

Definition at line 78 of file port_factory_reader.hpp.

References PortFactoryReader().

◆ PortFactoryBlackboard

template<ServiceType S, typename KeyType>
template<ServiceType, typename>
friend class PortFactoryBlackboard
friend

Definition at line 51 of file port_factory_reader.hpp.

References PortFactoryBlackboard.

Referenced by PortFactoryBlackboard.


The documentation for this class was generated from the following file: