#include <SCRSubAgent.h>
SCRSubAgent::~SCRSubAgent |
( |
| ) |
|
Destructor. Does also unmount the subagent.
References unmount().
Returns the component of the subagent. This does not call mount (). Is 0 if mount () was not called of failed.
References my_comp, and operator<.
YCPPath SCRSubAgent::get_path |
( |
| ) |
const |
|
inline |
Returns the path of the subagent.
References my_path.
Mount the subagent, that is create the component. Does nothing if the subagent is already mounted.
References Y2ComponentBroker::createServer(), Y2Component::evaluate(), Y2Component::getSCRAgent(), YCPElement::isNull(), SCRAgent::mainscragent, my_comp, my_path, my_value, SCRAgent::readconf(), SCRAgent::root(), y2debug, ycp2error, and ycpdebug.
void SCRSubAgent::unmount |
( |
| ) |
|
Unmount the subagent, that is delete the component. Does nothing if the subagent is not mounted.
References my_comp.
Referenced by ~SCRSubAgent().
Used for finding subagents.
Referenced by get_comp().
The value is either a string with the filename of the definition or the term of the definition.
Referenced by mount().
The documentation for this class was generated from the following files: