yast2-core
|
#include <Y2AgentComponent.h>
Public Member Functions | |
Y2AgentComp (const char *) | |
~Y2AgentComp () | |
string | name () const |
YCPValue | evaluate (const YCPValue &command) |
SCRAgent * | getSCRAgent () |
YCPValue | Read (const YCPPath &path) |
![]() | |
Y2Component () | |
virtual | ~Y2Component () |
virtual void | result (const YCPValue &result) |
virtual void | setServerOptions (int argc, char **argv) |
virtual Y2Namespace * | import (const char *name_space) |
virtual YCPValue | doActualWork (const YCPList &arglist, Y2Component *user_interface) |
virtual bool | remote () const |
Private Attributes | |
const char * | my_name |
Agent * | agent |
Template class for a Y2AgentComp of an Agent.
Y2AgentComp< Agent >::Y2AgentComp | ( | const char * | my_name | ) |
Constructor for a Y2AgentComp.
Y2AgentComp< Agent >::~Y2AgentComp | ( | ) |
Clean up.
References agent.
|
virtual |
Evaluates a command to the agent.
Reimplemented from Y2Component.
References agent, YCPTerm::args(), YCPTerm::name(), YCPList::size(), YCPList::value(), y2debug, y2error, y2milestone, and YCode::yeTerm.
|
virtual |
|
inlinevirtual |
Returns the name of the component.
Implements Y2Component.
References Y2AgentComp< Agent >::my_name.
YCPValue Y2AgentComp< Agent >::Read | ( | const YCPPath & | path | ) |
References y2error.
|
private |
Pointer to my agent.
|
private |
Name of my agent.
Referenced by Y2AgentComp< Agent >::name().