Isis Developer Reference
|
This class is used to bind function names with corresponding InlineCalculator functions that do not take parameters. More...
#include <InlineCalculator.h>
Public Types | |
typedef void(InlineCalculator::* | calcOp) () |
Defines an InlineCalculator function that takes no arguments. | |
Public Member Functions | |
InlineVoidFx (const QString &name, calcOp function, InlineCalculator *calculator) | |
Constructs an InlineVoid function from the given name, InlineCalculator operator, and InlineCalculator. | |
virtual | ~InlineVoidFx () |
Destroys the InlineVoidFx object. | |
void | dispatch () |
Calls the function corresponding to this object using its stored InlineCalculator and InlineCalculator operator. | |
QString | name () const |
The name assigned to this function binder. | |
void | execute () |
Executes the function. | |
void | operator() () |
Executes the function. | |
virtual QVariant | args () |
Accesses the arguments for this function. | |
This class is used to bind function names with corresponding InlineCalculator functions that do not take parameters.
typedef void(InlineCalculator::* Isis::InlineVoidFx::calcOp) () |
Defines an InlineCalculator function that takes no arguments.
Isis::InlineVoidFx::InlineVoidFx | ( | const QString & | name, |
calcOp | function, | ||
InlineCalculator * | calculator ) |
Constructs an InlineVoid function from the given name, InlineCalculator operator, and InlineCalculator.
name | A string containing a name for this function. |
function | An InlineCalculator operator that takes no arguments. |
calculator | The InlineCalculator used to evaluate this function. |
|
virtual |
Destroys the InlineVoidFx object.
|
virtualinherited |
Accesses the arguments for this function.
For scalars and variables, the argument is also the function name.
Referenced by Isis::ParameterFx::dispatch().
|
virtual |
Calls the function corresponding to this object using its stored InlineCalculator and InlineCalculator operator.
Implements Isis::FxBinder.
References CALL_MEMBER_FN.
|
inherited |
Executes the function.
This method is a wrapper for the virtual dispatch method.
References Isis::FxBinder::dispatch().
|
inherited |
The name assigned to this function binder.
|
inherited |
Executes the function.
This method is a wrapper for the virtual dispatch method.
References Isis::FxBinder::dispatch().