iceoryx2
C++ Bindings
Loading...
Searching...
No Matches
iox2::bb Namespace Reference

Namespaces

namespace  detail
namespace  platform
namespace  duration_literals
namespace  stl
namespace  testing

Classes

class  StaticString
class  Duration
class  FileName
 Represents a single file name. It is not allowed to contain any path elements like "./some_file" or "path/to/file". Just a plain old simple "my_file.bla". More...
class  FilePath
 Represents a path to a file. It is not allowed to end with a path separator since this would then be a path to a directory. A valid file path is for instance "path/to/file" but not "path/to/file/". More...
struct  Lossy
 Helper struct to indicate a lossy conversion, e.g. from an unbounded type into a bounded type. More...
struct  From
class  Layout
class  Path
 Represents a path to a file or a directory. More...
class  SemanticString
 The SemanticString is a string which has an inner syntax and restrictions to valid content. Examples are for instance. More...
class  Slice
 A class representing a slice of contiguous elements of type T. More...
struct  IsSlice
struct  IsSlice< Slice< T > >
struct  IsStaticString
struct  IsStaticString< StaticString< N > >
class  StaticVector
 A resizable container with compile-time fixed static capacity and contiguous inplace storage. More...
struct  IsStaticVector
struct  IsStaticVector< StaticVector< T, N > >
struct  From< std::chrono::nanoseconds, Duration >
 Construct a Duration object from std::chrono::nanoseconds. More...
struct  From< std::chrono::microseconds, Duration >
 Construct a Duration object from std::chrono::microseconds. More...
struct  From< std::chrono::milliseconds, Duration >
 Construct a Duration object from std::chrono::milliseconds. More...
struct  From< std::chrono::seconds, Duration >
 Construct a Duration object from std::chrono::seconds. More...

Typedefs

template<typename T, typename E>
using Expected = iox2::bb::variation::Expected<T, E>
template<typename E>
using Unexpected = iox2::bb::variation::Unexpected<E>
using InPlaceT = iox2::bb::variation::InPlaceT
using UnexpectT = iox2::bb::variation::UnexpectT
template<typename T>
using Optional = iox2::bb::variation::Optional<T>
using NulloptT = iox2::bb::variation::NulloptT
template<typename T>
using MutableSlice = Slice<T>
template<typename T>
using ImmutableSlice = Slice<const T>
template<typename Signature, uint64_t Capacity = DEFAULT_FUNCTION_CAPACITY>
using StaticFunction = detail::StaticFunction<Capacity, Signature>
 A static memory replacement for std::function.
template<uint64_t Capacity>
using DoesContainInvalidCharacter = bool (*)(const StaticString<Capacity>& value)
template<uint64_t Capacity>
using DoesContainInvalidContent = bool (*)(const StaticString<Capacity>& value)
template<typename T, typename ReturnType>
using RequireStaticStringOrCharArray

Enumerations

enum class  LayoutCreationError : uint8_t { InvalidAlignment }
 Defines all errors that can occur while creating a new [Layout]. More...
enum class  SemanticStringError : uint8_t { InvalidContent , ExceedsMaximumLength }
 Defines errors which can occur when modifying or creating a SemanticString. More...

Functions

