This class implements a helper class providing a functionality to call a member function defined by the owner class and a local function pointer.
More...
|
static RT | call (CT *functionClass, typename MemberFunctionPointerMaker< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::Type functionPointer, PT0 param0, PT1 param1, PT2 param2, PT3 param3, PT4 param4, PT5 param5, PT6 param6, PT7 param7, PT8 param8, PT9 param9, PT10 param10, PT11 param11, PT12 param12, PT13 param13, PT14 param14, PT15 param15, PT16 param16, PT17 param17, PT18 param18, PT19 param19) |
| Calls a function defined by the function pointer the class object and the function parameters.
|
|
static RT | call (const CT *functionClass, typename MemberFunctionPointerMaker< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::TypeConst functionPointer, PT0 param0, PT1 param1, PT2 param2, PT3 param3, PT4 param4, PT5 param5, PT6 param6, PT7 param7, PT8 param8, PT9 param9, PT10 param10, PT11 param11, PT12 param12, PT13 param13, PT14 param14, PT15 param15, PT16 param16, PT17 param17, PT18 param18, PT19 param19) |
| Calls a const function defined by the function pointer the class object and the function parameters.
|
|
template<typename CT, typename RT, typename PT0 = NullClass, typename PT1 = NullClass, typename PT2 = NullClass, typename PT3 = NullClass, typename PT4 = NullClass, typename PT5 = NullClass, typename PT6 = NullClass, typename PT7 = NullClass, typename PT8 = NullClass, typename PT9 = NullClass, typename PT10 = NullClass, typename PT11 = NullClass, typename PT12 = NullClass, typename PT13 = NullClass, typename PT14 = NullClass, typename PT15 = NullClass, typename PT16 = NullClass, typename PT17 = NullClass, typename PT18 = NullClass, typename PT19 = NullClass>
class Ocean::MemberFunctionCaller< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >
This class implements a helper class providing a functionality to call a member function defined by the owner class and a local function pointer.
- Template Parameters
-
CT | Specifies the type of the member object |
RT | Specifies the return type of the callback function |
PT0 | Specifies the 1st possible function parameter type |
PT1 | Specifies the 2rd possible function parameter type |
PT2 | Specifies the 3rd possible function parameter type |
PT3 | Specifies the 4th possible function parameter type |
PT4 | Specifies the 5th possible function parameter type |
PT5 | Specifies the 6th possible function parameter type |
PT6 | Specifies the 7th possible function parameter type |
PT7 | Specifies the 8th possible function parameter type |
PT8 | Specifies the 9th possible function parameter type |
PT9 | Specifies the 10th possible function parameter type |
PT10 | Specifies the 11th possible function parameter type |
PT11 | Specifies the 12th possible function parameter type |
PT12 | Specifies the 13th possible function parameter type |
PT13 | Specifies the 14th possible function parameter type |
PT14 | Specifies the 15th possible function parameter type |
PT15 | Specifies the 16th possible function parameter type |
PT16 | Specifies the 17th possible function parameter type |
PT17 | Specifies the 18th possible function parameter type |
PT18 | Specifies the 19th possible function parameter type |
PT19 | Specifies the 20th possible function parameter type |
template<typename CT , typename RT , typename PT0 , typename PT1 , typename PT2 , typename PT3 , typename PT4 , typename PT5 , typename PT6 , typename PT7 , typename PT8 , typename PT9 , typename PT10 , typename PT11 , typename PT12 , typename PT13 , typename PT14 , typename PT15 , typename PT16 , typename PT17 , typename PT18 , typename PT19 >
RT Ocean::MemberFunctionCaller< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::call |
( |
const CT * |
functionClass, |
|
|
typename MemberFunctionPointerMaker< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::TypeConst |
functionPointer, |
|
|
PT0 |
param0, |
|
|
PT1 |
param1, |
|
|
PT2 |
param2, |
|
|
PT3 |
param3, |
|
|
PT4 |
param4, |
|
|
PT5 |
param5, |
|
|
PT6 |
param6, |
|
|
PT7 |
param7, |
|
|
PT8 |
param8, |
|
|
PT9 |
param9, |
|
|
PT10 |
param10, |
|
|
PT11 |
param11, |
|
|
PT12 |
param12, |
|
|
PT13 |
param13, |
|
|
PT14 |
param14, |
|
|
PT15 |
param15, |
|
|
PT16 |
param16, |
|
|
PT17 |
param17, |
|
|
PT18 |
param18, |
|
|
PT19 |
param19 |
|
) |
| |
|
inlinestaticprotected |
Calls a const function defined by the function pointer the class object and the function parameters.
- Parameters
-
functionClass | Class object holding the member function to call |
functionPointer | Pointer of the member function to call |
param0 | First function parameter |
param1 | Second function parameter |
param2 | Third function parameter |
param3 | Fourth function parameter |
param4 | Fifth function parameter |
param5 | Sixth function parameter |
param6 | Seventh function parameter |
param7 | Eighth function parameter |
param8 | Ninth function parameter |
param9 | 10th function parameter |
param10 | 11th function parameter |
param11 | 12th function parameter |
param12 | 13th function parameter |
param13 | 14th function parameter |
param14 | 15th function parameter |
param15 | 16th function parameter |
param16 | 17th function parameter |
param17 | 18th function parameter |
param18 | 19th function parameter |
param19 | 20th function parameter |
- Returns
- Return value
template<typename CT , typename RT , typename PT0 , typename PT1 , typename PT2 , typename PT3 , typename PT4 , typename PT5 , typename PT6 , typename PT7 , typename PT8 , typename PT9 , typename PT10 , typename PT11 , typename PT12 , typename PT13 , typename PT14 , typename PT15 , typename PT16 , typename PT17 , typename PT18 , typename PT19 >
RT Ocean::MemberFunctionCaller< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::call |
( |
CT * |
functionClass, |
|
|
typename MemberFunctionPointerMaker< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::Type |
functionPointer, |
|
|
PT0 |
param0, |
|
|
PT1 |
param1, |
|
|
PT2 |
param2, |
|
|
PT3 |
param3, |
|
|
PT4 |
param4, |
|
|
PT5 |
param5, |
|
|
PT6 |
param6, |
|
|
PT7 |
param7, |
|
|
PT8 |
param8, |
|
|
PT9 |
param9, |
|
|
PT10 |
param10, |
|
|
PT11 |
param11, |
|
|
PT12 |
param12, |
|
|
PT13 |
param13, |
|
|
PT14 |
param14, |
|
|
PT15 |
param15, |
|
|
PT16 |
param16, |
|
|
PT17 |
param17, |
|
|
PT18 |
param18, |
|
|
PT19 |
param19 |
|
) |
| |
|
inlinestaticprotected |
Calls a function defined by the function pointer the class object and the function parameters.
- Parameters
-
functionClass | Class object holding the member function to call |
functionPointer | Pointer of the member function to call |
param0 | First function parameter |
param1 | Second function parameter |
param2 | Third function parameter |
param3 | Fourth function parameter |
param4 | Fifth function parameter |
param5 | Sixth function parameter |
param6 | Seventh function parameter |
param7 | Eighth function parameter |
param8 | Ninth function parameter |
param9 | 10th function parameter |
param10 | 11th function parameter |
param11 | 12th function parameter |
param12 | 13th function parameter |
param13 | 14th function parameter |
param14 | 15th function parameter |
param15 | 16th function parameter |
param16 | 17th function parameter |
param17 | 18th function parameter |
param18 | 19th function parameter |
param19 | 20th function parameter |
- Returns
- Return value
template<typename CT , typename RT , typename PT0 = NullClass, typename PT1 = NullClass, typename PT2 = NullClass, typename PT3 = NullClass, typename PT4 = NullClass, typename PT5 = NullClass, typename PT6 = NullClass, typename PT7 = NullClass, typename PT8 = NullClass, typename PT9 = NullClass, typename PT10 = NullClass, typename PT11 = NullClass, typename PT12 = NullClass, typename PT13 = NullClass, typename PT14 = NullClass, typename PT15 = NullClass, typename PT16 = NullClass, typename PT17 = NullClass, typename PT18 = NullClass, typename PT19 = NullClass>
friend class MemberFunction< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > |
|
friend |
template<typename CT , typename RT , typename PT0 = NullClass, typename PT1 = NullClass, typename PT2 = NullClass, typename PT3 = NullClass, typename PT4 = NullClass, typename PT5 = NullClass, typename PT6 = NullClass, typename PT7 = NullClass, typename PT8 = NullClass, typename PT9 = NullClass, typename PT10 = NullClass, typename PT11 = NullClass, typename PT12 = NullClass, typename PT13 = NullClass, typename PT14 = NullClass, typename PT15 = NullClass, typename PT16 = NullClass, typename PT17 = NullClass, typename PT18 = NullClass, typename PT19 = NullClass>
friend class ParameterizedMemberFunction< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > |
|
friend |
template<typename CT , typename RT , typename PT0 = NullClass, typename PT1 = NullClass, typename PT2 = NullClass, typename PT3 = NullClass, typename PT4 = NullClass, typename PT5 = NullClass, typename PT6 = NullClass, typename PT7 = NullClass, typename PT8 = NullClass, typename PT9 = NullClass, typename PT10 = NullClass, typename PT11 = NullClass, typename PT12 = NullClass, typename PT13 = NullClass, typename PT14 = NullClass, typename PT15 = NullClass, typename PT16 = NullClass, typename PT17 = NullClass, typename PT18 = NullClass, typename PT19 = NullClass>
friend class ParameterizedMemberFunctionConst< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > |
|
friend |