yast2-core
|
#include <Y2CCSerial.h>
Public Member Functions | |
Y2CCSerial (bool creates_servers) | |
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 Member Functions | |
void | make_rxs () const |
void | free_rxs () const |
Private Attributes | |
bool | creates_servers |
regex_t | rx1 |
int | my_nl_msg_cat_cntr |
Y2CCSerial::Y2CCSerial | ( | bool | creates_servers | ) |
References make_rxs().
|
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 free_rxs(), make_rxs(), my_nl_msg_cat_cntr, and rx1.
|
virtual |
Specifies, whether this creator creates Y2Servers.
Implements Y2ComponentCreator.
References creates_servers.
|
private |
References my_nl_msg_cat_cntr, and rx1.
Referenced by create(), and Y2CCSerial().
|
virtual |
Importing a namespace from a serial subcomponent is not possible.
Reimplemented from Y2ComponentCreator.
References g_y2ccserial0, g_y2ccserial1, and y2debug.
|
private |
Denotes a server or a client
Referenced by isServerCreator().
|
mutableprivate |
Referenced by create(), and make_rxs().
|
mutableprivate |
regular expression
Referenced by create(), free_rxs(), and make_rxs().