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

#include <Y2CCStdio.h>

Inheritance diagram for Y2CCStdio:
Y2ComponentCreator

Public Member Functions

 Y2CCStdio (bool creates_servers, bool to_stderr)
 
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 Attributes

bool creates_servers
 
bool to_stderr
 

Constructor & Destructor Documentation

Y2CCStdio::Y2CCStdio ( bool  creates_servers,
bool  to_stderr 
)

Member Function Documentation

Y2Component * Y2CCStdio::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 creates_servers, and to_stderr.

bool Y2CCStdio::isServerCreator ( ) const
virtual

Specifies, whether this creator creates Y2Servers.

Implements Y2ComponentCreator.

References creates_servers.

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

Importing a namespace from a stdio subcomponent is not possible.

Reimplemented from Y2ComponentCreator.

Member Data Documentation

bool Y2CCStdio::creates_servers
private

If true, creates only the "cat" component, if false only the "stdio".

Referenced by create(), and isServerCreator().

bool Y2CCStdio::to_stderr
private

true, if stderr component should be created

Referenced by create().


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

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