#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) |
Private Attributes | |
string | tempdir |
SystemAgent::~SystemAgent | ( | ) |
Destructor
References remove_directory(), and tempdir.
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.
string SystemAgent::tempdir [private] |
Referenced by SystemAgent(), and ~SystemAgent().