|
iceoryx2
C++ Bindings
|
#include "iox2/legacy/error_reporting/configuration.hpp"#include "iox2/legacy/error_reporting/error_forwarding.hpp"#include "iox2/bb/detail/source_location.hpp"Go to the source code of this file.
Macros | |
| #define | IOX2_PANIC(message) |
| calls panic handler and does not return | |
| #define | IOX2_ASSERT_INTERNAL(location, condition, stringified_condition, message) |
| Only for internal usage. | |
| #define | IOX2_ASSERT(condition, message) |
| only for debug builds: report fatal assert violation if expression evaluates to false | |
| #define | IOX2_ENFORCE_INTERNAL(location, condition, stringified_condition, message) |
| Only for internal usage. | |
| #define | IOX2_ENFORCE(condition, message) |
| report fatal enforce violation if expression evaluates to false | |
| #define | IOX2_UNREACHABLE() |
| panic if control flow reaches this code at runtime | |
| #define | IOX2_TODO() |
| panic if control flow reaches this code at runtime and tells the user that this part of the code is not yet implemented | |
| #define IOX2_ASSERT | ( | condition, | |
| message ) |
only for debug builds: report fatal assert violation if expression evaluates to false
| condition | boolean expression that must hold |
| message | message to be forwarded in case of violation |
Definition at line 63 of file assertions.hpp.
Referenced by iox2::bb::Slice< T >::operator[](), iox2::bb::Slice< T >::operator[](), iox2::RequestMutUninit< Service, RequestPayload, RequestUserHeader, ResponsePayload, ResponseUserHeader >::write_from_slice(), iox2::ResponseMutUninit< Service, ResponsePayload, ResponseUserHeader >::write_from_slice(), and iox2::SampleMutUninit< S, Payload, UserHeader >::write_from_slice().
| #define IOX2_ASSERT_INTERNAL | ( | location, | |
| condition, | |||
| stringified_condition, | |||
| message ) |
Only for internal usage.
Definition at line 49 of file assertions.hpp.
| #define IOX2_ENFORCE | ( | condition, | |
| message ) |
report fatal enforce violation if expression evaluates to false
| condition | boolean expression that must hold |
| message | message to be forwarded in case of violation |
Definition at line 81 of file assertions.hpp.
Referenced by iox2::bb::detail::StaticFunction< Capacity, Signature< ReturnType, Args... > >::operator()(), and iox2::bb::detail::StaticFunction< Capacity, Signature< ReturnType, Args... > >::StaticFunction().
| #define IOX2_ENFORCE_INTERNAL | ( | location, | |
| condition, | |||
| stringified_condition, | |||
| message ) |
Only for internal usage.
Definition at line 67 of file assertions.hpp.
Referenced by iox2::bb::stl::Optional< T >::operator*(), iox2::bb::stl::Optional< T >::operator*(), iox2::bb::stl::Optional< T >::operator*(), iox2::bb::stl::Optional< T >::operator*(), iox2::bb::stl::Optional< T >::value(), iox2::bb::stl::Optional< T >::value(), iox2::bb::stl::Optional< T >::value(), and iox2::bb::stl::Optional< T >::value().
| #define IOX2_PANIC | ( | message | ) |
calls panic handler and does not return
| message | message to be forwarded |
Definition at line 39 of file assertions.hpp.
Referenced by iox2::legacy::internal::call_at_index< N, T >::copy(), iox2::legacy::internal::call_at_index< N, T >::copyConstructor(), iox2::legacy::internal::call_at_index< N, T >::destructor(), iox2::legacy::internal::call_at_index< N, T >::equality(), iox2::internal::list_callback(), iox2::legacy::internal::call_at_index< N, T >::move(), and iox2::legacy::internal::call_at_index< N, T >::moveConstructor().
| #define IOX2_TODO | ( | ) |
panic if control flow reaches this code at runtime and tells the user that this part of the code is not yet implemented
Definition at line 91 of file assertions.hpp.
| #define IOX2_UNREACHABLE | ( | ) |
panic if control flow reaches this code at runtime
Definition at line 85 of file assertions.hpp.
Referenced by iox2::bb::from< int, iox2::AllocationStrategy >(), iox2::bb::from< int, iox2::AttributeDefinitionError >(), iox2::bb::from< int, iox2::AttributeVerificationError >(), iox2::bb::from< int, iox2::BackpressureStrategy >(), iox2::bb::from< int, iox2::bb::SemanticStringError >(), iox2::bb::from< int, iox2::BlackboardCreateError >(), iox2::bb::from< int, iox2::BlackboardOpenError >(), iox2::bb::from< int, iox2::CallbackProgression >(), iox2::bb::from< int, iox2::ClientCreateError >(), iox2::bb::from< int, iox2::ConfigCreationError >(), iox2::bb::from< int, iox2::ConnectionFailure >(), iox2::bb::from< int, iox2::EntryHandleError >(), iox2::bb::from< int, iox2::EntryHandleMutError >(), iox2::bb::from< int, iox2::EventCreateError >(), iox2::bb::from< int, iox2::EventOpenError >(), iox2::bb::from< int, iox2::EventOpenOrCreateError >(), iox2::bb::from< int, iox2::ListenerCreateError >(), iox2::bb::from< int, iox2::ListenerWaitError >(), iox2::bb::from< int, iox2::LoanError >(), iox2::bb::from< int, iox2::LogLevel >(), iox2::bb::from< int, iox2::MessagingPattern >(), iox2::bb::from< int, iox2::NodeCleanupFailure >(), iox2::bb::from< int, iox2::NodeCreationFailure >(), iox2::bb::from< int, iox2::NodeListFailure >(), iox2::bb::from< int, iox2::NodeWaitFailure >(), iox2::bb::from< int, iox2::NotifierCreateError >(), iox2::bb::from< int, iox2::NotifierNotifyError >(), iox2::bb::from< int, iox2::PublisherCreateError >(), iox2::bb::from< int, iox2::PublishSubscribeCreateError >(), iox2::bb::from< int, iox2::PublishSubscribeOpenError >(), iox2::bb::from< int, iox2::PublishSubscribeOpenOrCreateError >(), iox2::bb::from< int, iox2::ReaderCreateError >(), iox2::bb::from< int, iox2::ReceiveError >(), iox2::bb::from< int, iox2::RequestResponseCreateError >(), iox2::bb::from< int, iox2::RequestResponseOpenError >(), iox2::bb::from< int, iox2::RequestResponseOpenOrCreateError >(), iox2::bb::from< int, iox2::RequestSendError >(), iox2::bb::from< int, iox2::SendError >(), iox2::bb::from< int, iox2::ServerCreateError >(), iox2::bb::from< int, iox2::ServiceDetailsError >(), iox2::bb::from< int, iox2::ServiceListError >(), iox2::bb::from< int, iox2::ServiceType >(), iox2::bb::from< int, iox2::SignalHandlingMode >(), iox2::bb::from< int, iox2::SubscriberCreateError >(), iox2::bb::from< int, iox2::TypeVariant >(), iox2::bb::from< int, iox2::UniqueIdGeneratorDetailsError >(), iox2::bb::from< int, iox2::WaitSetAttachmentError >(), iox2::bb::from< int, iox2::WaitSetCreateError >(), iox2::bb::from< int, iox2::WaitSetRunError >(), iox2::bb::from< int, iox2::WaitSetRunResult >(), iox2::bb::from< int, iox2::WriterCreateError >(), iox2::bb::from< iox2::AllocationStrategy, int >(), iox2::bb::from< iox2::AllocationStrategy, iox2_allocation_strategy_e >(), iox2::bb::from< iox2::BackpressureAction, iox2_backpressure_action_e >(), iox2::bb::from< iox2::BackpressureStrategy, int >(), iox2::bb::from< iox2::bb::SemanticStringError, iox2_semantic_string_error_e >(), iox2::bb::from< iox2::BlackboardCreateError, iox2_blackboard_create_error_e >(), iox2::bb::from< iox2::BlackboardOpenError, iox2_blackboard_open_error_e >(), iox2::bb::from< iox2::CallbackProgression, iox2_callback_progression_e >(), iox2::bb::from< iox2::ClientCreateError, iox2_client_create_error_e >(), iox2::bb::from< iox2::ConfigCreationError, iox2_config_creation_error_e >(), iox2::bb::from< iox2::ConnectionFailure, iox2_connection_failure_e >(), iox2::bb::from< iox2::DegradationAction, iox2_degradation_action_e >(), iox2::bb::from< iox2::EntryHandleError, iox2_entry_handle_error_e >(), iox2::bb::from< iox2::EntryHandleMutError, iox2_entry_handle_mut_error_e >(), iox2::bb::from< iox2::EventCreateError, iox2_event_open_or_create_error_e >(), iox2::bb::from< iox2::EventOpenError, iox2_event_open_or_create_error_e >(), iox2::bb::from< iox2::EventOpenOrCreateError, iox2_event_open_or_create_error_e >(), iox2::bb::from< iox2::ListenerCreateError, iox2_listener_create_error_e >(), iox2::bb::from< iox2::ListenerWaitError, iox2_listener_wait_error_e >(), iox2::bb::from< iox2::LoanError, iox2_loan_error_e >(), iox2::bb::from< iox2::LogLevel, iox2_log_level_e >(), iox2::bb::from< iox2::MessagingPattern, iox2_messaging_pattern_e >(), iox2::bb::from< iox2::NodeCreationFailure, iox2_node_creation_failure_e >(), iox2::bb::from< iox2::NodeListFailure, iox2_node_list_failure_e >(), iox2::bb::from< iox2::NodeWaitFailure, iox2_node_wait_failure_e >(), iox2::bb::from< iox2::NotifierCreateError, iox2_notifier_create_error_e >(), iox2::bb::from< iox2::NotifierNotifyError, iox2_notifier_notify_error_e >(), iox2::bb::from< iox2::PublisherCreateError, iox2_publisher_create_error_e >(), iox2::bb::from< iox2::PublishSubscribeCreateError, iox2_pub_sub_open_or_create_error_e >(), iox2::bb::from< iox2::PublishSubscribeOpenError, iox2_pub_sub_open_or_create_error_e >(), iox2::bb::from< iox2::PublishSubscribeOpenOrCreateError, iox2_pub_sub_open_or_create_error_e >(), iox2::bb::from< iox2::ReaderCreateError, iox2_reader_create_error_e >(), iox2::bb::from< iox2::ReceiveError, iox2_receive_error_e >(), iox2::bb::from< iox2::RequestResponseCreateError, iox2_request_response_open_or_create_error_e >(), iox2::bb::from< iox2::RequestResponseOpenError, iox2_request_response_open_or_create_error_e >(), iox2::bb::from< iox2::RequestResponseOpenOrCreateError, iox2_request_response_open_or_create_error_e >(), iox2::bb::from< iox2::RequestSendError, iox2_request_send_error_e >(), iox2::bb::from< iox2::SendError, iox2_send_error_e >(), iox2::bb::from< iox2::ServerCreateError, iox2_server_create_error_e >(), iox2::bb::from< iox2::ServiceDetailsError, iox2_service_details_error_e >(), iox2::bb::from< iox2::ServiceListError, iox2_service_list_error_e >(), iox2::bb::from< iox2::ServiceType, iox2_service_type_e >(), iox2::bb::from< iox2::SignalHandlingMode, iox2_signal_handling_mode_e >(), iox2::bb::from< iox2::SubscriberCreateError, iox2_subscriber_create_error_e >(), iox2::bb::from< iox2::WaitSetAttachmentError, iox2_waitset_attachment_error_e >(), iox2::bb::from< iox2::WaitSetCreateError, iox2_waitset_create_error_e >(), iox2::bb::from< iox2::WaitSetRunError, iox2_waitset_run_error_e >(), iox2::bb::from< iox2::WaitSetRunResult, iox2_waitset_run_result_e >(), iox2::bb::from< iox2::WriterCreateError, iox2_writer_create_error_e >(), iox2::bb::from< iox2_degradation_cause_e, iox2::DegradationCause >(), iox2::bb::from< iox2_service_remove_error_e, iox2::ServiceRemoveError >(), and iox2::internal::list_callback().