Ocean
|
This class implements an unparameterized static function container. More...
Protected Types | |
typedef StaticFunctionPointerMaker< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::Type | FunctionType |
Definition of a function pointer for the encapsulated function. More... | |
Protected Member Functions | |
StaticFunction (FunctionType function) | |
Creates a new member function object. More... | |
virtual RT | call (PT0 param0=PT0(), PT1 param1=PT1(), PT2 param2=PT2(), PT3 param3=PT3(), PT4 param4=PT4(), PT5 param5=PT5(), PT6 param6=PT6(), PT7 param7=PT7(), PT8 param8=PT8(), PT9 param9=PT9(), PT10 param10=PT10(), PT11 param11=PT11(), PT12 param12=PT12(), PT13 param13=PT13(), PT14 param14=PT14(), PT15 param15=PT15(), PT16 param16=PT16(), PT17 param17=PT17(), PT18 param18=PT18(), PT19 param19=PT19()) const |
Calls the encapsulated function. More... | |
virtual FunctionBase< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > * | copy () const |
Creates a copy of this element. More... | |
virtual bool | operator== (const FunctionBase< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > &functionBase) const |
Returns whether two functions are equal. More... | |
Protected Attributes | |
FunctionType | functionPointer |
Function pointer of the member function. More... | |
Friends | |
class | Callback< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > |
This class implements an unparameterized static function container.
This function container holds no function parameters and therefore can call the encapsulated function with explicit parameters only. The template parameters define the function's return type (RT) and twenty possible function parameters (PT0 - PT19).
This class is a helper class only and used to allow callback functions to be independent from the member function's class type.
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 |
|
protected |
Definition of a function pointer for the encapsulated function.
|
inlineprotected |
Creates a new member function object.
function | Local member function pointer |
|
protectedvirtual |
Calls the encapsulated function.
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 | Eight function parameter |
param8 | Ninth function parameter |
param9 | Tenth 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 |
|
protectedvirtual |
Creates a copy of this element.
|
protectedvirtual |
Returns whether two functions are equal.
functionBase | Right callback to check |
|
friend |
|
protected |
Function pointer of the member function.