yast2-core
|
#include <Y2SystemFunction.h>
Public Member Functions | |
Y2SystemFunction (Y2Function *local_call, constFunctionTypePtr type, Y2SystemNamespace *system_namespace) | |
virtual | ~Y2SystemFunction () |
virtual bool | attachParameter (const YCPValue &arg, const int position) |
virtual constTypePtr | wantedParameterType () const |
virtual bool | appendParameter (const YCPValue &arg) |
virtual bool | finishParameters () |
virtual YCPValue | evaluateCall () |
virtual bool | reset () |
void | useRemote (Y2Function *remote_call) |
void | useLocal () |
string | name () const |
constFunctionTypePtr | type () const |
![]() | |
virtual | ~Y2Function () |
Private Attributes | |
Y2Function * | m_local |
Y2Function * | m_remote |
bool | m_use_remote |
constFunctionTypePtr | m_type |
Y2SystemNamespace * | m_namespace |
Y2SystemFunction::Y2SystemFunction | ( | Y2Function * | local_call, |
constFunctionTypePtr | type, | ||
Y2SystemNamespace * | system_namespace | ||
) |
References m_local, Y2Function::name(), and y2debug.
|
virtual |
References m_local, m_namespace, m_remote, and Y2SystemNamespace::unregisterFunction().
|
virtual |
Appends a parameter to the call.
Implements Y2Function.
References Y2Function::appendParameter(), m_local, m_remote, m_use_remote, and y2debug.
|
virtual |
Attaches a parameter to a given position to the call.
Implements Y2Function.
References Y2Function::attachParameter(), m_local, m_remote, m_use_remote, and y2debug.
|
virtual |
Executes the call
Implements Y2Function.
References Y2Function::evaluateCall(), m_local, m_remote, m_use_remote, Y2Function::name(), and y2debug.
|
virtual |
Signal that we're done adding parameters.
Implements Y2Function.
References Y2Function::finishParameters(), m_local, m_remote, and m_use_remote.
|
virtual |
Implements Y2Function.
References m_local, and Y2Function::name().
|
virtual |
Reset the currecn parameters, so the instance can be reused for the next call (appendParameter etc)
Implements Y2Function.
References m_local, m_remote, m_use_remote, and Y2Function::reset().
constFunctionTypePtr Y2SystemFunction::type | ( | ) | const |
References m_type.
void Y2SystemFunction::useLocal | ( | ) |
References m_remote, and m_use_remote.
void Y2SystemFunction::useRemote | ( | Y2Function * | remote_call | ) |
References m_local, m_remote, m_use_remote, Y2Function::name(), and y2milestone.
|
virtual |
What type is expected for the next appendParameter (val) ? (Used when calling from Perl, to be able to convert from the simple type system of Perl to the elaborate type system of YCP)
Implements Y2Function.
References m_local, m_remote, m_use_remote, and Y2Function::wantedParameterType().
|
private |
Referenced by appendParameter(), attachParameter(), evaluateCall(), finishParameters(), name(), reset(), useRemote(), wantedParameterType(), Y2SystemFunction(), and ~Y2SystemFunction().
|
private |
Referenced by ~Y2SystemFunction().
|
private |
Referenced by appendParameter(), attachParameter(), evaluateCall(), finishParameters(), reset(), useLocal(), useRemote(), wantedParameterType(), and ~Y2SystemFunction().
|
private |
Referenced by type().
|
private |
Referenced by appendParameter(), attachParameter(), evaluateCall(), finishParameters(), reset(), useLocal(), useRemote(), and wantedParameterType().