yast2-core
|
SCR Agent for system commands. More...
#include <SystemAgent.h>
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) |
![]() | |
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 YCPValue | readconf (const char *filename) |
static SCRAgent * | instance () |
![]() | |
SCRAgent * | mainscragent |
SCR Agent for system commands.
SystemAgent::~SystemAgent | ( | ) |
Destructor
References remove_directory(), and tempdir.
Get a list of all subtrees
Implements SCRAgent.
|
virtual |
Execute a command
Reimplemented from SCRAgent.
|
virtual |
Read data
Implements SCRAgent.
|
virtual |
Write data
Implements SCRAgent.
|
private |
Referenced by SystemAgent(), and ~SystemAgent().