Diana
0.8.3
|
#include <DianaNLPTask.hpp>
Public Member Functions | |
CFunction (evalfunc f) | |
CapeDouble | Exec (Numeric::Solvers::NLPTasks::ICapeNLPTask &task) throw (Common::Error::ECapeSolvingError) |
virtual const Common::Types::CapeString & | GetComponentName () const throw (Common::Error::ECapeUnknown) |
virtual void | SetComponentName (const Common::Types::CapeString &_name) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) |
virtual const Common::Types::CapeString & | GetComponentDescription () const throw (Common::Error::ECapeUnknown) |
virtual void | SetComponentDescription (const Common::Types::CapeString &_description) throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) |
virtual ICapeIdentification * | clone () throw (Common::Error::ECapeUnknown, Common::Error::ECapeNoImpl) |
creates clone copy of the interface. | |
Private Attributes | |
evalfunc | pCFunc |
pointer on C-function | |
Common::Types::CapeString | strName |
Component name. | |
Common::Types::CapeString | strDescription |
Component description. |
Class which holds C-function.
CapeDouble Exec | ( | Numeric::Solvers::NLPTasks::ICapeNLPTask & | task | ) | throw (Common::Error::ECapeSolvingError) [inline, virtual] |
Executes C function.
task | nlp task containing data(parameters, etc.) for function calculation |
Implements ICapeNLPFunction.
virtual const Common::Types::CapeString& GetComponentDescription | ( | ) | const throw (Common::Error::ECapeUnknown) [virtual] |
Gets the description of the component.
Reimplemented from ICapeNLPFunction.
virtual const Common::Types::CapeString& GetComponentName | ( | ) | const throw (Common::Error::ECapeUnknown) [virtual] |
Gets the name of the component.
Reimplemented from ICapeNLPFunction.
virtual void SetComponentDescription | ( | const Common::Types::CapeString & | _description | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) [virtual] |
Sets the description of the component.
_description | the description of the component |
Reimplemented from ICapeNLPFunction.
virtual void SetComponentName | ( | const Common::Types::CapeString & | _name | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) [virtual] |
Sets the name of the component.
_name | the name of the component |
Reimplemented from ICapeNLPFunction.