SCRSubAgent Class Reference

#include <SCRSubAgent.h>

List of all members.

Public Member Functions

 SCRSubAgent (YCPPath, YCPValue)
 ~SCRSubAgent ()
YCPValue mount (SCRAgent *parent)
void unmount ()
YCPPath get_path () const
Y2Componentget_comp () const

Private Member Functions

 SCRSubAgent (const SCRSubAgent &)
void operator= (const SCRSubAgent &)

Private Attributes

YCPPath my_path
YCPValue my_value
Y2Componentmy_comp

Friends

int operator< (const SCRSubAgent *, const YCPPath &)


Constructor & Destructor Documentation

SCRSubAgent::SCRSubAgent YCPPath  ,
YCPValue 
 

Constructor.

SCRSubAgent::~SCRSubAgent  ) 
 

Destructor. Does also unmount the subagent.

SCRSubAgent::SCRSubAgent const SCRSubAgent  )  [private]
 


Member Function Documentation

Y2Component* SCRSubAgent::get_comp  )  const [inline]
 

Returns the component of the subagent. This does not call mount (). Is 0 if mount () was not called of failed.

YCPPath SCRSubAgent::get_path  )  const [inline]
 

Returns the path of the subagent.

YCPValue SCRSubAgent::mount SCRAgent parent  ) 
 

Mount the subagent, that is create the component. Does nothing if the subagent is already mounted.

void SCRSubAgent::operator= const SCRSubAgent  )  [private]
 

void SCRSubAgent::unmount  ) 
 

Unmount the subagent, that is delete the component. Does nothing if the subagent is not mounted.


Friends And Related Function Documentation

int operator< const SCRSubAgent a,
const YCPPath p
[friend]
 

Used for finding subagents.


Member Data Documentation

Y2Component* SCRSubAgent::my_comp [private]
 

The component. 0 means not created (mounted).

YCPPath SCRSubAgent::my_path [private]
 

The scr path.

YCPValue SCRSubAgent::my_value [private]
 

The value is either a string with the filename of the definition or the term of the definition.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6