|
iceoryx2
C++ Bindings
|
Non-owning view of a [PortName]. More...
#include <port_name.hpp>
Public Member Functions | |
| PortNameView (PortNameView &&) noexcept=default | |
| PortNameView (const PortNameView &)=default | |
| auto | operator= (PortNameView &&) noexcept -> PortNameView &=default |
| auto | operator= (const PortNameView &) -> PortNameView &=default |
| ~PortNameView () noexcept=default | |
| auto | native_ptr () const -> iox2_port_name_ptr |
| Returns the native [iox2_port_name_ptr]. | |
| auto | to_string () const -> iox2::bb::StaticString< IOX2_PORT_NAME_LENGTH > |
| Returns a [iox2::bb::StaticString] containing the [PortName]. | |
| auto | to_owned () const -> PortName |
| Creates a copy of the corresponding [PortName] and returns it. | |
Static Public Member Functions | |
| static auto | from_native_ptr (iox2_port_name_ptr m_ptr) -> PortNameView |
| Creates a [PortNameView] from a native [iox2_port_name_ptr]. | |
Non-owning view of a [PortName].
Definition at line 25 of file port_name.hpp.
|
defaultnoexcept |
References PortNameView().
Referenced by from_native_ptr(), operator=(), operator=(), PortNameView(), PortNameView(), to_owned(), and ~PortNameView().
|
default |
References PortNameView().
|
defaultnoexcept |
References PortNameView().
|
static |
Creates a [PortNameView] from a native [iox2_port_name_ptr].
References from_native_ptr(), and PortNameView().
Referenced by from_native_ptr(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::name(), iox2::Listener< ServiceType >::name(), iox2::Publisher< S, Payload, UserHeader >::name(), iox2::Reader< S, KeyType >::name(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::name(), iox2::Subscriber< S, Payload, UserHeader >::name(), and iox2::Writer< S, KeyType >::name().
| auto iox2::PortNameView::native_ptr | ( | ) | const->iox2_port_name_ptr |
|
default |
References PortNameView().
|
defaultnoexcept |
References PortNameView().
| auto iox2::PortNameView::to_owned | ( | ) | const->PortName |
Creates a copy of the corresponding [PortName] and returns it.
References PortNameView(), and to_owned().
Referenced by to_owned().
| auto iox2::PortNameView::to_string | ( | ) | const->iox2::bb::StaticString< IOX2_PORT_NAME_LENGTH > |
Returns a [iox2::bb::StaticString] containing the [PortName].
References to_string().
Referenced by to_string().