yast2-core
|
#include <Y2CCAgentComponent.h>
Public Member Functions | |
Y2CCAgentComp (const char *) | |
~Y2CCAgentComp () | |
bool | isServerCreator () const |
Y2Component * | create (const char *) const |
Y2Component * | provideNamespace (const char *) |
![]() | |
Y2ComponentCreator (Y2ComponentBroker::order_t order) | |
Y2ComponentCreator (Y2ComponentBroker::order_t order, bool force_register) | |
virtual | ~Y2ComponentCreator () |
virtual Y2Component * | createInLevel (const char *name, int level, int current_level) const |
bool | isClientCreator () const |
Private Attributes | |
const char * | my_name |
std::vector< AgentComp * > | agent_instances |
Template class for a Y2ComponentCreator of an Y2AgentComp.
Y2CCAgentComp< AgentComp >::Y2CCAgentComp | ( | const char * | my_name | ) |
Constructor of a Y2CCAgentComp object.
|
inline |
Destructor of a Y2CCAgentComp object.
References Y2CCAgentComp< AgentComp >::agent_instances.
|
virtual |
Creates a new Y2Component if the name matches the one provided in the constructor.
Reimplemented from Y2ComponentCreator.
|
inlinevirtual |
Returns true since all agents are server components.
Implements Y2ComponentCreator.
|
inlinevirtual |
Agent components do not provide any namespaces.
Reimplemented from Y2ComponentCreator.
|
mutableprivate |
Component for given name
Referenced by Y2CCAgentComp< AgentComp >::~Y2CCAgentComp().
|
private |
Name of my agent.