#include <utilities/testing_utilities.h>
Public Member Functions | |
int | operator() (void(*CallingFunction)(void)) |
template<class type1 > | |
int | operator() (void(*CallingFunction)(type1), type1 &Param1) |
template<class type1 , class type2 > | |
int | operator() (void(*CallingFunction)(type1, type2), type1 &Param1, type2 &Param2) |
template<class type1 , class type2 , class type3 > | |
int | operator() (void(*CallingFunction)(type1, type2, type3), type1 &Param1, type2 &Param2, type3 &Param3) |
template<class type1 , class type2 , class type3 , class type4 > | |
int | operator() (void(*CallingFunction)(type1, type2, type3, type4), type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4) |
template<class type1 , class type2 , class type3 , class type4 , class type5 > | |
int | operator() (void(*CallingFunction)(type1, type2, type3, type4, type5), type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4, type5 &Param5) |
Definition at line 253 of file testing_utilities.h.
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(void) | CallingFunction | ) | [inline] |
Wrapper calls function without any parameter.
CallingFunction | - Calling function |
Definition at line 274 of file testing_utilities.h.
{
CallingFunction();
return( 0 );
}
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(type1, type2, type3, type4, type5) | CallingFunction, | |
type1 & | Param1, | |||
type2 & | Param2, | |||
type3 & | Param3, | |||
type4 & | Param4, | |||
type5 & | Param5 | |||
) | [inline] |
Wrapper calls function with 3 parameters.
CallingFunction | - Calling function | |
Param1 | - Parameter of the wrapped function. | |
Param2 | - Parameter of the wrapped function. | |
Param3 | - Parameter of the wrapped function. | |
Param4 | - Parameter of the wrapped function. | |
Param5 | - Parameter of the wrapped function. |
Definition at line 459 of file testing_utilities.h.
{
CallingFunction( Param1 , Param2 , Param3 , Param4 , Param5 );
return( 0 );
}
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(type1, type2, type3, type4) | CallingFunction, | |
type1 & | Param1, | |||
type2 & | Param2, | |||
type3 & | Param3, | |||
type4 & | Param4 | |||
) | [inline] |
Wrapper calls function with 3 parameters.
CallingFunction | - Calling function | |
Param1 | - Parameter of the wrapped function. | |
Param2 | - Parameter of the wrapped function. | |
Param3 | - Parameter of the wrapped function. | |
Param4 | - Parameter of the wrapped function. |
Definition at line 414 of file testing_utilities.h.
{
CallingFunction( Param1 , Param2 , Param3 , Param4 );
return( 0 );
}
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(type1, type2, type3) | CallingFunction, | |
type1 & | Param1, | |||
type2 & | Param2, | |||
type3 & | Param3 | |||
) | [inline] |
Wrapper calls function with 3 parameters.
CallingFunction | - Calling function | |
Param1 | - Parameter of the wrapped function. | |
Param2 | - Parameter of the wrapped function. | |
Param3 | - Parameter of the wrapped function. |
Definition at line 373 of file testing_utilities.h.
{
CallingFunction( Param1 , Param2 , Param3 );
return( 0 );
}
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(type1, type2) | CallingFunction, | |
type1 & | Param1, | |||
type2 & | Param2 | |||
) | [inline] |
Wrapper calls function with 2 parameters.
CallingFunction | - Calling function | |
Param1 | - Parameter of the wrapped function. | |
Param2 | - Parameter of the wrapped function. |
Definition at line 336 of file testing_utilities.h.
{
CallingFunction( Param1 , Param2 );
return( 0 );
}
int nitro::FunctionWrapper< void >::operator() | ( | void(*)(type1) | CallingFunction, | |
type1 & | Param1 | |||
) | [inline] |
Wrapper calls function with 1 parameter.
CallingFunction | - Calling function | |
Param1 | - Parameter of the wrapped function. |
Definition at line 303 of file testing_utilities.h.
{
CallingFunction( Param1 );
return( 0 );
}