Template Struct Expect
Defined in File functional_interface.hpp
Inheritance Relationships
Derived Types
public iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, ErrorType >(Template Struct FunctionalInterfaceImpl< Derived, void, ErrorType >)public iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, void >(Template Struct FunctionalInterfaceImpl< Derived, void, void >)
Struct Documentation
-
template<typename Derived>
struct Expect Subclassed by iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, ErrorType >, iox::cxx::internal::FunctionalInterfaceImpl< Derived, void, void >
Public Functions
-
void expect(const char *const msg) const noexcept
Expects that the object is valid, otherwise the method prints the provided message and induces a fatal error.
- Parameters:
msg – [in] Message which will be printed when the object is invalid
-
void expect(const char *const msg) const noexcept