|
Isis 3.0 Programmer Reference
| Home |
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. More... | |
| virtual | ~FxBinder () |
| Destroys the FxBinder object. More... | |
| QString | name () const |
| The name assigned to this function binder. More... | |
| void | execute () |
| Executes the function. More... | |
| void | operator() () |
| Executes the function. More... | |
| virtual void | dispatch ()=0 |
| This method defines how to execute this function. More... | |
| virtual QVariant | args () |
| Accesses the arguments for this function. More... | |
Private Attributes | |
| QString | m_name |
| Name of function. More... | |
This is the parent class to the various function classes.
Definition at line 155 of file InlineCalculator.h.
| Isis::FxBinder::FxBinder | ( | const QString & | name | ) |
Constructs a function binder given a name.
| name | A string containing a name for this function. |
Definition at line 690 of file InlineCalculator.cpp.
|
virtual |
Destroys the FxBinder object.
Definition at line 697 of file InlineCalculator.cpp.
|
virtual |
Accesses the arguments for this function.
For scalars and variables, the argument is also the function name.
Definition at line 735 of file InlineCalculator.cpp.
References m_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::VoidFx, Isis::ParameterFx, and Isis::InlineVoidFx.
Referenced by execute(), and operator()().
| void Isis::FxBinder::execute | ( | ) |
Executes the function.
This method is a wrapper for the virtual dispatch method.
Definition at line 715 of file InlineCalculator.cpp.
References dispatch().
| QString Isis::FxBinder::name | ( | ) | const |
The name assigned to this function binder.
Definition at line 706 of file InlineCalculator.cpp.
References m_name.
| void Isis::FxBinder::operator() | ( | ) |
Executes the function.
This method is a wrapper for the virtual dispatch method.
Definition at line 724 of file InlineCalculator.cpp.
References dispatch().
|
private |
Name of function.
Definition at line 172 of file InlineCalculator.h.