#include <WFMSubAgent.h>
Public Member Functions | |
WFMSubAgent (const string &, int) | |
~WFMSubAgent () | |
bool | start () |
bool | start_and_check (bool, int *) |
string | get_name () const |
int | get_handle () const |
Y2Component * | comp () |
SCRAgent * | agent () |
Private Member Functions | |
WFMSubAgent (const WFMSubAgent &) | |
void | operator= (const WFMSubAgent &) |
Private Attributes | |
const string | my_name |
const int | my_handle |
Y2Component * | my_comp |
SCRAgent * | my_agent |
|
Constructor for a subagent. Takes the name and handle as arguments. |
|
Destructor for a subagent. Terminates the Y2Component if necessary. |
|
|
|
Returns the SCRAgent of the subagent. This does not call start (). Is 0 if start () was not called or failed or the Y2Component does not support the getSCRAgent () function. |
|
Returns the Y2Component of the subagent. This does not call start (). Is 0 if start () was not called or failed. |
|
Returns the handle of the subagent. |
|
Returns the name of the subagent. |
|
|
|
Starts the subagent. Returns true on success otherwise false. |
|
Starts the subagent and evaluates one term to ensure that the component is created (mainly for remote components). Can also check for the correct SuSE Version. Returns true on success otherwise false and sets the error number. |
|
The agent if component does not provide one |
|
The component. |
|
The handle. |
|
The name. |