Y2AgentComp< Agent > Class Template Reference

#include <Y2AgentComponent.h>

Inheritance diagram for Y2AgentComp< Agent >:

Y2Component List of all members.

Public Member Functions

 Y2AgentComp (const char *)
 ~Y2AgentComp ()
string name () const
YCPValue evaluate (const YCPValue &command)
SCRAgentgetSCRAgent ()
YCPValue Read (const YCPPath &path)

Private Attributes

const char * my_name
Agent * agent

Detailed Description

template<class Agent>
class Y2AgentComp< Agent >

Template class for a Y2AgentComp of an Agent.


Constructor & Destructor Documentation

template<class Agent>
Y2AgentComp< Agent >::Y2AgentComp const char *   ) 
 

Constructor for a Y2AgentComp.

template<class Agent>
Y2AgentComp< Agent >::~Y2AgentComp  ) 
 

Clean up.


Member Function Documentation

template<class Agent>
YCPValue Y2AgentComp< Agent >::evaluate const YCPValue command  )  [virtual]
 

Evaluates a command to the agent.

Reimplemented from Y2Component.

template<class Agent>
SCRAgent * Y2AgentComp< Agent >::getSCRAgent  )  [virtual]
 

Returns the SCRAgent of the Y2Component.

Reimplemented from Y2Component.

template<class Agent>
string Y2AgentComp< Agent >::name  )  const [inline, virtual]
 

Returns the name of the component.

Implements Y2Component.

template<class Agent>
YCPValue Y2AgentComp< Agent >::Read const YCPPath path  ) 
 


Member Data Documentation

template<class Agent>
Agent* Y2AgentComp< Agent >::agent [private]
 

Pointer to my agent.

template<class Agent>
const char* Y2AgentComp< Agent >::my_name [private]
 

Name of my agent.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6