#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) |
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().
Y2Component * Y2CCSerial::create | ( | const char * | name | ) | const [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.
Reimplemented from Y2ComponentCreator.
References free_rxs(), make_rxs(), my_nl_msg_cat_cntr, and rx1.
bool Y2CCSerial::isServerCreator | ( | ) | const [virtual] |
Specifies, whether this creator creates Y2Servers.
Implements Y2ComponentCreator.
References creates_servers.
void Y2CCSerial::make_rxs | ( | ) | const [private] |
Y2Component * Y2CCSerial::provideNamespace | ( | const char * | name_space | ) | [virtual] |
Importing a namespace from a serial subcomponent is not possible.
Reimplemented from Y2ComponentCreator.
References y2debug.
bool Y2CCSerial::creates_servers [private] |
Denotes a server or a client
Referenced by isServerCreator().
int Y2CCSerial::my_nl_msg_cat_cntr [mutable, private] |
Referenced by create(), and make_rxs().
regex_t Y2CCSerial::rx1 [mutable, private] |
regular expression
Referenced by create(), free_rxs(), and make_rxs().