#include <Y2AgentComponent.h>
Inheritance diagram for Y2AgentComp< Agent >:

Public Member Functions | |
| Y2AgentComp (const char *) | |
| ~Y2AgentComp () | |
| string | name () const |
| YCPValue | evaluate (const YCPValue &command) |
| SCRAgent * | getSCRAgent () |
| YCPValue | Read (const YCPPath &path) |
Private Attributes | |
| const char * | my_name |
| Agent * | agent |
| Y2AgentComp< Agent >::Y2AgentComp | ( | const char * | ) |
Constructor for a Y2AgentComp.
| Y2AgentComp< Agent >::~Y2AgentComp | ( | ) |
Clean up.
| string Y2AgentComp< Agent >::name | ( | ) | const [inline, virtual] |
Returns the name of the component.
Implements Y2Component.
| YCPValue Y2AgentComp< Agent >::evaluate | ( | const YCPValue & | command | ) | [virtual] |
Evaluates a command to the agent.
Reimplemented from Y2Component.
| SCRAgent * Y2AgentComp< Agent >::getSCRAgent | ( | ) | [virtual] |
Returns the SCRAgent of the Y2Component.
Reimplemented from Y2Component.
| YCPValue Y2AgentComp< Agent >::Read | ( | const YCPPath & | path | ) |
const char* Y2AgentComp< Agent >::my_name [private] |
Name of my agent.
Agent* Y2AgentComp< Agent >::agent [private] |
Pointer to my agent.
1.5.0