template<>
constexpr auto from< int, iox2::bb::SemanticStringError > (const int value) noexcept -> iox2::bb::SemanticStringError
template<>
constexpr auto from< iox2::bb::SemanticStringError, iox2_semantic_string_error_e > (const iox2::bb::SemanticStringError value) noexcept -> iox2_semantic_string_error_e
template<>
auto from< iox2::bb::SemanticStringError, const char * > (const iox2::bb::SemanticStringError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ServiceType > (const int value) noexcept -> iox2::ServiceType
template<>
constexpr auto from< iox2::ServiceType, iox2_service_type_e > (const iox2::ServiceType value) noexcept -> iox2_service_type_e
template<>
constexpr auto from< int, iox2::NodeCreationFailure > (const int value) noexcept -> iox2::NodeCreationFailure
template<>
constexpr auto from< iox2::NodeCreationFailure, iox2_node_creation_failure_e > (const iox2::NodeCreationFailure value) noexcept -> iox2_node_creation_failure_e
template<>
auto from< iox2::NodeCreationFailure, const char * > (const iox2::NodeCreationFailure value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::CallbackProgression > (const int value) noexcept -> iox2::CallbackProgression
template<>
constexpr auto from< iox2::CallbackProgression, iox2_callback_progression_e > (const iox2::CallbackProgression value) noexcept -> iox2_callback_progression_e
template<>
constexpr auto from< int, iox2::NodeListFailure > (const int value) noexcept -> iox2::NodeListFailure
template<>
constexpr auto from< iox2::NodeListFailure, iox2_node_list_failure_e > (const iox2::NodeListFailure value) noexcept -> iox2_node_list_failure_e
template<>
auto from< iox2::NodeListFailure, const char * > (const iox2::NodeListFailure value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::NodeWaitFailure > (const int value) noexcept -> iox2::NodeWaitFailure
template<>
constexpr auto from< iox2::NodeWaitFailure, iox2_node_wait_failure_e > (const iox2::NodeWaitFailure value) noexcept -> iox2_node_wait_failure_e
template<>
auto from< iox2::NodeWaitFailure, const char * > (const iox2::NodeWaitFailure value) noexcept -> const char *
template<>
constexpr auto from< iox2::MessagingPattern, iox2_messaging_pattern_e > (const iox2::MessagingPattern value) noexcept -> iox2_messaging_pattern_e
template<>
constexpr auto from< int, iox2::ServiceDetailsError > (const int value) noexcept -> iox2::ServiceDetailsError
template<>
constexpr auto from< iox2::ServiceDetailsError, iox2_service_details_error_e > (const iox2::ServiceDetailsError value) noexcept -> iox2_service_details_error_e
template<>
auto from< iox2::ServiceDetailsError, const char * > (const iox2::ServiceDetailsError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::EventOpenOrCreateError > (const int value) noexcept -> iox2::EventOpenOrCreateError
template<>
constexpr auto from< iox2::EventOpenOrCreateError, iox2_event_open_or_create_error_e > (const iox2::EventOpenOrCreateError value) noexcept -> iox2_event_open_or_create_error_e
template<>
auto from< iox2::EventOpenOrCreateError, const char * > (const iox2::EventOpenOrCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::EventOpenError > (const int value) noexcept -> iox2::EventOpenError
template<>
constexpr auto from< iox2::EventOpenError, iox2_event_open_or_create_error_e > (const iox2::EventOpenError value) noexcept -> iox2_event_open_or_create_error_e
template<>
auto from< iox2::EventOpenError, const char * > (const iox2::EventOpenError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::EventCreateError > (const int value) noexcept -> iox2::EventCreateError
template<>
constexpr auto from< iox2::EventCreateError, iox2_event_open_or_create_error_e > (const iox2::EventCreateError value) noexcept -> iox2_event_open_or_create_error_e
template<>
auto from< iox2::EventCreateError, const char * > (const iox2::EventCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::PublishSubscribeOpenOrCreateError > (const int value) noexcept -> iox2::PublishSubscribeOpenOrCreateError
template<>
constexpr auto from< int, iox2::PublishSubscribeOpenError > (const int value) noexcept -> iox2::PublishSubscribeOpenError
template<>
constexpr auto from< iox2::PublishSubscribeOpenError, iox2_pub_sub_open_or_create_error_e > (const iox2::PublishSubscribeOpenError value) noexcept -> iox2_pub_sub_open_or_create_error_e
template<>
auto from< iox2::PublishSubscribeOpenError, const char * > (const iox2::PublishSubscribeOpenError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::PublishSubscribeCreateError > (const int value) noexcept -> iox2::PublishSubscribeCreateError
template<>
constexpr auto from< iox2::PublishSubscribeCreateError, iox2_pub_sub_open_or_create_error_e > (const iox2::PublishSubscribeCreateError value) noexcept -> iox2_pub_sub_open_or_create_error_e
template<>
auto from< iox2::PublishSubscribeCreateError, const char * > (const iox2::PublishSubscribeCreateError value) noexcept -> const char *
template<>
constexpr auto from< iox2::PublishSubscribeOpenOrCreateError, iox2_pub_sub_open_or_create_error_e > (const iox2::PublishSubscribeOpenOrCreateError value) noexcept -> iox2_pub_sub_open_or_create_error_e
template<>
auto from< iox2::PublishSubscribeOpenOrCreateError, const char * > (const iox2::PublishSubscribeOpenOrCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::RequestResponseCreateError > (const int value) noexcept -> iox2::RequestResponseCreateError
template<>
constexpr auto from< iox2::RequestResponseCreateError, iox2_request_response_open_or_create_error_e > (const iox2::RequestResponseCreateError value) noexcept -> iox2_request_response_open_or_create_error_e
template<>
auto from< iox2::RequestResponseCreateError, const char * > (const iox2::RequestResponseCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::RequestResponseOpenError > (const int value) noexcept -> iox2::RequestResponseOpenError
template<>
constexpr auto from< iox2::RequestResponseOpenError, iox2_request_response_open_or_create_error_e > (const iox2::RequestResponseOpenError value) noexcept -> iox2_request_response_open_or_create_error_e
template<>
auto from< iox2::RequestResponseOpenError, const char * > (const iox2::RequestResponseOpenError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::RequestResponseOpenOrCreateError > (const int value) noexcept -> iox2::RequestResponseOpenOrCreateError
template<>
constexpr auto from< iox2::RequestResponseOpenOrCreateError, iox2_request_response_open_or_create_error_e > (const iox2::RequestResponseOpenOrCreateError value) noexcept -> iox2_request_response_open_or_create_error_e
template<>
auto from< iox2::RequestResponseOpenOrCreateError, const char * > (const iox2::RequestResponseOpenOrCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::BlackboardCreateError > (const int value) noexcept -> iox2::BlackboardCreateError
template<>
constexpr auto from< iox2::BlackboardCreateError, iox2_blackboard_create_error_e > (const iox2::BlackboardCreateError value) noexcept -> iox2_blackboard_create_error_e
template<>
auto from< iox2::BlackboardCreateError, const char * > (const iox2::BlackboardCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::BlackboardOpenError > (const int value) noexcept -> iox2::BlackboardOpenError
template<>
constexpr auto from< iox2::BlackboardOpenError, iox2_blackboard_open_error_e > (const iox2::BlackboardOpenError value) noexcept -> iox2_blackboard_open_error_e
template<>
auto from< iox2::BlackboardOpenError, const char * > (const iox2::BlackboardOpenError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::WriterCreateError > (const int value) noexcept -> iox2::WriterCreateError
template<>
constexpr auto from< iox2::WriterCreateError, iox2_writer_create_error_e > (const iox2::WriterCreateError value) noexcept -> iox2_writer_create_error_e
template<>
auto from< iox2::WriterCreateError, const char * > (const iox2::WriterCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::EntryHandleMutError > (const int value) noexcept -> iox2::EntryHandleMutError
template<>
constexpr auto from< iox2::EntryHandleMutError, iox2_entry_handle_mut_error_e > (const iox2::EntryHandleMutError value) noexcept -> iox2_entry_handle_mut_error_e
template<>
auto from< iox2::EntryHandleMutError, const char * > (const iox2::EntryHandleMutError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ReaderCreateError > (const int value) noexcept -> iox2::ReaderCreateError
template<>
constexpr auto from< iox2::ReaderCreateError, iox2_reader_create_error_e > (const iox2::ReaderCreateError value) noexcept -> iox2_reader_create_error_e
template<>
auto from< iox2::ReaderCreateError, const char * > (const iox2::ReaderCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::EntryHandleError > (const int value) noexcept -> iox2::EntryHandleError
template<>
constexpr auto from< iox2::EntryHandleError, iox2_entry_handle_error_e > (const iox2::EntryHandleError value) noexcept -> iox2_entry_handle_error_e
template<>
auto from< iox2::EntryHandleError, const char * > (const iox2::EntryHandleError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ClientCreateError > (const int value) noexcept -> iox2::ClientCreateError
template<>
constexpr auto from< iox2::ClientCreateError, iox2_client_create_error_e > (const iox2::ClientCreateError value) noexcept -> iox2_client_create_error_e
template<>
auto from< iox2::ClientCreateError, const char * > (const iox2::ClientCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ServerCreateError > (const int value) noexcept -> iox2::ServerCreateError
template<>
constexpr auto from< iox2::ServerCreateError, iox2_server_create_error_e > (const iox2::ServerCreateError value) noexcept -> iox2_server_create_error_e
template<>
auto from< iox2::ServerCreateError, const char * > (const iox2::ServerCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::NotifierCreateError > (const int value) noexcept -> iox2::NotifierCreateError
template<>
constexpr auto from< iox2::NotifierCreateError, iox2_notifier_create_error_e > (const iox2::NotifierCreateError value) noexcept -> iox2_notifier_create_error_e
template<>
auto from< iox2::NotifierCreateError, const char * > (const iox2::NotifierCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ListenerCreateError > (const int value) noexcept -> iox2::ListenerCreateError
template<>
constexpr auto from< iox2::ListenerCreateError, iox2_listener_create_error_e > (const iox2::ListenerCreateError value) noexcept -> iox2_listener_create_error_e
template<>
auto from< iox2::ListenerCreateError, const char * > (const iox2::ListenerCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::NotifierNotifyError > (const int value) noexcept -> iox2::NotifierNotifyError
template<>
constexpr auto from< iox2::NotifierNotifyError, iox2_notifier_notify_error_e > (const iox2::NotifierNotifyError value) noexcept -> iox2_notifier_notify_error_e
template<>
auto from< iox2::NotifierNotifyError, const char * > (const iox2::NotifierNotifyError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ListenerWaitError > (const int value) noexcept -> iox2::ListenerWaitError
template<>
constexpr auto from< iox2::ListenerWaitError, iox2_listener_wait_error_e > (const iox2::ListenerWaitError value) noexcept -> iox2_listener_wait_error_e
template<>
auto from< iox2::ListenerWaitError, const char * > (const iox2::ListenerWaitError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::PublisherCreateError > (const int value) noexcept -> iox2::PublisherCreateError
template<>
constexpr auto from< iox2::PublisherCreateError, iox2_publisher_create_error_e > (const iox2::PublisherCreateError value) noexcept -> iox2_publisher_create_error_e
template<>
auto from< iox2::PublisherCreateError, const char * > (const iox2::PublisherCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::SubscriberCreateError > (const int value) noexcept -> iox2::SubscriberCreateError
template<>
constexpr auto from< iox2::SubscriberCreateError, iox2_subscriber_create_error_e > (const iox2::SubscriberCreateError value) noexcept -> iox2_subscriber_create_error_e
template<>
auto from< iox2::SubscriberCreateError, const char * > (const iox2::SubscriberCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::SendError > (const int value) noexcept -> iox2::SendError
template<>
constexpr auto from< iox2::SendError, iox2_send_error_e > (const iox2::SendError value) noexcept -> iox2_send_error_e
template<>
auto from< iox2::SendError, const char * > (const iox2::SendError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ReceiveError > (const int value) noexcept -> iox2::ReceiveError
template<>
constexpr auto from< iox2::ReceiveError, iox2_receive_error_e > (const iox2::ReceiveError value) noexcept -> iox2_receive_error_e
template<>
auto from< iox2::ReceiveError, const char * > (const iox2::ReceiveError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::LoanError > (const int value) noexcept -> iox2::LoanError
template<>
constexpr auto from< iox2::LoanError, iox2_loan_error_e > (const iox2::LoanError value) noexcept -> iox2_loan_error_e
template<>
auto from< iox2::LoanError, const char * > (const iox2::LoanError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::RequestSendError > (const int value) noexcept -> iox2::RequestSendError
template<>
constexpr auto from< iox2::RequestSendError, iox2_request_send_error_e > (const iox2::RequestSendError value) noexcept -> iox2_request_send_error_e
template<>
auto from< iox2::RequestSendError, const char * > (const iox2::RequestSendError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::TypeVariant > (const int value) noexcept -> iox2::TypeVariant
template<>
constexpr auto from< int, iox2::ServiceListError > (const int value) noexcept -> iox2::ServiceListError
template<>
constexpr auto from< iox2::ServiceListError, iox2_service_list_error_e > (const iox2::ServiceListError value) noexcept -> iox2_service_list_error_e
template<>
auto from< iox2::ServiceListError, const char * > (const iox2::ServiceListError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::MessagingPattern > (const int value) noexcept -> iox2::MessagingPattern
template<>
constexpr auto from< int, iox2::BackpressureStrategy > (const int value) noexcept -> iox2::BackpressureStrategy
template<>
constexpr auto from< iox2::BackpressureStrategy, int > (const iox2::BackpressureStrategy value) noexcept -> int
template<>
constexpr auto from< int, iox2::AllocationStrategy > (const int value) noexcept -> iox2::AllocationStrategy
template<>
constexpr auto from< iox2::AllocationStrategy, int > (const iox2::AllocationStrategy value) noexcept -> int
template<>
constexpr auto from< int, iox2::ConnectionFailure > (const int value) noexcept -> iox2::ConnectionFailure
template<>
constexpr auto from< iox2::ConnectionFailure, iox2_connection_failure_e > (const iox2::ConnectionFailure value) noexcept -> iox2_connection_failure_e
template<>
auto from< iox2::ConnectionFailure, const char * > (const iox2::ConnectionFailure value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::ConfigCreationError > (const int value) noexcept -> iox2::ConfigCreationError
template<>
constexpr auto from< iox2::ConfigCreationError, iox2_config_creation_error_e > (const iox2::ConfigCreationError value) noexcept -> iox2_config_creation_error_e
template<>
auto from< iox2::ConfigCreationError, const char * > (const iox2::ConfigCreationError value) noexcept -> const char *
template<>
constexpr auto from< iox2::LogLevel, iox2_log_level_e > (iox2::LogLevel value) noexcept -> iox2_log_level_e
template<>
constexpr auto from< int, iox2::LogLevel > (int value) noexcept -> iox2::LogLevel
template<>
constexpr auto from< int, iox2::WaitSetCreateError > (const int value) noexcept -> iox2::WaitSetCreateError
template<>
constexpr auto from< iox2::WaitSetCreateError, iox2_waitset_create_error_e > (const iox2::WaitSetCreateError value) noexcept -> iox2_waitset_create_error_e
template<>
auto from< iox2::WaitSetCreateError, const char * > (const iox2::WaitSetCreateError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::WaitSetRunResult > (const int value) noexcept -> iox2::WaitSetRunResult
template<>
constexpr auto from< iox2::WaitSetRunResult, iox2_waitset_run_result_e > (const iox2::WaitSetRunResult value) noexcept -> iox2_waitset_run_result_e
template<>
constexpr auto from< int, iox2::WaitSetAttachmentError > (const int value) noexcept -> iox2::WaitSetAttachmentError
template<>
constexpr auto from< iox2::WaitSetAttachmentError, iox2_waitset_attachment_error_e > (const iox2::WaitSetAttachmentError value) noexcept -> iox2_waitset_attachment_error_e
template<>
auto from< iox2::WaitSetAttachmentError, const char * > (const iox2::WaitSetAttachmentError value) noexcept -> const char *
template<>
constexpr auto from< int, iox2::WaitSetRunError > (const int value) noexcept -> iox2::WaitSetRunError
template<>
constexpr auto from< iox2::WaitSetRunError, iox2_waitset_run_error_e > (const iox2::WaitSetRunError value) noexcept -> iox2_waitset_run_error_e
template<>
auto from< iox2::WaitSetRunError, const char * > (const iox2::WaitSetRunError value) noexcept -> const char *
template<>
constexpr auto from< iox2::SignalHandlingMode, iox2_signal_handling_mode_e > (const iox2::SignalHandlingMode value) noexcept -> iox2_signal_handling_mode_e
template<>
constexpr auto from< int, iox2::SignalHandlingMode > (const int value) noexcept -> iox2::SignalHandlingMode
template<>
constexpr auto from< iox2::AllocationStrategy, iox2_allocation_strategy_e > (const iox2::AllocationStrategy value) noexcept -> iox2_allocation_strategy_e
template<>
constexpr auto from< int, iox2::NodeCleanupFailure > (const int value) noexcept -> iox2::NodeCleanupFailure
template<>
constexpr auto from< int, iox2::AttributeVerificationError > (const int value) noexcept -> iox2::AttributeVerificationError
template<>
constexpr auto from< int, iox2::AttributeDefinitionError > (const int value) noexcept -> iox2::AttributeDefinitionError
template<>
constexpr auto from< iox2_degradation_cause_e, iox2::DegradationCause > (const iox2_degradation_cause_e value) noexcept -> iox2::DegradationCause
template<>
constexpr auto from< iox2::DegradationAction, iox2_degradation_action_e > (const iox2::DegradationAction value) noexcept -> iox2_degradation_action_e
template<>
constexpr auto from< iox2::BackpressureAction, iox2_backpressure_action_e > (const iox2::BackpressureAction value) noexcept -> iox2_backpressure_action_e
template<>
constexpr auto from< iox2_service_remove_error_e, iox2::ServiceRemoveError > (const iox2_service_remove_error_e value) noexcept -> iox2::ServiceRemoveError
template<>
constexpr auto from< int, iox2::UniqueIdGeneratorDetailsError > (const int value) noexcept -> iox2::UniqueIdGeneratorDetailsError
template<typename T>
constexpr auto operator* (const T &lhs, const Duration &rhs) ->Duration
 creates Duration object by multiplying object T with a duration. On overflow duration will saturate to Duration::max()
template<typename T>
constexpr auto operator*= (T &lhs IOX2_MAYBE_UNUSED, const Duration &rhs IOX2_MAYBE_UNUSED) noexcept -> T &
 Dummy implementation with a static assert. Assigning the result of a Duration multiplication with 'operator*=' to an arithmetic type is not supported.
constexpr auto operator== (const Duration &lhs, const Duration &rhs) ->bool
 Equal to operator.
constexpr auto operator!= (const Duration &lhs, const Duration &rhs) ->bool
 Not equal to operator.
constexpr auto operator< (const Duration &lhs, const Duration &rhs) ->bool
 Less than operator.
constexpr auto operator> (const Duration &lhs, const Duration &rhs) ->bool
 Greater than operator.
constexpr auto operator<= (const Duration &lhs, const Duration &rhs) ->bool
 Less than or equal to operator.
constexpr auto operator>= (const Duration &lhs, const Duration &rhs) ->bool
 Greater than or equal to operator.
template<typename E>
constexpr auto err (const E &error) -> Unexpected< E >
template<typename E, std::enable_if_t<!std::is_lvalue_reference< E >::value, bool > = true>
constexpr auto err (E &&error) -> Unexpected< E >
template<typename SourceType, typename DestinationType>
constexpr auto from (const SourceType value) noexcept -> typename detail::ExtractIntoType< DestinationType >::TargetType
 Converts a value of type SourceType to a corresponding value of type DestinationType. This function needs to be specialized by the user for the types to be converted. If a partial specialization is needed, please have a look at 'From'.
template<typename DestinationType, typename SourceType>
constexpr auto into (const SourceType value) noexcept -> typename detail::ExtractIntoType< DestinationType >::TargetType
 Converts a value of type SourceType to a corresponding value of type DestinationType. This is a convenience function which is automatically available when 'from' is implemented. This function shall therefore not be specialized but always the 'from' function.

Variables

constexpr InPlaceT IN_PLACE = iox2::bb::variation::IN_PLACE
constexpr UnexpectT UNEXPECT = iox2::bb::variation::UNEXPECT
constexpr NulloptT NULLOPT = iox2::bb::variation::NULLOPT
constexpr uint64_t DEFAULT_FUNCTION_CAPACITY { 128U }

Typedef Documentation

◆ DoesContainInvalidCharacter

template<uint64_t Capacity>
using iox2::bb::DoesContainInvalidCharacter = bool (*)(const StaticString<Capacity>& value)

Definition at line 33 of file static_string.hpp.

◆ DoesContainInvalidContent

template<uint64_t Capacity>
using iox2::bb::DoesContainInvalidContent = bool (*)(const StaticString<Capacity>& value)

Definition at line 36 of file static_string.hpp.

◆ Expected

template<typename T, typename E>
using iox2::bb::Expected = iox2::bb::variation::Expected<T, E>

Definition at line 22 of file expected.hpp.

◆ ImmutableSlice

template<typename T>
using iox2::bb::ImmutableSlice = Slice<const T>

Definition at line 95 of file slice.hpp.

◆ InPlaceT

using iox2::bb::InPlaceT = iox2::bb::variation::InPlaceT

Definition at line 26 of file expected.hpp.

◆ MutableSlice

template<typename T>
using iox2::bb::MutableSlice = Slice<T>

Definition at line 92 of file slice.hpp.

◆ NulloptT

using iox2::bb::NulloptT = iox2::bb::variation::NulloptT

Definition at line 26 of file optional.hpp.

◆ Optional

template<typename T>
using iox2::bb::Optional = iox2::bb::variation::Optional<T>

Definition at line 25 of file optional.hpp.

◆ RequireStaticStringOrCharArray

template<typename T, typename ReturnType>
using iox2::bb::RequireStaticStringOrCharArray
Initial value:
typename std::enable_if_t<IsStaticString<T>::value || legacy::is_char_array<T>::value, ReturnType>
struct to check whether an argument is a char array

Definition at line 65 of file static_string.hpp.

◆ StaticFunction

template<typename Signature, uint64_t Capacity = DEFAULT_FUNCTION_CAPACITY>
using iox2::bb::StaticFunction = detail::StaticFunction<Capacity, Signature>

A static memory replacement for std::function.

   Allows storing a callable with a given signature if its size does not exceed a limit.
   This limit can be adjusted by changing the Bytes parameter.
   The iox2::bb::Function objects own everything needed to invoke the underlying callable and can be safely
   stored. They also support copy and move semantics in natural way by copying or moving the underlying
   callable.

   Similarly to std::function, they cannot be stored in Shared Memory to be invoked in a different process.

   For the API see 'detail::StaticFunction'.
Template Parameters
SignatureThe signature of the callable to be stored, e.g. int (char, void*).
CapacityThe static storage capacity available to store a callable in bytes.
Note
If the static storage is insufficient to store the callable we get a compile time error.

Definition at line 42 of file static_function.hpp.

◆ Unexpected

template<typename E>
using iox2::bb::Unexpected = iox2::bb::variation::Unexpected<E>

Definition at line 24 of file expected.hpp.

◆ UnexpectT

using iox2::bb::UnexpectT = iox2::bb::variation::UnexpectT

Definition at line 27 of file expected.hpp.

Enumeration Type Documentation

◆ LayoutCreationError

enum class iox2::bb::LayoutCreationError : uint8_t
strong

Defines all errors that can occur while creating a new [Layout].

Enumerator
InvalidAlignment 

The provided alignment was not a power of two.

Definition at line 24 of file layout.hpp.

◆ SemanticStringError

enum class iox2::bb::SemanticStringError : uint8_t
strong

Defines errors which can occur when modifying or creating a SemanticString.

Enumerator
InvalidContent 
ExceedsMaximumLength 

Definition at line 26 of file semantic_string.hpp.

Function Documentation

◆ err() [1/2]

template<typename E>
auto iox2::bb::err ( const E & error) ->Unexpected< E >
constexpr

Definition at line 33 of file expected.hpp.

Referenced by iox2::Listener< ServiceType >::blocking_wait(), iox2::bb::Layout::create(), iox2::bb::SemanticString< Child, Capacity, DoesContainInvalidContentCall, DoesContainInvalidCharacterCall >::create(), iox2::PortFactoryClient< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::create(), iox2::PortFactoryListener< S >::create(), iox2::PortFactoryPublisher< S, Payload, UserHeader >::create(), iox2::PortFactoryReader< S, KeyType >::create(), iox2::PortFactoryServer< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::create(), iox2::PortFactorySubscriber< S, Payload, UserHeader >::create(), iox2::PortFactoryWriter< S, KeyType >::create(), iox2::ServiceBuilderBlackboardCreator< KeyType, S >::create(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::create(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::create(), iox2::ServiceBuilderBlackboardCreator< KeyType, S >::create_with_attributes(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::create_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::create_with_attributes(), iox2::UniqueNodeId::creation_time(), iox2::Reader< S, KeyType >::entry(), iox2::Writer< S, KeyType >::entry(), iox2::bb::testing::has_error(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::has_requests(), iox2::Subscriber< S, Payload, UserHeader >::has_samples(), iox2::bb::SemanticString< Child, Capacity, DoesContainInvalidContentCall, DoesContainInvalidCharacterCall >::insert(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan(), iox2::Publisher< S, Payload, UserHeader >::loan(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_flatbuffer(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_flatbuffer(), iox2::Publisher< S, Payload, UserHeader >::loan_flatbuffer(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice(), iox2::Publisher< S, Payload, UserHeader >::loan_slice(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice_uninit(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice_uninit(), iox2::Publisher< S, Payload, UserHeader >::loan_slice_uninit(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_uninit(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_uninit(), iox2::Publisher< S, Payload, UserHeader >::loan_uninit(), iox2::PortFactoryBlackboard< S, KeyType >::nodes(), iox2::PortFactoryPublishSubscribe< S, Payload, UserHeader >::nodes(), iox2::PortFactoryRequestResponse< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::nodes(), iox2::ServiceBuilderBlackboardOpener< KeyType, S >::open(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_or_create(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_or_create(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_or_create_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_or_create_with_attributes(), iox2::ServiceBuilderBlackboardOpener< KeyType, S >::open_with_attributes(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_with_attributes(), iox2::UniqueNodeId::pid(), iox2::PendingResponse< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::receive(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::receive(), iox2::Subscriber< S, Payload, UserHeader >::receive(), iox2::send(), iox2::send(), iox2::send(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_copy(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_copy(), iox2::Publisher< S, Payload, UserHeader >::send_copy(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_slice_copy(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_slice_copy(), iox2::Publisher< S, Payload, UserHeader >::send_slice_copy(), iox2::Listener< ServiceType >::timed_wait(), iox2::Listener< ServiceType >::try_wait(), iox2::bb::stl::Unexpected< E >::Unexpected(), and iox2::Publisher< S, Payload, UserHeader >::update_connections().

◆ err() [2/2]

template<typename E, std::enable_if_t<!std::is_lvalue_reference< E >::value, bool > = true>
auto iox2::bb::err ( E && error) ->Unexpected< E >
constexpr

Definition at line 38 of file expected.hpp.

◆ from()

template<typename SourceType, typename DestinationType>
auto iox2::bb::from ( const SourceType value) ->typenamedetail::ExtractIntoType< DestinationType >::TargetType
constexprnoexcept

Converts a value of type SourceType to a corresponding value of type DestinationType. This function needs to be specialized by the user for the types to be converted. If a partial specialization is needed, please have a look at 'From'.

Note
If the conversion is potentially lossy 'Destination from<Source, Destination>(...)' should not be used but instead either one or both of:
  • 'Destination from<Source, Lossy<Destination>>(...)'
  • 'optional<Destination> from<Source, optional<Destination>>(...)' The 'Destination from<Source, Destination>(...)' implementation should have a 'static_assert' with a hint of the reason, e.g. lossy conversion and a hint to use 'Destination into<Lossy<Destination>>(...)' or 'optional<Destination> into<optional<Destination>>(...)'. The 'std_string_support.hpp' can be used as a source of inspiration for an implementation and error message.
    enum class LowLevel
    {
    FileDescriptorInvalid,
    FileDescriptorCorrupt,
    Timeout
    };
    enum class HighLevel
    {
    FileDescriptorError,
    Timeout
    };
    namespace iox
    {
    template <>
    constexpr HighLevel from<LowLevel, HighLevel>(LowLevel e) noexcept
    {
    switch (e)
    {
    case LowLevel::FileDescriptorCorrupt:
    return HighLevel::FileDescriptorError;
    case LowLevel::FileDescriptorInvalid:
    return HighLevel::FileDescriptorError;
    case LowLevel::Timeout:
    return HighLevel::Timeout;
    }
    }
    } } // namespace iox
Template Parameters
SourceTypeis the 'from' type
DestinationTypeis the 'to' type
Parameters
[in]valueof type SourceType to convert to DestinationType
Returns
converted value of SourceType to corresponding value of DestinationType

Definition at line 105 of file into.hpp.

References iox2::bb::From< SourceType, DestinationType >::from().

Referenced by into().

◆ from< int, iox2::AllocationStrategy >()

template<>
auto iox2::bb::from< int, iox2::AllocationStrategy > ( const int value) ->iox2::AllocationStrategy
constexprnoexcept

Definition at line 2624 of file enum_translation.hpp.

References iox2::BestFit, IOX2_UNREACHABLE, iox2::PowerOfTwo, and iox2::Static.

◆ from< int, iox2::AttributeDefinitionError >()

template<>
auto iox2::bb::from< int, iox2::AttributeDefinitionError > ( const int value) ->iox2::AttributeDefinitionError
constexprnoexcept

Definition at line 3017 of file enum_translation.hpp.

References iox2::ExceedsMaxSupportedAttributes, and IOX2_UNREACHABLE.

◆ from< int, iox2::AttributeVerificationError >()

template<>
auto iox2::bb::from< int, iox2::AttributeVerificationError > ( const int value) ->iox2::AttributeVerificationError
constexprnoexcept

◆ from< int, iox2::BackpressureStrategy >()

template<>
auto iox2::bb::from< int, iox2::BackpressureStrategy > ( const int value) ->iox2::BackpressureStrategy
constexprnoexcept

◆ from< int, iox2::bb::SemanticStringError >()

template<>
auto iox2::bb::from< int, iox2::bb::SemanticStringError > ( const int value) ->iox2::bb::SemanticStringError
constexprnoexcept

Definition at line 58 of file enum_translation.hpp.

References ExceedsMaximumLength, InvalidContent, and IOX2_UNREACHABLE.

◆ from< int, iox2::BlackboardCreateError >()

◆ from< int, iox2::BlackboardOpenError >()

◆ from< int, iox2::CallbackProgression >()

template<>
auto iox2::bb::from< int, iox2::CallbackProgression > ( const int value) ->iox2::CallbackProgression
constexprnoexcept

Definition at line 170 of file enum_translation.hpp.

References iox2::Continue, IOX2_UNREACHABLE, and iox2::Stop.

◆ from< int, iox2::ClientCreateError >()

◆ from< int, iox2::ConfigCreationError >()

◆ from< int, iox2::ConnectionFailure >()

template<>
auto iox2::bb::from< int, iox2::ConnectionFailure > ( const int value) ->iox2::ConnectionFailure
constexprnoexcept

◆ from< int, iox2::EntryHandleError >()

template<>
auto iox2::bb::from< int, iox2::EntryHandleError > ( const int value) ->iox2::EntryHandleError
constexprnoexcept

Definition at line 1959 of file enum_translation.hpp.

References iox2::EntryDoesNotExist, and IOX2_UNREACHABLE.

◆ from< int, iox2::EntryHandleMutError >()

template<>
auto iox2::bb::from< int, iox2::EntryHandleMutError > ( const int value) ->iox2::EntryHandleMutError
constexprnoexcept

◆ from< int, iox2::EventCreateError >()

◆ from< int, iox2::EventOpenError >()

◆ from< int, iox2::EventOpenOrCreateError >()

◆ from< int, iox2::ListenerCreateError >()

◆ from< int, iox2::ListenerWaitError >()

◆ from< int, iox2::LoanError >()

template<>
auto iox2::bb::from< int, iox2::LoanError > ( const int value) ->iox2::LoanError
constexprnoexcept

◆ from< int, iox2::LogLevel >()

template<>
auto iox2::bb::from< int, iox2::LogLevel > ( int value) ->iox2::LogLevel
constexprnoexcept

◆ from< int, iox2::MessagingPattern >()

template<>
auto iox2::bb::from< int, iox2::MessagingPattern > ( const int value) ->iox2::MessagingPattern
constexprnoexcept

◆ from< int, iox2::NodeCleanupFailure >()

◆ from< int, iox2::NodeCreationFailure >()

◆ from< int, iox2::NodeListFailure >()

template<>
auto iox2::bb::from< int, iox2::NodeListFailure > ( const int value) ->iox2::NodeListFailure
constexprnoexcept

◆ from< int, iox2::NodeWaitFailure >()

template<>
auto iox2::bb::from< int, iox2::NodeWaitFailure > ( const int value) ->iox2::NodeWaitFailure
constexprnoexcept

◆ from< int, iox2::NotifierCreateError >()

◆ from< int, iox2::NotifierNotifyError >()

◆ from< int, iox2::PublisherCreateError >()

◆ from< int, iox2::PublishSubscribeCreateError >()

◆ from< int, iox2::PublishSubscribeOpenError >()

◆ from< int, iox2::PublishSubscribeOpenOrCreateError >()

template<>
auto iox2::bb::from< int, iox2::PublishSubscribeOpenOrCreateError > ( const int value) ->iox2::PublishSubscribeOpenOrCreateError
constexprnoexcept

Definition at line 741 of file enum_translation.hpp.

References iox2::CreateAlreadyExists, iox2::CreateHangsInCreation, iox2::CreateInsufficientPermissions, iox2::CreateInternalFailure, iox2::CreateInterrupt, iox2::CreateInvalidTypeDefinition, iox2::CreateIsBeingCreatedByAnotherInstance, iox2::CreateServiceConfigCouldNotBeCreated, iox2::CreateServiceInCorruptedState, iox2::CreateSubscriberBufferMustBeLargerThanHistorySize, iox2::CreateTypeDefinitionHasNoRootType, iox2::CreateUnableToAcquireTypeDefinition, iox2::CreateUnableToCreateServiceTag, iox2::CreateUnableToGenerateUniqueServiceId, IOX2_UNREACHABLE, iox2::OpenDoesNotExist, iox2::OpenDoesNotSupportRequestedAmountOfNodes, iox2::OpenDoesNotSupportRequestedAmountOfPublishers, iox2::OpenDoesNotSupportRequestedAmountOfSubscribers, iox2::OpenDoesNotSupportRequestedMinBufferSize, iox2::OpenDoesNotSupportRequestedMinHistorySize, iox2::OpenDoesNotSupportRequestedMinSubscriberBorrowedSamples, iox2::OpenExceedsMaxNumberOfNodes, iox2::OpenHangsInCreation, iox2::OpenIncompatibleAttributes, iox2::OpenIncompatibleMessagingPattern, iox2::OpenIncompatibleOverflowBehavior, iox2::OpenIncompatibleTypes, iox2::OpenInsufficientPermissions, iox2::OpenInternalFailure, iox2::OpenInterrupt, iox2::OpenInvalidTypeDefinition, iox2::OpenIsMarkedForDestruction, iox2::OpenServiceInCorruptedState, iox2::OpenTypeDefinitionHasNoRootType, iox2::OpenUnableToAcquireTypeDefinition, iox2::OpenUnableToCreateServiceTag, iox2::OpenVersionMismatch, and iox2::SystemInFlux.

◆ from< int, iox2::ReaderCreateError >()

◆ from< int, iox2::ReceiveError >()

◆ from< int, iox2::RequestResponseCreateError >()

◆ from< int, iox2::RequestResponseOpenError >()

◆ from< int, iox2::RequestResponseOpenOrCreateError >()

template<>
auto iox2::bb::from< int, iox2::RequestResponseOpenOrCreateError > ( const int value) ->iox2::RequestResponseOpenOrCreateError
constexprnoexcept

Definition at line 1497 of file enum_translation.hpp.

References iox2::CreateAlreadyExists, iox2::CreateHangsInCreation, iox2::CreateInsufficientPermissions, iox2::CreateInternalFailure, iox2::CreateInterrupt, iox2::CreateInvalidTypeDefinition, iox2::CreateIsBeingCreatedByAnotherInstance, iox2::CreateServiceConfigCouldNotBeCreated, iox2::CreateServiceInCorruptedState, iox2::CreateTypeDefinitionHasNoRootType, iox2::CreateUnableToAcquireTypeDefinition, iox2::CreateUnableToCreateServiceTag, iox2::CreateUnableToGenerateUniqueServiceId, IOX2_UNREACHABLE, iox2::OpenDoesNotExist, iox2::OpenDoesNotSupportRequestedAmountOfActiveRequestsPerClient, iox2::OpenDoesNotSupportRequestedAmountOfClientRequestLoans, iox2::OpenDoesNotSupportRequestedAmountOfClients, iox2::OpenDoesNotSupportRequestedAmountOfNodes, iox2::OpenDoesNotSupportRequestedAmountOfServers, iox2::OpenDoesNotSupportRequestedResponseBufferSize, iox2::OpenExceedsMaxNumberOfNodes, iox2::OpenHangsInCreation, iox2::OpenIncompatibleAttributes, iox2::OpenIncompatibleBehaviorForFireAndForgetRequests, iox2::OpenIncompatibleMessagingPattern, iox2::OpenIncompatibleOverflowBehaviorForRequests, iox2::OpenIncompatibleOverflowBehaviorForResponses, iox2::OpenIncompatibleRequestOrResponseType, iox2::OpenInsufficientPermissions, iox2::OpenInternalFailure, iox2::OpenInterrupt, iox2::OpenInvalidTypeDefinition, iox2::OpenIsMarkedForDestruction, iox2::OpenServiceInCorruptedState, iox2::OpenTypeDefinitionHasNoRootType, iox2::OpenUnableToAcquireTypeDefinition, iox2::OpenUnableToCreateServiceTag, iox2::OpenVersionMismatch, and iox2::SystemInFlux.

◆ from< int, iox2::RequestSendError >()

◆ from< int, iox2::SendError >()

◆ from< int, iox2::ServerCreateError >()

◆ from< int, iox2::ServiceDetailsError >()

◆ from< int, iox2::ServiceListError >()

template<>
auto iox2::bb::from< int, iox2::ServiceListError > ( const int value) ->iox2::ServiceListError
constexprnoexcept

◆ from< int, iox2::ServiceType >()

template<>
auto iox2::bb::from< int, iox2::ServiceType > ( const int value) ->iox2::ServiceType
constexprnoexcept

Definition at line 91 of file enum_translation.hpp.

References IOX2_UNREACHABLE, iox2::Ipc, and iox2::Local.

◆ from< int, iox2::SignalHandlingMode >()

template<>
auto iox2::bb::from< int, iox2::SignalHandlingMode > ( const int value) ->iox2::SignalHandlingMode
constexprnoexcept

◆ from< int, iox2::SubscriberCreateError >()

◆ from< int, iox2::TypeVariant >()

template<>
auto iox2::bb::from< int, iox2::TypeVariant > ( const int value) ->iox2::TypeVariant
constexprnoexcept

Definition at line 2538 of file enum_translation.hpp.

References iox2::Dynamic, iox2::FixedSize, and IOX2_UNREACHABLE.

◆ from< int, iox2::UniqueIdGeneratorDetailsError >()

template<>
auto iox2::bb::from< int, iox2::UniqueIdGeneratorDetailsError > ( const int value) ->iox2::UniqueIdGeneratorDetailsError
constexprnoexcept

Definition at line 3091 of file enum_translation.hpp.

References IOX2_UNREACHABLE, and iox2::NotImplemented.

◆ from< int, iox2::WaitSetAttachmentError >()

◆ from< int, iox2::WaitSetCreateError >()

template<>
auto iox2::bb::from< int, iox2::WaitSetCreateError > ( const int value) ->iox2::WaitSetCreateError
constexprnoexcept

◆ from< int, iox2::WaitSetRunError >()

◆ from< int, iox2::WaitSetRunResult >()

template<>
auto iox2::bb::from< int, iox2::WaitSetRunResult > ( const int value) ->iox2::WaitSetRunResult
constexprnoexcept

◆ from< int, iox2::WriterCreateError >()

◆ from< iox2::AllocationStrategy, int >()

template<>
auto iox2::bb::from< iox2::AllocationStrategy, int > ( const iox2::AllocationStrategy value) ->int
constexprnoexcept

Definition at line 2639 of file enum_translation.hpp.

References iox2::BestFit, IOX2_UNREACHABLE, iox2::PowerOfTwo, and iox2::Static.

◆ from< iox2::AllocationStrategy, iox2_allocation_strategy_e >()

template<>
auto iox2::bb::from< iox2::AllocationStrategy, iox2_allocation_strategy_e > ( const iox2::AllocationStrategy value) ->iox2_allocation_strategy_e
constexprnoexcept

Definition at line 2966 of file enum_translation.hpp.

References iox2::BestFit, IOX2_UNREACHABLE, iox2::PowerOfTwo, and iox2::Static.

◆ from< iox2::BackpressureAction, iox2_backpressure_action_e >()

template<>
auto iox2::bb::from< iox2::BackpressureAction, iox2_backpressure_action_e > ( const iox2::BackpressureAction value) ->iox2_backpressure_action_e
constexprnoexcept

◆ from< iox2::BackpressureStrategy, int >()

template<>
auto iox2::bb::from< iox2::BackpressureStrategy, int > ( const iox2::BackpressureStrategy value) ->int
constexprnoexcept

◆ from< iox2::bb::SemanticStringError, const char * >()

template<>
auto iox2::bb::from< iox2::bb::SemanticStringError, const char * > ( const iox2::bb::SemanticStringError value) ->constchar *
inlinenoexcept

Definition at line 85 of file enum_translation.hpp.

References into().

◆ from< iox2::bb::SemanticStringError, iox2_semantic_string_error_e >()

template<>
auto iox2::bb::from< iox2::bb::SemanticStringError, iox2_semantic_string_error_e > ( const iox2::bb::SemanticStringError value) ->iox2_semantic_string_error_e
constexprnoexcept

Definition at line 71 of file enum_translation.hpp.

References ExceedsMaximumLength, InvalidContent, and IOX2_UNREACHABLE.

◆ from< iox2::BlackboardCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::BlackboardCreateError, const char * > ( const iox2::BlackboardCreateError value) ->constchar *
inlinenoexcept

Definition at line 1753 of file enum_translation.hpp.

References into().

◆ from< iox2::BlackboardCreateError, iox2_blackboard_create_error_e >()

◆ from< iox2::BlackboardOpenError, const char * >()

template<>
auto iox2::bb::from< iox2::BlackboardOpenError, const char * > ( const iox2::BlackboardOpenError value) ->constchar *
inlinenoexcept

Definition at line 1838 of file enum_translation.hpp.

References into().

◆ from< iox2::BlackboardOpenError, iox2_blackboard_open_error_e >()

◆ from< iox2::CallbackProgression, iox2_callback_progression_e >()

template<>
auto iox2::bb::from< iox2::CallbackProgression, iox2_callback_progression_e > ( const iox2::CallbackProgression value) ->iox2_callback_progression_e
constexprnoexcept

Definition at line 183 of file enum_translation.hpp.

References iox2::Continue, IOX2_UNREACHABLE, and iox2::Stop.

◆ from< iox2::ClientCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::ClientCreateError, const char * > ( const iox2::ClientCreateError value) ->constchar *
inlinenoexcept

Definition at line 2028 of file enum_translation.hpp.

References into().

◆ from< iox2::ClientCreateError, iox2_client_create_error_e >()

◆ from< iox2::ConfigCreationError, const char * >()

template<>
auto iox2::bb::from< iox2::ConfigCreationError, const char * > ( const iox2::ConfigCreationError value) ->constchar *
inlinenoexcept

Definition at line 2726 of file enum_translation.hpp.

References into().

◆ from< iox2::ConfigCreationError, iox2_config_creation_error_e >()

template<>
auto iox2::bb::from< iox2::ConfigCreationError, iox2_config_creation_error_e > ( const iox2::ConfigCreationError value) ->iox2_config_creation_error_e
constexprnoexcept

◆ from< iox2::ConnectionFailure, const char * >()

template<>
auto iox2::bb::from< iox2::ConnectionFailure, const char * > ( const iox2::ConnectionFailure value) ->constchar *
inlinenoexcept

Definition at line 2679 of file enum_translation.hpp.

References into().

◆ from< iox2::ConnectionFailure, iox2_connection_failure_e >()

template<>
auto iox2::bb::from< iox2::ConnectionFailure, iox2_connection_failure_e > ( const iox2::ConnectionFailure value) ->iox2_connection_failure_e
constexprnoexcept

◆ from< iox2::DegradationAction, iox2_degradation_action_e >()

template<>
auto iox2::bb::from< iox2::DegradationAction, iox2_degradation_action_e > ( const iox2::DegradationAction value) ->iox2_degradation_action_e
constexprnoexcept

◆ from< iox2::EntryHandleError, const char * >()

template<>
auto iox2::bb::from< iox2::EntryHandleError, const char * > ( const iox2::EntryHandleError value) ->constchar *
inlinenoexcept

Definition at line 1981 of file enum_translation.hpp.

References into().

◆ from< iox2::EntryHandleError, iox2_entry_handle_error_e >()

template<>
auto iox2::bb::from< iox2::EntryHandleError, iox2_entry_handle_error_e > ( const iox2::EntryHandleError value) ->iox2_entry_handle_error_e
constexprnoexcept

Definition at line 1970 of file enum_translation.hpp.

References iox2::EntryDoesNotExist, and IOX2_UNREACHABLE.

◆ from< iox2::EntryHandleMutError, const char * >()

template<>
auto iox2::bb::from< iox2::EntryHandleMutError, const char * > ( const iox2::EntryHandleMutError value) ->constchar *
inlinenoexcept

Definition at line 1914 of file enum_translation.hpp.

References into().

◆ from< iox2::EntryHandleMutError, iox2_entry_handle_mut_error_e >()

template<>
auto iox2::bb::from< iox2::EntryHandleMutError, iox2_entry_handle_mut_error_e > ( const iox2::EntryHandleMutError value) ->iox2_entry_handle_mut_error_e
constexprnoexcept

◆ from< iox2::EventCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::EventCreateError, const char * > ( const iox2::EventCreateError value) ->constchar *
inlinenoexcept

Definition at line 736 of file enum_translation.hpp.

References into().

◆ from< iox2::EventCreateError, iox2_event_open_or_create_error_e >()

◆ from< iox2::EventOpenError, const char * >()

template<>
auto iox2::bb::from< iox2::EventOpenError, const char * > ( const iox2::EventOpenError value) ->constchar *
inlinenoexcept

Definition at line 625 of file enum_translation.hpp.

References into().

◆ from< iox2::EventOpenError, iox2_event_open_or_create_error_e >()

◆ from< iox2::EventOpenOrCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::EventOpenOrCreateError, const char * > ( const iox2::EventOpenOrCreateError value) ->constchar *
inlinenoexcept

Definition at line 496 of file enum_translation.hpp.

References into().

◆ from< iox2::EventOpenOrCreateError, iox2_event_open_or_create_error_e >()

◆ from< iox2::ListenerCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::ListenerCreateError, const char * > ( const iox2::ListenerCreateError value) ->constchar *
inlinenoexcept

Definition at line 2156 of file enum_translation.hpp.

References into().

◆ from< iox2::ListenerCreateError, iox2_listener_create_error_e >()

◆ from< iox2::ListenerWaitError, const char * >()

template<>
auto iox2::bb::from< iox2::ListenerWaitError, const char * > ( const iox2::ListenerWaitError value) ->constchar *
inlinenoexcept

Definition at line 2241 of file enum_translation.hpp.

References into().

◆ from< iox2::ListenerWaitError, iox2_listener_wait_error_e >()

template<>
auto iox2::bb::from< iox2::ListenerWaitError, iox2_listener_wait_error_e > ( const iox2::ListenerWaitError value) ->iox2_listener_wait_error_e
constexprnoexcept

◆ from< iox2::LoanError, const char * >()

template<>
auto iox2::bb::from< iox2::LoanError, const char * > ( const iox2::LoanError value) ->constchar *
inlinenoexcept

Definition at line 2470 of file enum_translation.hpp.

References into().

◆ from< iox2::LoanError, iox2_loan_error_e >()

template<>
auto iox2::bb::from< iox2::LoanError, iox2_loan_error_e > ( const iox2::LoanError value) ->iox2_loan_error_e
constexprnoexcept

◆ from< iox2::LogLevel, iox2_log_level_e >()

template<>
auto iox2::bb::from< iox2::LogLevel, iox2_log_level_e > ( iox2::LogLevel value) ->iox2_log_level_e
constexprnoexcept

◆ from< iox2::MessagingPattern, iox2_messaging_pattern_e >()

template<>
auto iox2::bb::from< iox2::MessagingPattern, iox2_messaging_pattern_e > ( const iox2::MessagingPattern value) ->iox2_messaging_pattern_e
constexprnoexcept

◆ from< iox2::NodeCreationFailure, const char * >()

template<>
auto iox2::bb::from< iox2::NodeCreationFailure, const char * > ( const iox2::NodeCreationFailure value) ->constchar *
inlinenoexcept

Definition at line 164 of file enum_translation.hpp.

References into().

◆ from< iox2::NodeCreationFailure, iox2_node_creation_failure_e >()

◆ from< iox2::NodeListFailure, const char * >()

template<>
auto iox2::bb::from< iox2::NodeListFailure, const char * > ( const iox2::NodeListFailure value) ->constchar *
inlinenoexcept

Definition at line 227 of file enum_translation.hpp.

References into().

◆ from< iox2::NodeListFailure, iox2_node_list_failure_e >()

template<>
auto iox2::bb::from< iox2::NodeListFailure, iox2_node_list_failure_e > ( const iox2::NodeListFailure value) ->iox2_node_list_failure_e
constexprnoexcept

◆ from< iox2::NodeWaitFailure, const char * >()

template<>
auto iox2::bb::from< iox2::NodeWaitFailure, const char * > ( const iox2::NodeWaitFailure value) ->constchar *
inlinenoexcept

Definition at line 262 of file enum_translation.hpp.

References into().

◆ from< iox2::NodeWaitFailure, iox2_node_wait_failure_e >()

template<>
auto iox2::bb::from< iox2::NodeWaitFailure, iox2_node_wait_failure_e > ( const iox2::NodeWaitFailure value) ->iox2_node_wait_failure_e
constexprnoexcept

◆ from< iox2::NotifierCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::NotifierCreateError, const char * > ( const iox2::NotifierCreateError value) ->constchar *
inlinenoexcept

Definition at line 2111 of file enum_translation.hpp.

References into().

◆ from< iox2::NotifierCreateError, iox2_notifier_create_error_e >()

template<>
auto iox2::bb::from< iox2::NotifierCreateError, iox2_notifier_create_error_e > ( const iox2::NotifierCreateError value) ->iox2_notifier_create_error_e
constexprnoexcept

◆ from< iox2::NotifierNotifyError, const char * >()

template<>
auto iox2::bb::from< iox2::NotifierNotifyError, const char * > ( const iox2::NotifierNotifyError value) ->constchar *
inlinenoexcept

Definition at line 2197 of file enum_translation.hpp.

References into().

◆ from< iox2::NotifierNotifyError, iox2_notifier_notify_error_e >()

template<>
auto iox2::bb::from< iox2::NotifierNotifyError, iox2_notifier_notify_error_e > ( const iox2::NotifierNotifyError value) ->iox2_notifier_notify_error_e
constexprnoexcept

◆ from< iox2::PublisherCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::PublisherCreateError, const char * > ( const iox2::PublisherCreateError value) ->constchar *
inlinenoexcept

Definition at line 2285 of file enum_translation.hpp.

References into().

◆ from< iox2::PublisherCreateError, iox2_publisher_create_error_e >()

◆ from< iox2::PublishSubscribeCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::PublishSubscribeCreateError, const char * > ( const iox2::PublishSubscribeCreateError value) ->constchar *
inlinenoexcept

Definition at line 1103 of file enum_translation.hpp.

References into().

◆ from< iox2::PublishSubscribeCreateError, iox2_pub_sub_open_or_create_error_e >()

◆ from< iox2::PublishSubscribeOpenError, const char * >()

template<>
auto iox2::bb::from< iox2::PublishSubscribeOpenError, const char * > ( const iox2::PublishSubscribeOpenError value) ->constchar *
inlinenoexcept

Definition at line 972 of file enum_translation.hpp.

References into().

◆ from< iox2::PublishSubscribeOpenError, iox2_pub_sub_open_or_create_error_e >()

◆ from< iox2::PublishSubscribeOpenOrCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::PublishSubscribeOpenOrCreateError, const char * > ( const iox2::PublishSubscribeOpenOrCreateError value) ->constchar *
inlinenoexcept

Definition at line 1196 of file enum_translation.hpp.

References into().

◆ from< iox2::PublishSubscribeOpenOrCreateError, iox2_pub_sub_open_or_create_error_e >()

template<>
auto iox2::bb::from< iox2::PublishSubscribeOpenOrCreateError, iox2_pub_sub_open_or_create_error_e > ( const iox2::PublishSubscribeOpenOrCreateError value) ->iox2_pub_sub_open_or_create_error_e
constexprnoexcept

Definition at line 1109 of file enum_translation.hpp.

References iox2::CreateAlreadyExists, iox2::CreateHangsInCreation, iox2::CreateInsufficientPermissions, iox2::CreateInternalFailure, iox2::CreateInterrupt, iox2::CreateInvalidTypeDefinition, iox2::CreateIsBeingCreatedByAnotherInstance, iox2::CreateServiceConfigCouldNotBeCreated, iox2::CreateServiceInCorruptedState, iox2::CreateSubscriberBufferMustBeLargerThanHistorySize, iox2::CreateTypeDefinitionHasNoRootType, iox2::CreateUnableToAcquireTypeDefinition, iox2::CreateUnableToCreateServiceTag, iox2::CreateUnableToGenerateUniqueServiceId, IOX2_UNREACHABLE, iox2::OpenDoesNotExist, iox2::OpenDoesNotSupportRequestedAmountOfNodes, iox2::OpenDoesNotSupportRequestedAmountOfPublishers, iox2::OpenDoesNotSupportRequestedAmountOfSubscribers, iox2::OpenDoesNotSupportRequestedMinBufferSize, iox2::OpenDoesNotSupportRequestedMinHistorySize, iox2::OpenDoesNotSupportRequestedMinSubscriberBorrowedSamples, iox2::OpenExceedsMaxNumberOfNodes, iox2::OpenHangsInCreation, iox2::OpenIncompatibleAttributes, iox2::OpenIncompatibleMessagingPattern, iox2::OpenIncompatibleOverflowBehavior, iox2::OpenIncompatibleTypes, iox2::OpenInsufficientPermissions, iox2::OpenInternalFailure, iox2::OpenInterrupt, iox2::OpenInvalidTypeDefinition, iox2::OpenIsMarkedForDestruction, iox2::OpenServiceInCorruptedState, iox2::OpenTypeDefinitionHasNoRootType, iox2::OpenUnableToAcquireTypeDefinition, iox2::OpenUnableToCreateServiceTag, iox2::OpenVersionMismatch, and iox2::SystemInFlux.

◆ from< iox2::ReaderCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::ReaderCreateError, const char * > ( const iox2::ReaderCreateError value) ->constchar *
inlinenoexcept

Definition at line 1954 of file enum_translation.hpp.

References into().

◆ from< iox2::ReaderCreateError, iox2_reader_create_error_e >()

template<>
auto iox2::bb::from< iox2::ReaderCreateError, iox2_reader_create_error_e > ( const iox2::ReaderCreateError value) ->iox2_reader_create_error_e
constexprnoexcept

◆ from< iox2::ReceiveError, const char * >()

template<>
auto iox2::bb::from< iox2::ReceiveError, const char * > ( const iox2::ReceiveError value) ->constchar *
inlinenoexcept

Definition at line 2432 of file enum_translation.hpp.

References into().

◆ from< iox2::ReceiveError, iox2_receive_error_e >()

template<>
auto iox2::bb::from< iox2::ReceiveError, iox2_receive_error_e > ( const iox2::ReceiveError value) ->iox2_receive_error_e
constexprnoexcept

◆ from< iox2::RequestResponseCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::RequestResponseCreateError, const char * > ( const iox2::RequestResponseCreateError value) ->constchar *
inlinenoexcept

Definition at line 1331 of file enum_translation.hpp.

References into().

◆ from< iox2::RequestResponseCreateError, iox2_request_response_open_or_create_error_e >()

◆ from< iox2::RequestResponseOpenError, const char * >()

template<>
auto iox2::bb::from< iox2::RequestResponseOpenError, const char * > ( const iox2::RequestResponseOpenError value) ->constchar *
inlinenoexcept

Definition at line 1490 of file enum_translation.hpp.

References into().

◆ from< iox2::RequestResponseOpenError, iox2_request_response_open_or_create_error_e >()

◆ from< iox2::RequestResponseOpenOrCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::RequestResponseOpenOrCreateError, const char * > ( const iox2::RequestResponseOpenOrCreateError value) ->constchar *
inlinenoexcept

Definition at line 1682 of file enum_translation.hpp.

References into().

◆ from< iox2::RequestResponseOpenOrCreateError, iox2_request_response_open_or_create_error_e >()

template<>
auto iox2::bb::from< iox2::RequestResponseOpenOrCreateError, iox2_request_response_open_or_create_error_e > ( const iox2::RequestResponseOpenOrCreateError value) ->iox2_request_response_open_or_create_error_e
constexprnoexcept

Definition at line 1590 of file enum_translation.hpp.

References iox2::CreateAlreadyExists, iox2::CreateHangsInCreation, iox2::CreateInsufficientPermissions, iox2::CreateInternalFailure, iox2::CreateInterrupt, iox2::CreateInvalidTypeDefinition, iox2::CreateIsBeingCreatedByAnotherInstance, iox2::CreateServiceConfigCouldNotBeCreated, iox2::CreateServiceInCorruptedState, iox2::CreateTypeDefinitionHasNoRootType, iox2::CreateUnableToAcquireTypeDefinition, iox2::CreateUnableToCreateServiceTag, iox2::CreateUnableToGenerateUniqueServiceId, IOX2_UNREACHABLE, iox2::OpenDoesNotExist, iox2::OpenDoesNotSupportRequestedAmountOfActiveRequestsPerClient, iox2::OpenDoesNotSupportRequestedAmountOfBorrowedResponsesPerPendingResponse, iox2::OpenDoesNotSupportRequestedAmountOfClientRequestLoans, iox2::OpenDoesNotSupportRequestedAmountOfClients, iox2::OpenDoesNotSupportRequestedAmountOfNodes, iox2::OpenDoesNotSupportRequestedAmountOfServers, iox2::OpenDoesNotSupportRequestedResponseBufferSize, iox2::OpenExceedsMaxNumberOfNodes, iox2::OpenHangsInCreation, iox2::OpenIncompatibleAttributes, iox2::OpenIncompatibleBehaviorForFireAndForgetRequests, iox2::OpenIncompatibleMessagingPattern, iox2::OpenIncompatibleOverflowBehaviorForRequests, iox2::OpenIncompatibleOverflowBehaviorForResponses, iox2::OpenIncompatibleRequestOrResponseType, iox2::OpenInsufficientPermissions, iox2::OpenInternalFailure, iox2::OpenInterrupt, iox2::OpenInvalidTypeDefinition, iox2::OpenIsMarkedForDestruction, iox2::OpenServiceInCorruptedState, iox2::OpenTypeDefinitionHasNoRootType, iox2::OpenUnableToAcquireTypeDefinition, iox2::OpenUnableToCreateServiceTag, iox2::OpenVersionMismatch, and iox2::SystemInFlux.

◆ from< iox2::RequestSendError, const char * >()

template<>
auto iox2::bb::from< iox2::RequestSendError, const char * > ( const iox2::RequestSendError value) ->constchar *
inlinenoexcept

Definition at line 2533 of file enum_translation.hpp.

References into().

◆ from< iox2::RequestSendError, iox2_request_send_error_e >()

◆ from< iox2::SendError, const char * >()

template<>
auto iox2::bb::from< iox2::SendError, const char * > ( const iox2::SendError value) ->constchar *
inlinenoexcept

Definition at line 2397 of file enum_translation.hpp.

References into().

◆ from< iox2::SendError, iox2_send_error_e >()

◆ from< iox2::ServerCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::ServerCreateError, const char * > ( const iox2::ServerCreateError value) ->constchar *
inlinenoexcept

Definition at line 2071 of file enum_translation.hpp.

References into().

◆ from< iox2::ServerCreateError, iox2_server_create_error_e >()

◆ from< iox2::ServiceDetailsError, const char * >()

template<>
auto iox2::bb::from< iox2::ServiceDetailsError, const char * > ( const iox2::ServiceDetailsError value) ->constchar *
inlinenoexcept

Definition at line 339 of file enum_translation.hpp.

References into().

◆ from< iox2::ServiceDetailsError, iox2_service_details_error_e >()

◆ from< iox2::ServiceListError, const char * >()

template<>
auto iox2::bb::from< iox2::ServiceListError, const char * > ( const iox2::ServiceListError value) ->constchar *
inlinenoexcept

Definition at line 2577 of file enum_translation.hpp.

References into().

◆ from< iox2::ServiceListError, iox2_service_list_error_e >()

template<>
auto iox2::bb::from< iox2::ServiceListError, iox2_service_list_error_e > ( const iox2::ServiceListError value) ->iox2_service_list_error_e
constexprnoexcept

◆ from< iox2::ServiceType, iox2_service_type_e >()

template<>
auto iox2::bb::from< iox2::ServiceType, iox2_service_type_e > ( const iox2::ServiceType value) ->iox2_service_type_e
constexprnoexcept

Definition at line 104 of file enum_translation.hpp.

References IOX2_UNREACHABLE, iox2::Ipc, and iox2::Local.

◆ from< iox2::SignalHandlingMode, iox2_signal_handling_mode_e >()

template<>
auto iox2::bb::from< iox2::SignalHandlingMode, iox2_signal_handling_mode_e > ( const iox2::SignalHandlingMode value) ->iox2_signal_handling_mode_e
constexprnoexcept

◆ from< iox2::SubscriberCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::SubscriberCreateError, const char * > ( const iox2::SubscriberCreateError value) ->constchar *
inlinenoexcept

Definition at line 2338 of file enum_translation.hpp.

References into().

◆ from< iox2::SubscriberCreateError, iox2_subscriber_create_error_e >()

◆ from< iox2::WaitSetAttachmentError, const char * >()

template<>
auto iox2::bb::from< iox2::WaitSetAttachmentError, const char * > ( const iox2::WaitSetAttachmentError value) ->constchar *
inlinenoexcept

Definition at line 2873 of file enum_translation.hpp.

References into().

◆ from< iox2::WaitSetAttachmentError, iox2_waitset_attachment_error_e >()

template<>
auto iox2::bb::from< iox2::WaitSetAttachmentError, iox2_waitset_attachment_error_e > ( const iox2::WaitSetAttachmentError value) ->iox2_waitset_attachment_error_e
constexprnoexcept

◆ from< iox2::WaitSetCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::WaitSetCreateError, const char * > ( const iox2::WaitSetCreateError value) ->constchar *
inlinenoexcept

Definition at line 2799 of file enum_translation.hpp.

References into().

◆ from< iox2::WaitSetCreateError, iox2_waitset_create_error_e >()

template<>
auto iox2::bb::from< iox2::WaitSetCreateError, iox2_waitset_create_error_e > ( const iox2::WaitSetCreateError value) ->iox2_waitset_create_error_e
constexprnoexcept

◆ from< iox2::WaitSetRunError, const char * >()

template<>
auto iox2::bb::from< iox2::WaitSetRunError, const char * > ( const iox2::WaitSetRunError value) ->constchar *
inlinenoexcept

Definition at line 2933 of file enum_translation.hpp.

References into().

◆ from< iox2::WaitSetRunError, iox2_waitset_run_error_e >()

◆ from< iox2::WaitSetRunResult, iox2_waitset_run_result_e >()

template<>
auto iox2::bb::from< iox2::WaitSetRunResult, iox2_waitset_run_result_e > ( const iox2::WaitSetRunResult value) ->iox2_waitset_run_result_e
constexprnoexcept

◆ from< iox2::WriterCreateError, const char * >()

template<>
auto iox2::bb::from< iox2::WriterCreateError, const char * > ( const iox2::WriterCreateError value) ->constchar *
inlinenoexcept

Definition at line 1882 of file enum_translation.hpp.

References into().

◆ from< iox2::WriterCreateError, iox2_writer_create_error_e >()

template<>
auto iox2::bb::from< iox2::WriterCreateError, iox2_writer_create_error_e > ( const iox2::WriterCreateError value) ->iox2_writer_create_error_e
constexprnoexcept

◆ from< iox2_degradation_cause_e, iox2::DegradationCause >()

template<>
auto iox2::bb::from< iox2_degradation_cause_e, iox2::DegradationCause > ( const iox2_degradation_cause_e value) ->iox2::DegradationCause
constexprnoexcept

◆ from< iox2_service_remove_error_e, iox2::ServiceRemoveError >()

template<>
auto iox2::bb::from< iox2_service_remove_error_e, iox2::ServiceRemoveError > ( const iox2_service_remove_error_e value) ->iox2::ServiceRemoveError
constexprnoexcept

◆ into()

template<typename DestinationType, typename SourceType>
auto iox2::bb::into ( const SourceType value) ->typenamedetail::ExtractIntoType< DestinationType >::TargetType
constexprnoexcept

Converts a value of type SourceType to a corresponding value of type DestinationType. This is a convenience function which is automatically available when 'from' is implemented. This function shall therefore not be specialized but always the 'from' function.

Bar b = iox2::bb::into<Bar>(Foo::ENUM_VALUE);
constexpr auto into(const SourceType value) noexcept -> typename detail::ExtractIntoType< DestinationType >::TargetType
Converts a value of type SourceType to a corresponding value of type DestinationType....
Definition into.hpp:120
Template Parameters
DestinationTypeis the 'to' type
SourceTypeis the 'from' type
Parameters
[in]valueof type SourceType to convert to DestinationType
Returns
converted value of SourceType to corresponding value of DestinationType

Definition at line 120 of file into.hpp.

References from().

Referenced by iox2::Publisher< S, Payload, UserHeader >::allocation_strategy(), iox2::detail::backpressure_handler_delegate(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::backpressure_strategy(), iox2::Publisher< S, Payload, UserHeader >::backpressure_strategy(), iox2::Listener< ServiceType >::blocking_wait(), iox2::PortFactoryClient< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::create(), iox2::PortFactoryListener< S >::create(), iox2::PortFactoryPublisher< S, Payload, UserHeader >::create(), iox2::PortFactoryReader< S, KeyType >::create(), iox2::PortFactoryServer< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::create(), iox2::PortFactorySubscriber< S, Payload, UserHeader >::create(), iox2::PortFactoryWriter< S, KeyType >::create(), iox2::ServiceBuilderBlackboardCreator< KeyType, S >::create(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::create(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::create(), iox2::ServiceBuilderBlackboardCreator< KeyType, S >::create_with_attributes(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::create_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::create_with_attributes(), iox2::UniqueNodeId::creation_time(), iox2::detail::degradation_handler_delegate(), iox2::Reader< S, KeyType >::entry(), iox2::Writer< S, KeyType >::entry(), from< iox2::bb::SemanticStringError, const char * >(), from< iox2::BlackboardCreateError, const char * >(), from< iox2::BlackboardOpenError, const char * >(), from< iox2::ClientCreateError, const char * >(), from< iox2::ConfigCreationError, const char * >(), from< iox2::ConnectionFailure, const char * >(), from< iox2::EntryHandleError, const char * >(), from< iox2::EntryHandleMutError, const char * >(), from< iox2::EventCreateError, const char * >(), from< iox2::EventOpenError, const char * >(), from< iox2::EventOpenOrCreateError, const char * >(), from< iox2::ListenerCreateError, const char * >(), from< iox2::ListenerWaitError, const char * >(), from< iox2::LoanError, const char * >(), from< iox2::NodeCreationFailure, const char * >(), from< iox2::NodeListFailure, const char * >(), from< iox2::NodeWaitFailure, const char * >(), from< iox2::NotifierCreateError, const char * >(), from< iox2::NotifierNotifyError, const char * >(), from< iox2::PublisherCreateError, const char * >(), from< iox2::PublishSubscribeCreateError, const char * >(), from< iox2::PublishSubscribeOpenError, const char * >(), from< iox2::PublishSubscribeOpenOrCreateError, const char * >(), from< iox2::ReaderCreateError, const char * >(), from< iox2::ReceiveError, const char * >(), from< iox2::RequestResponseCreateError, const char * >(), from< iox2::RequestResponseOpenError, const char * >(), from< iox2::RequestResponseOpenOrCreateError, const char * >(), from< iox2::RequestSendError, const char * >(), from< iox2::SendError, const char * >(), from< iox2::ServerCreateError, const char * >(), from< iox2::ServiceDetailsError, const char * >(), from< iox2::ServiceListError, const char * >(), from< iox2::SubscriberCreateError, const char * >(), from< iox2::WaitSetAttachmentError, const char * >(), from< iox2::WaitSetCreateError, const char * >(), from< iox2::WaitSetRunError, const char * >(), from< iox2::WriterCreateError, const char * >(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::has_requests(), iox2::Subscriber< S, Payload, UserHeader >::has_samples(), iox2::internal::list_callback(), iox2::list_keys_callback(), iox2::internal::list_ports_callback(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_flatbuffer(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_flatbuffer(), iox2::Publisher< S, Payload, UserHeader >::loan_flatbuffer(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice_uninit(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_slice_uninit(), iox2::Publisher< S, Payload, UserHeader >::loan_slice_uninit(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_uninit(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::loan_uninit(), iox2::Publisher< S, Payload, UserHeader >::loan_uninit(), iox2::PortFactoryBlackboard< S, KeyType >::nodes(), iox2::PortFactoryPublishSubscribe< S, Payload, UserHeader >::nodes(), iox2::PortFactoryRequestResponse< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::nodes(), iox2::ServiceBuilderBlackboardOpener< KeyType, S >::open(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_or_create(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_or_create(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_or_create_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_or_create_with_attributes(), iox2::ServiceBuilderBlackboardOpener< KeyType, S >::open_with_attributes(), iox2::ServiceBuilderPublishSubscribe< Payload, UserHeader, S >::open_with_attributes(), iox2::ServiceBuilderRequestResponse< RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader, S >::open_with_attributes(), iox2::UniqueNodeId::pid(), iox2::PendingResponse< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::receive(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::receive(), iox2::Subscriber< S, Payload, UserHeader >::receive(), iox2::send(), iox2::send(), iox2::send(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_copy(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_copy(), iox2::Publisher< S, Payload, UserHeader >::send_copy(), iox2::ActiveRequest< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_slice_copy(), iox2::Client< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::send_slice_copy(), iox2::Publisher< S, Payload, UserHeader >::send_slice_copy(), iox2::Listener< ServiceType >::timed_wait(), iox2::Listener< ServiceType >::try_wait(), and iox2::Publisher< S, Payload, UserHeader >::update_connections().

◆ operator!=()

auto iox2::bb::operator!= ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Not equal to operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration not equal to rhs

Definition at line 349 of file duration.hpp.

◆ operator*()

template<typename T>
auto iox2::bb::operator* ( const T & lhs,
const Duration & rhs )->Duration
constexprnoexcept

creates Duration object by multiplying object T with a duration. On overflow duration will saturate to Duration::max()

Template Parameters
Tis an arithmetic type for the multiplicator
Parameters
[in]lhsis the multiplicator
[in]rhsis the multiplicant
Returns
a new Duration object
Attention
Since negative durations are not allowed, the duration will be clamped to 0

Definition at line 320 of file duration.hpp.

◆ operator*=()

template<typename T>
auto iox2::bb::operator*= ( T &lhs IOX2_MAYBE_UNUSED,
const Duration &rhs IOX2_MAYBE_UNUSED )->T &
constexprnoexcept

Dummy implementation with a static assert. Assigning the result of a Duration multiplication with 'operator*=' to an arithmetic type is not supported.

Definition at line 328 of file duration.hpp.

References iox2::legacy::always_false_v, and IOX2_MAYBE_UNUSED.

◆ operator<()

auto iox2::bb::operator< ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Less than operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration is less than rhs

Definition at line 358 of file duration.hpp.

◆ operator<=()

auto iox2::bb::operator<= ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Less than or equal to operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration is less than or equal to rhs

Definition at line 378 of file duration.hpp.

◆ operator==()

auto iox2::bb::operator== ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Equal to operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration equal to rhs

Definition at line 340 of file duration.hpp.

◆ operator>()

auto iox2::bb::operator> ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Greater than operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration is greater than rhs

Definition at line 368 of file duration.hpp.

◆ operator>=()

auto iox2::bb::operator>= ( const Duration & lhs,
const Duration & rhs )->bool
constexprnoexcept

Greater than or equal to operator.

Parameters
[in]lhsis the left hand side of the comparison
[in]rhsis the right hand side of the comparison
Returns
true if duration is greater than or equal to rhs

Definition at line 387 of file duration.hpp.

Variable Documentation

◆ DEFAULT_FUNCTION_CAPACITY

uint64_t iox2::bb::DEFAULT_FUNCTION_CAPACITY { 128U }
constexpr

Definition at line 21 of file static_function.hpp.

◆ IN_PLACE

InPlaceT iox2::bb::IN_PLACE = iox2::bb::variation::IN_PLACE
constexpr

Definition at line 29 of file expected.hpp.

◆ NULLOPT

NulloptT iox2::bb::NULLOPT = iox2::bb::variation::NULLOPT
constexpr

Definition at line 28 of file optional.hpp.

Referenced by iox2::bb::StaticString< N >::ConstAccessorCodeUnits::back_element(), iox2::bb::StaticString< N >::UncheckedAccessorCodeUnits::back_element(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::back_element(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::back_element(), iox2::Listener< ServiceType >::deadline(), iox2::bb::StaticString< N >::ConstAccessorCodeUnits::element_at(), iox2::bb::StaticString< N >::UncheckedAccessorCodeUnits::element_at(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::element_at(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::element_at(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::from_initializer_list(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::from_range_unchecked(), iox2::bb::StaticString< IOX2_ATTRIBUTE_KEY_LENGTH >::from_utf8(), iox2::bb::StaticString< IOX2_ATTRIBUTE_KEY_LENGTH >::from_utf8_null_terminated_unchecked(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::from_value(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::from_value(), iox2::bb::StaticString< N >::ConstAccessorCodeUnits::front_element(), iox2::bb::StaticString< N >::UncheckedAccessorCodeUnits::front_element(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::front_element(), iox2::bb::StaticVector< uint8_t, UNIQUE_PORT_ID_LENGTH >::front_element(), iox2::PendingResponse< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::receive(), iox2::Server< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader >::receive(), and iox2::Subscriber< S, Payload, UserHeader >::receive().

◆ UNEXPECT

UnexpectT iox2::bb::UNEXPECT = iox2::bb::variation::UNEXPECT
constexpr

Definition at line 30 of file expected.hpp.