yast2-core
|
#include <Y2CCStdio.h>
Public Member Functions | |
Y2CCStdio (bool creates_servers, bool to_stderr) | |
bool | isServerCreator () const |
Y2Component * | create (const char *name) const |
Y2Component * | provideNamespace (const char *name_space) |
![]() | |
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 | |
bool | creates_servers |
bool | to_stderr |
Y2CCStdio::Y2CCStdio | ( | bool | creates_servers, |
bool | to_stderr | ||
) |
|
virtual |
Override this method to implement the actual creating of the component. You must use the symbol and the signature of the term to decide, which component is to be created. If you are not able to create a matching component, return 0. Instance of component is still owned by component creator and can be shared between calls.
Reimplemented from Y2ComponentCreator.
References creates_servers, and to_stderr.
|
virtual |
Specifies, whether this creator creates Y2Servers.
Implements Y2ComponentCreator.
References creates_servers.
|
virtual |
Importing a namespace from a stdio subcomponent is not possible.
Reimplemented from Y2ComponentCreator.
|
private |
If true, creates only the "cat" component, if false only the "stdio".
Referenced by create(), and isServerCreator().
|
private |
true, if stderr component should be created
Referenced by create().