yast2-core
Public Member Functions | Private Attributes
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)
- Public Member Functions inherited from SCRAgent
 SCRAgent ()
virtual ~SCRAgent ()
virtual YCPMap Error (const YCPPath &)
virtual YCPBoolean RegisterAgent (const YCPPath &path, const YCPValue &)
virtual YCPBoolean UnregisterAgent (const YCPPath &path)
virtual YCPBoolean UnregisterAllAgents ()
virtual YCPBoolean UnmountAgent (const YCPPath &)
virtual YCPBoolean RegisterNewAgents ()
virtual YCPValue otherCommand (const YCPTerm &term)
void setAsCurrentSCR ()

Private Attributes

string tempdir

Additional Inherited Members

- Static Public Member Functions inherited from SCRAgent
static YCPValue readconf (const char *filename)
static SCRAgentinstance ()
- Public Attributes inherited from SCRAgent
SCRAgentmainscragent

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)
inlinevirtual

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.8.1