Skip to content

iox::posix::PosixCallBuilder🔗

More...

Public Types🔗

Name
using ReturnType(*)(FunctionArguments...) FunctionType_t
input function type

Public Functions🔗

Name
PosixCallVerificator< ReturnType > operator()(FunctionArguments... arguments)
Call the underlying function with the provided arguments. If the underlying function fails and sets the errno to EINTR the call is repeated at most POSIX_CALL_EINTR_REPETITIONS times.

Detailed Description🔗

template <typename ReturnType ,
typename... FunctionArguments>
class iox::posix::PosixCallBuilder;

Public Types Documentation🔗

using FunctionType_t🔗

using iox::posix::PosixCallBuilder< ReturnType, FunctionArguments >::FunctionType_t =  ReturnType (*)(FunctionArguments...);

input function type

Public Functions Documentation🔗

function operator()🔗

PosixCallVerificator< ReturnType > operator()(
    FunctionArguments... arguments
)

Call the underlying function with the provided arguments. If the underlying function fails and sets the errno to EINTR the call is repeated at most POSIX_CALL_EINTR_REPETITIONS times.

Parameters:

  • arguments arguments which will be provided to the posix function

Return: the PosixCallVerificator to verify the return value


Updated on 2 April 2022 at 16:37:47 CEST