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

#include <posix_call.hpp>

Public Types

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

Public Member Functions

PosixCallVerificator< ReturnTypeoperator() (FunctionArguments... arguments) &&noexcept
 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.
 

Friends

template<typename ReturnTypeFriend , typename... FunctionArgumentsFriend>
PosixCallBuilder< ReturnTypeFriend, FunctionArgumentsFriend... > detail::createPosixCallBuilder (ReturnTypeFriend(*IOX2_POSIX_CALL)(FunctionArgumentsFriend...), const char *posixFunctionName, const char *file, const int32_t line, const char *callingFunction) noexcept
 

Detailed Description

template<typename ReturnType, typename... FunctionArguments>
class iox2::legacy::PosixCallBuilder< ReturnType, FunctionArguments >

Definition at line 137 of file posix_call.hpp.

Member Typedef Documentation

◆ FunctionType_t

template<typename ReturnType , typename... FunctionArguments>
using iox2::legacy::PosixCallBuilder< ReturnType, FunctionArguments >::FunctionType_t = ReturnType (*)(FunctionArguments...)

input function type

Definition at line 140 of file posix_call.hpp.

Member Function Documentation

◆ operator()()

template<typename ReturnType , typename... FunctionArguments>
PosixCallVerificator< ReturnType > iox2::legacy::PosixCallBuilder< ReturnType, FunctionArguments >::operator() ( FunctionArguments...  arguments) &&
noexcept

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
[in]argumentsarguments which will be provided to the posix function
Returns
the PosixCallVerificator to verify the return value

Friends And Related Symbol Documentation

◆ detail::createPosixCallBuilder

template<typename ReturnType , typename... FunctionArguments>
template<typename ReturnTypeFriend , typename... FunctionArgumentsFriend>
PosixCallBuilder< ReturnTypeFriend, FunctionArgumentsFriend... > detail::createPosixCallBuilder ( ReturnTypeFriend(*)(FunctionArgumentsFriend...)  IOX2_POSIX_CALL,
const char posixFunctionName,
const char file,
const int32_t  line,
const char callingFunction 
)
friend

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