Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

Y2CCAgentComp< AgentComp > Class Template Reference

#include <Y2CCAgentComponent.h>

Inheritance diagram for Y2CCAgentComp< AgentComp >:

Y2ComponentCreator List of all members.

Public Member Functions

 Y2CCAgentComp (const char *)
bool isServerCreator () const
Y2Componentcreate (const char *) const
Y2ComponentprovideNamespace (const char *)

Private Attributes

const char * my_name

Detailed Description

template<class AgentComp>
class Y2CCAgentComp< AgentComp >

Template class for a Y2ComponentCreator of an Y2AgentComp.


Constructor & Destructor Documentation

template<class AgentComp>
Y2CCAgentComp< AgentComp >::Y2CCAgentComp const char *   ) 
 

Constructor of a Y2CCAgentComp object.


Member Function Documentation

template<class AgentComp>
Y2Component * Y2CCAgentComp< AgentComp >::create const char *   )  const [virtual]
 

Creates a new Y2Component if the name matches the one provided in the constructor.

Reimplemented from Y2ComponentCreator.

template<class AgentComp>
bool Y2CCAgentComp< AgentComp >::isServerCreator  )  const [inline, virtual]
 

Returns true since all agents are server components.

Implements Y2ComponentCreator.

template<class AgentComp>
Y2Component* Y2CCAgentComp< AgentComp >::provideNamespace const char *   )  [inline, virtual]
 

Agent components do not provide any namespaces.

Reimplemented from Y2ComponentCreator.


Member Data Documentation

template<class AgentComp>
const char* Y2CCAgentComp< AgentComp >::my_name [private]
 

Name of my agent.


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 18:15:24 2007 for yast2-core by doxygen 1.3.6