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

#include <port_factory_reader.hpp>

Public Member Functions

 PortFactoryReader (PortFactoryReader &&) noexcept=default
 
auto operator= (PortFactoryReader &&) noexcept -> PortFactoryReader &=default
 
 ~PortFactoryReader ()=default
 
 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 25 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 > &&  )
defaultnoexcept

◆ ~PortFactoryReader()

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

◆ PortFactoryReader() [2/2]

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

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 52 of file port_factory_reader.hpp.

References iox2::bb::err().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Symbol Documentation

◆ PortFactoryBlackboard

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

Definition at line 39 of file port_factory_reader.hpp.


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