00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef Y2CCSerial_h
00028 #define Y2CCSerial_h
00029
00030 #include "Y2ComponentCreator.h"
00031
00032 class Y2CCSerial : public Y2ComponentCreator
00033 {
00037 bool creates_servers;
00038
00042 mutable regex_t rx1;
00043
00044 mutable int my_nl_msg_cat_cntr;
00045 void make_rxs () const;
00046 void free_rxs () const;
00047
00048 public:
00049
00050 Y2CCSerial(bool creates_servers);
00051
00052 bool isServerCreator() const;
00053
00054 Y2Component *create(const char *name) const;
00055
00059 Y2Component* provideNamespace(const char* name_space);
00060 };
00061
00062
00063 #endif // Y2CCSerial_h