SystemAgent Class Reference

SCR Agent for system commands. More...

#include <SystemAgent.h>

Inheritance diagram for SystemAgent:

SCRAgent

List of all members.

Public Member Functions

 SystemAgent ()
 ~SystemAgent ()
virtual YCPValue Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull())
virtual YCPBoolean Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull())
virtual YCPValue Execute (const YCPPath &path, const YCPValue &value=YCPNull(), const YCPValue &arg=YCPNull())
virtual YCPList Dir (const YCPPath &path)

Private Attributes

string tempdir


Detailed Description

SCR Agent for system commands.

Constructor & Destructor Documentation

SystemAgent::SystemAgent (  ) 

Constructor

References tempdir, y2debug, and y2error.

SystemAgent::~SystemAgent (  ) 

Destructor

References remove_directory(), and tempdir.


Member Function Documentation

virtual YCPList SystemAgent::Dir ( const YCPPath path  )  [inline, virtual]

Get a list of all subtrees

Implements SCRAgent.

virtual YCPValue SystemAgent::Execute ( const YCPPath path,
const YCPValue value = YCPNull(),
const YCPValue arg = YCPNull() 
) [virtual]

Execute a command

Reimplemented from SCRAgent.

virtual YCPValue SystemAgent::Read ( const YCPPath path,
const YCPValue arg = YCPNull(),
const YCPValue opt = YCPNull() 
) [virtual]

Read data

Implements SCRAgent.

virtual YCPBoolean SystemAgent::Write ( const YCPPath path,
const YCPValue value,
const YCPValue arg = YCPNull() 
) [virtual]

Write data

Implements SCRAgent.


Member Data Documentation

string SystemAgent::tempdir [private]

Referenced by SystemAgent(), and ~SystemAgent().


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

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