iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::legacy::PosixCallVerificator< ReturnType > Class Template Reference

class which verifies the return value of a posix function call More...

#include <posix_call.hpp>

Public Member Functions

template<typename... SuccessReturnValues>
PosixCallEvaluator< ReturnTypesuccessReturnValue (const SuccessReturnValues... successReturnValues) &&noexcept
 the posix function call defines success through a single value
 
template<typename... FailureReturnValues>
PosixCallEvaluator< ReturnTypefailureReturnValue (const FailureReturnValues... failureReturnValues) &&noexcept
 the posix function call defines failure through a single value
 
PosixCallEvaluator< ReturnTypereturnValueMatchesErrno () &&noexcept
 the posix function call defines failure through return of the errno value instead of setting the errno
 

Friends

template<typename , typename... >
class PosixCallBuilder
 

Detailed Description

template<typename ReturnType>
class iox2::legacy::PosixCallVerificator< ReturnType >

class which verifies the return value of a posix function call

Definition at line 106 of file posix_call.hpp.

Member Function Documentation

◆ failureReturnValue()

template<typename ReturnType >
template<typename... FailureReturnValues>
PosixCallEvaluator< ReturnType > iox2::legacy::PosixCallVerificator< ReturnType >::failureReturnValue ( const FailureReturnValues...  failureReturnValues) &&
noexcept

the posix function call defines failure through a single value

Parameters
[in]failureReturnValuesa list of values which define failure
Returns
the PosixCallEvaluator which evaluates the errno values

◆ returnValueMatchesErrno()

template<typename ReturnType >
PosixCallEvaluator< ReturnType > iox2::legacy::PosixCallVerificator< ReturnType >::returnValueMatchesErrno ( ) &&
noexcept

the posix function call defines failure through return of the errno value instead of setting the errno

Returns
the PosixCallEvaluator which evaluates the errno values

◆ successReturnValue()

template<typename ReturnType >
template<typename... SuccessReturnValues>
PosixCallEvaluator< ReturnType > iox2::legacy::PosixCallVerificator< ReturnType >::successReturnValue ( const SuccessReturnValues...  successReturnValues) &&
noexcept

the posix function call defines success through a single value

Parameters
[in]successReturnValuesa list of values which define success
Returns
the PosixCallEvaluator which evaluates the errno values

Friends And Related Symbol Documentation

◆ PosixCallBuilder

template<typename ReturnType >
template<typename , typename... >
friend class PosixCallBuilder
friend

Definition at line 126 of file posix_call.hpp.


The documentation for this class was generated from the following file: