yast2-core
Public Member Functions | Private Attributes
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 *)
- Public Member Functions inherited from Y2ComponentCreator
 Y2ComponentCreator (Y2ComponentBroker::order_t order)
 Y2ComponentCreator (Y2ComponentBroker::order_t order, bool force_register)
virtual ~Y2ComponentCreator ()
virtual Y2ComponentcreateInLevel (const char *name, int level, int current_level) const
bool isClientCreator () const

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 *  my_name)

Constructor of a Y2CCAgentComp object.


Member Function Documentation

template<class AgentComp >
Y2Component * Y2CCAgentComp< AgentComp >::create ( const char *  name) 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
inlinevirtual

Returns true since all agents are server components.

Implements Y2ComponentCreator.

template<class AgentComp>
Y2Component* Y2CCAgentComp< AgentComp >::provideNamespace ( const char *  )
inlinevirtual

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 a sunny day for yast2-core by doxygen 1.8.1