#include <SCRSubAgent.h>
Public Member Functions | |
SCRSubAgent (YCPPath, YCPValue) | |
~SCRSubAgent () | |
YCPValue | mount (SCRAgent *parent) |
void | unmount () |
YCPPath | get_path () const |
Y2Component * | get_comp () const |
Private Member Functions | |
SCRSubAgent (const SCRSubAgent &) | |
void | operator= (const SCRSubAgent &) |
Private Attributes | |
YCPPath | my_path |
YCPValue | my_value |
Y2Component * | my_comp |
Friends | |
int | operator< (const SCRSubAgent *, const YCPPath &) |
|
Constructor. |
|
Destructor. Does also unmount the subagent. |
|
|
|
Returns the component of the subagent. This does not call mount (). Is 0 if mount () was not called of failed. |
|
Returns the path of the subagent. |
|
Mount the subagent, that is create the component. Does nothing if the subagent is already mounted. |
|
|
|
Unmount the subagent, that is delete the component. Does nothing if the subagent is not mounted. |
|
Used for finding subagents. |
|
The component. 0 means not created (mounted). |
|
The scr path. |
|
The value is either a string with the filename of the definition or the term of the definition. |