#include <DummyAgent.h>
Inheritance diagram for DummyAgent:
Public Member Functions | |
DummyAgent () | |
YCPValue | Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull()) |
YCPBoolean | Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
YCPValue | Execute (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
YCPList | Dir (const YCPPath &path) |
YCPValue | otherCommand (const YCPTerm &term) |
Private Member Functions | |
YCPValue | checkPath (const YCPPath &path, const YCPMap &map, const YCPValue &defaultVal) |
Private Attributes | |
YCPList | readList |
YCPList | writeList |
YCPList | execList |
YCPValue | defaultValue |
YCPMap | defaultMap |
int | readCalls |
int | writeCalls |
int | execCalls |
|
Constructor |
|
Check if the given path is valid and return the correct value |
|
Get a list of all subtrees. Implements SCRAgent. |
|
Execute a program. Destroy the result after use.
Reimplemented from SCRAgent. |
|
Evaluates the DataMap() command Reimplemented from SCRAgent. |
|
Reads data. Destroy the result after use.
Implements SCRAgent. |
|
Writes data. Destroy the result after use.
Implements SCRAgent. |
|
|
|
default value if path has no match in dataMap |
|
|
|
|
|
counts of previously done operations |
|
data map from agent initialization |
|
|
|
|