Ocean
|
This class is the base class for an unparameterized function container. More...
Public Member Functions | |
virtual | ~FunctionBase () |
Destructs the 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 =0 |
Calls the internal encapsulated function by given parameters. More... | |
virtual FunctionBase * | copy () const =0 |
Creates a copy of the entire derived object. 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 =0 |
Returns whether two functions are equal. More... | |
This class is the base class for an unparameterized function container.
This base 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).
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 |
|
virtual |
Destructs the object.
|
pure virtual |
Calls the internal encapsulated function by given parameters.
param0 | First parameter |
param1 | Second parameter |
param2 | Third parameter |
param3 | Fourth parameter |
param4 | Fifth parameter |
param5 | Sixth parameter |
param6 | Seventh parameter |
param7 | Eighth parameter |
param8 | Ninth parameter |
param9 | Tenth 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 |
|
pure virtual |
Creates a copy of the entire derived object.
Implemented in Ocean::StaticFunction< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >, and Ocean::MemberFunction< CT, RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >.
|
pure virtual |
Returns whether two functions are equal.
functionBase | Right callback to check |