iceoryx2
C++ 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

References ServiceNameView().

◆ ~ServiceNameView()

iox2::ServiceNameView::~ServiceNameView ( )
default

Member Function Documentation

◆ operator=() [1/2]

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

References ServiceNameView().

◆ operator=() [2/2]

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

References ServiceNameView().

◆ to_owned()

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

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

References ServiceName, and to_owned().

Referenced by to_owned().

◆ to_string()

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

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

◆ Node

template<ServiceType>
friend class Node
friend

Definition at line 43 of file service_name.hpp.

References Node.

Referenced by Node.

◆ PortFactoryBlackboard

template<ServiceType, typename>
friend class PortFactoryBlackboard
friend

Definition at line 51 of file service_name.hpp.

References PortFactoryBlackboard, and ServiceNameView().

Referenced by PortFactoryBlackboard.

◆ PortFactoryEvent

template<ServiceType>
friend class PortFactoryEvent
friend

Definition at line 45 of file service_name.hpp.

References PortFactoryEvent.

Referenced by PortFactoryEvent.

◆ PortFactoryPublishSubscribe

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

Definition at line 47 of file service_name.hpp.

References PortFactoryPublishSubscribe.

Referenced by PortFactoryPublishSubscribe.

◆ PortFactoryRequestResponse

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

Definition at line 49 of file service_name.hpp.

References PortFactoryRequestResponse.

Referenced by PortFactoryRequestResponse.

◆ Service

template<ServiceType>
friend class Service
friend

Definition at line 41 of file service_name.hpp.

References Service.

Referenced by Service.

◆ ServiceName

friend class ServiceName
friend

Definition at line 39 of file service_name.hpp.

References ServiceName.

Referenced by ServiceName, and to_owned().


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