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

#include <port_factory_notifier.hpp>

Public Member Functions

auto default_event_id (const EventId value) -> decltype(auto)
 
 PortFactoryNotifier (PortFactoryNotifier &&) noexcept=default
 
auto operator= (PortFactoryNotifier &&) noexcept -> PortFactoryNotifier &=default
 
 ~PortFactoryNotifier ()=default
 
 PortFactoryNotifier (const PortFactoryNotifier &)=delete
 
auto operator= (const PortFactoryNotifier &) -> PortFactoryNotifier &=delete
 
auto create () &&-> bb::Expected< Notifier< S >, NotifierCreateError >
 Creates a new [Notifier] port or returns a [NotifierCreateError] on failure.
 

Friends

template<ServiceType >
class PortFactoryEvent
 

Detailed Description

template<ServiceType S>
class iox2::PortFactoryNotifier< S >

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

Definition at line 27 of file port_factory_notifier.hpp.

Constructor & Destructor Documentation

◆ PortFactoryNotifier() [1/2]

template<ServiceType S>
iox2::PortFactoryNotifier< S >::PortFactoryNotifier ( PortFactoryNotifier< S > &&  )
defaultnoexcept

◆ ~PortFactoryNotifier()

◆ PortFactoryNotifier() [2/2]

template<ServiceType S>
iox2::PortFactoryNotifier< S >::PortFactoryNotifier ( const PortFactoryNotifier< S > &  )
delete

Member Function Documentation

◆ create()

template<ServiceType S>
auto iox2::PortFactoryNotifier< S >::create ( ) && -> bb::Expected< Notifier< S >, NotifierCreateError >

Creates a new [Notifier] port or returns a [NotifierCreateError] on failure.

◆ default_event_id()

template<ServiceType S>
auto iox2::PortFactoryNotifier< S >::default_event_id ( const EventId  value) -> decltype(auto)

Sets a default [EventId] for the [Notifier] that is used in [Notifier::notify()]

◆ operator=() [1/2]

template<ServiceType S>
auto iox2::PortFactoryNotifier< S >::operator= ( const PortFactoryNotifier< S > &  ) -> PortFactoryNotifier &=delete
delete

◆ operator=() [2/2]

template<ServiceType S>
auto iox2::PortFactoryNotifier< S >::operator= ( PortFactoryNotifier< S > &&  ) -> PortFactoryNotifier &=default
defaultnoexcept

Friends And Related Symbol Documentation

◆ PortFactoryEvent

template<ServiceType S>
template<ServiceType >
friend class PortFactoryEvent
friend

Definition at line 50 of file port_factory_notifier.hpp.


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