yast2-core
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Y2CCSerial Class Reference

#include <Y2CCSerial.h>

Inheritance diagram for Y2CCSerial:
Y2ComponentCreator

Public Member Functions

 Y2CCSerial (bool creates_servers)
 
bool isServerCreator () const
 
Y2Componentcreate (const char *name) const
 
Y2ComponentprovideNamespace (const char *name_space)
 
- Public Member Functions inherited from Y2ComponentCreator
 Y2ComponentCreator (Y2ComponentBroker::order_t order)
 
 Y2ComponentCreator (Y2ComponentBroker::order_t order, bool force_register)
 
virtual ~Y2ComponentCreator ()
 
virtual Y2ComponentcreateInLevel (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
 

Constructor & Destructor Documentation

Y2CCSerial::Y2CCSerial ( bool  creates_servers)

References make_rxs().

Member Function Documentation

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. 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.

void Y2CCSerial::free_rxs ( ) const
private

References rx1.

Referenced by create().

bool Y2CCSerial::isServerCreator ( ) const
virtual

Specifies, whether this creator creates Y2Servers.

Implements Y2ComponentCreator.

References creates_servers.

void Y2CCSerial::make_rxs ( ) const
private

References my_nl_msg_cat_cntr, and rx1.

Referenced by create(), and Y2CCSerial().

Y2Component * Y2CCSerial::provideNamespace ( const char *  name_space)
virtual

Importing a namespace from a serial subcomponent is not possible.

Reimplemented from Y2ComponentCreator.

References g_y2ccserial0, g_y2ccserial1, and y2debug.

Member Data Documentation

bool Y2CCSerial::creates_servers
private

Denotes a server or a client

Referenced by isServerCreator().

int Y2CCSerial::my_nl_msg_cat_cntr
mutableprivate

Referenced by create(), and make_rxs().

regex_t Y2CCSerial::rx1
mutableprivate

regular expression

Referenced by create(), free_rxs(), and make_rxs().


The documentation for this class was generated from the following files:

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