iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::ServiceNameView Class Reference

Non-owning view of a [ServiceName]. More...

#include <service_name.hpp>

Public Member Functions

 ServiceNameView (ServiceNameView &&)=default
 
 ServiceNameView (const ServiceNameView &)=default
 
auto operator= (ServiceNameView &&) -> ServiceNameView &=default
 
auto operator= (const ServiceNameView &) -> ServiceNameView &=default
 
 ~ServiceNameView ()=default
 
auto to_string () const -> iox2::bb::StaticString< IOX2_SERVICE_NAME_LENGTH >
 Returns a [iox2::bb::StaticString] containing the [ServiceName].
 
auto to_owned () const -> ServiceName
 Creates a copy of the corresponding [ServiceName] and returns it.
 

Friends

class ServiceName
 
template<ServiceType >
class Service
 
template<ServiceType >
class Node
 
template<ServiceType >
class PortFactoryEvent
 
template<ServiceType , typename , typename >
class PortFactoryPublishSubscribe
 
template<ServiceType , typename , typename , typename , typename >
class PortFactoryRequestResponse
 
template<ServiceType , typename >
class PortFactoryBlackboard
 

Detailed Description

Non-owning view of a [ServiceName].

Definition at line 24 of file service_name.hpp.

Constructor & Destructor Documentation

◆ ServiceNameView() [1/2]

iox2::ServiceNameView::ServiceNameView ( ServiceNameView &&  )
default

◆ ServiceNameView() [2/2]

iox2::ServiceNameView::ServiceNameView ( const ServiceNameView )
default

◆ ~ServiceNameView()

iox2::ServiceNameView::~ServiceNameView ( )
default

Member Function Documentation

◆ operator=() [1/2]

auto iox2::ServiceNameView::operator= ( const ServiceNameView ) -> ServiceNameView &=default
default

◆ operator=() [2/2]

auto iox2::ServiceNameView::operator= ( ServiceNameView &&  ) -> ServiceNameView &=default
default

◆ to_owned()

auto iox2::ServiceNameView::to_owned ( ) const -> ServiceName

Creates a copy of the corresponding [ServiceName] and returns it.

◆ to_string()

auto iox2::ServiceNameView::to_string ( ) const -> iox2::bb::StaticString< IOX2_SERVICE_NAME_LENGTH >

Returns a [iox2::bb::StaticString] containing the [ServiceName].

Friends And Related Symbol Documentation

◆ Node

template<ServiceType >
friend class Node
friend

Definition at line 43 of file service_name.hpp.

◆ PortFactoryBlackboard

template<ServiceType , typename >
friend class PortFactoryBlackboard
friend

Definition at line 51 of file service_name.hpp.

◆ PortFactoryEvent

template<ServiceType >
friend class PortFactoryEvent
friend

Definition at line 45 of file service_name.hpp.

◆ PortFactoryPublishSubscribe

template<ServiceType , typename , typename >
friend class PortFactoryPublishSubscribe
friend

Definition at line 47 of file service_name.hpp.

◆ PortFactoryRequestResponse

template<ServiceType , typename , typename , typename , typename >
friend class PortFactoryRequestResponse
friend

Definition at line 49 of file service_name.hpp.

◆ Service

template<ServiceType >
friend class Service
friend

Definition at line 41 of file service_name.hpp.

◆ ServiceName

friend class ServiceName
friend

Definition at line 39 of file service_name.hpp.


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