yast2-core
Functions | Variables
componentcreator.txt File Reference

Functions

How components are created include y2 Y2ComponentCreator h The Y2ComponentCreator class is the interface between a component and the component broker (Y2ComponentBroker.cc).It is used to find and intialize a component
 
How components are created include y2 Y2ComponentCreator h The Y2ComponentCreator class is the interface between a component and the component it is not used for communication with a component The component broker keeps a global list of all known components Y2ComponentCreator (Y2ComponentBroker::order_t order)
 
enters the component to the broker s list in the given order Y2Componentcreate (const char *name) const create the component and return a handle for communication(see interface.txt) name is used to identify components based on the same code(e.g.stdio and stderr) Y2Component *create(const char *name
 
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 isServerCreator () const return true for servers
 
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 isClientCreator () return false for servers
 

Variables

enters the component to the broker s list in the given order Y2Component int level
 
enters the component to the broker s list in the given order Y2Component int int current_level same as above
 
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 creators
 
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 executable
 
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 Y2CCWFM
 
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 Y2CCProgram
 
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
 
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 creates_servers
 
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 creates_non_y2
 
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 level else if creates_servers then fail if can stat it and is create it Y2CCStdio
 

Function Documentation

How components are created include y2 Y2ComponentCreator h The Y2ComponentCreator class is the interface between a component and the component broker ( Y2ComponentBroker.  cc)
enters the component to the broker s list in the given order Y2Component* create ( const char *  name) const
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 isClientCreator ( )
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 isServerCreator ( ) const
How components are created include y2 Y2ComponentCreator h The Y2ComponentCreator class is the interface between a component and the component it is not used for communication with a component The component broker keeps a global list of all known components Y2ComponentCreator ( Y2ComponentBroker::order_t  order)

Variable Documentation

enters the component to the broker s list in the given order Y2Component int int current_level same as above
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 creates_non_y2
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 creates_servers
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 creators
Initial value:
=============================
(mvidner@suse.cz: I want to implement a simple system of path searching)
Y2CCScript:
(in all levels)
try Y2PathSearch::findy2 ("clients/" + name + ".ycp")
try Y2PathSearch::completeFilename (name)
if it ends with .ycp
This is a Modules Agent TODO file $Id path
Definition: agent-modules/doc/TODO.txt:9
Definition: pathsearch.h:38
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
if(!yymsg) yymsg
Definition: parser.cc:6112
static string findy2(string filename, int mode=R_OK, int level=-1)
Definition: pathsearch.cc:143
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 level else if creates_servers then fail if can stat it and is executable
enters the component to the broker s list in the given order Y2Component int level
The name must be a valid y2component name
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 Y2CCProgram
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 level else if creates_servers then fail if can stat it and is create it Y2CCStdio
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 Y2CCWFM

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