An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis Developer Reference
|
This is the parent class to the various function classes. More...
#include <InlineCalculator.h>
Public Member Functions | |
FxBinder (const QString &name) | |
Constructs a function binder given a name. | |
virtual | ~FxBinder () |
Destroys the FxBinder object. | |
QString | name () const |
The name assigned to this function binder. | |
void | execute () |
Executes the function. | |
void | operator() () |
Executes the function. | |
virtual void | dispatch ()=0 |
This method defines how to execute this function. | |
virtual QVariant | args () |
Accesses the arguments for this function. | |
This is the parent class to the various function classes.
Isis::FxBinder::FxBinder | ( | const QString & | name | ) |
Constructs a function binder given a name.
name | A string containing a name for this function. |
References name().
Referenced by Isis::InlineVoidFx::InlineVoidFx(), Isis::ParameterFx::ParameterFx(), and Isis::VoidFx::VoidFx().
|
virtual |
Destroys the FxBinder object.
|
virtual |
Accesses the arguments for this function.
For scalars and variables, the argument is also the function name.
Referenced by Isis::ParameterFx::dispatch().
|
pure virtual |
This method defines how to execute this function.
This class does not define an implementation for this pure virtual method.
Implemented in Isis::InlineVoidFx, Isis::ParameterFx, and Isis::VoidFx.
Referenced by execute(), and operator()().
void Isis::FxBinder::execute | ( | ) |
Executes the function.
This method is a wrapper for the virtual dispatch method.
References dispatch().
QString Isis::FxBinder::name | ( | ) | const |
The name assigned to this function binder.
Referenced by FxBinder(), Isis::InlineVoidFx::InlineVoidFx(), Isis::ParameterFx::ParameterFx(), and Isis::VoidFx::VoidFx().
void Isis::FxBinder::operator() | ( | ) |
Executes the function.
This method is a wrapper for the virtual dispatch method.
References dispatch().