yast2-core
Y2CCSerial.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12 
13  File: Y2CCSerial.h
14 
15  Author: Mathias Kettner <kettner@suse.de>
16  Maintainer: Thomas Roelz <tom@suse.de>
17 
18 /-*/
19 // -*- c++ -*-
20 
21 /*
22  * Component Creator that creates serial components
23  *
24  * Author: Thomas Roelz <tom@suse.de>
25  */
26 
27 #ifndef Y2CCSerial_h
28 #define Y2CCSerial_h
29 
30 #include "Y2ComponentCreator.h"
31 
33 {
38 
42  mutable regex_t rx1;
43 
44  mutable int my_nl_msg_cat_cntr;
45  void make_rxs () const;
46  void free_rxs () const;
47 
48 public:
49 
50  Y2CCSerial(bool creates_servers);
51 
52  bool isServerCreator() const;
53 
54  Y2Component *create(const char *name) const;
55 
59  Y2Component* provideNamespace(const char* name_space);
60 };
61 
62 
63 #endif // Y2CCSerial_h
Y2Component * provideNamespace(const char *name_space)
Definition: Y2CCSerial.cc:97
bool creates_servers
Definition: Y2CCSerial.h:37
Y2CCSerial(bool creates_servers)
Definition: Y2CCSerial.cc:34
Definition: Y2CCSerial.h:32
bool isServerCreator() const
Definition: Y2CCSerial.cc:42
enters the component to the broker s list in the given order Y2Component int int current_level same as but for external components which may reside in different directories The level identifies the directory prefix from the list defined in pathsearch cc bool false for clients bool true for clients Catalog of component take it if we can stat it and it is not take it if we can t stat it and its line matches in current level only name
Definition: componentcreator.txt:34
int my_nl_msg_cat_cntr
Definition: Y2CCSerial.h:44
Communication handle to a YaST2 component.
Definition: Y2Component.h:262
void free_rxs() const
Definition: Y2CCSerial.cc:60
void make_rxs() const
Definition: Y2CCSerial.cc:49
Y2Component * create(const char *name) const
Definition: Y2CCSerial.cc:66
regex_t rx1
Definition: Y2CCSerial.h:42
Can create certain YaST2 components As documented in Y2Component, there are many ways how to realize ...
Definition: Y2ComponentCreator.h:43

Generated on a sunny day for yast2-core by doxygen 1.8.11