class which is created by the verificator to evaluate the result of a posix call
More...
#include <iceoryx_hoofs/posix_wrapper/posix_call.hpp>
|
template<typename > |
class | PosixCallVerificator |
|
template<typename ReturnType>
class iox::posix::PosixCallEvaluator< ReturnType >
class which is created by the verificator to evaluate the result of a posix call
◆ evaluate()
template<typename ReturnType >
evaluate the result of a posix call
- Returns
- returns an expected which contains in both cases a PosixCallResult<ReturnType> with the return value (.value) and the errno value (.errnum) of the function call
◆ ignoreErrnos()
template<typename ReturnType >
template<typename... IgnoredErrnos>
ignore specified errnos from the evaluation
- Template Parameters
-
IgnoredErrnos | a list of int32_t variables |
- Parameters
-
[in] | ignoredErrnos | the int32_t values of the errnos which should be ignored |
- Returns
- a PosixCallEvaluator for further setup of the evaluation
◆ suppressErrorMessagesForErrnos()
template<typename ReturnType >
template<typename... SilentErrnos>
silence specified errnos from printing error messages in the evaluation
- Template Parameters
-
SilentErrnos | a list of int32_t variables |
- Parameters
-
[in] | silentErrnos | the int32_t values of the errnos which should be silent and not cause an error log |
- Returns
- a PosixCallEvaluator for further setup of the evaluation
The documentation for this class was generated from the following file: