xorp

TaskProgramItem Class Reference

Inheritance diagram for TaskProgramItem:
TaskBaseItem

List of all members.

Public Types

typedef XorpCallback4< void,
bool, const string &, const
string &, bool >::RefPtr 
ProgramCallback

Public Member Functions

 TaskProgramItem (const UnexpandedProgram &program, TaskProgramItem::ProgramCallback program_cb, Task &task)
 TaskProgramItem (const TaskProgramItem &them)
bool execute (string &errmsg)
void execute_done (bool success)
void unschedule ()

Private Member Functions

void stdout_cb (RunShellCommand *run_command, const string &output)
void stderr_cb (RunShellCommand *run_command, const string &output)
void done_cb (RunShellCommand *run_command, bool success, const string &error_msg)

Private Attributes

UnexpandedProgram _unexpanded_program
RunShellCommand_run_command
string _command_stdout
string _command_stderr
TaskProgramItem::ProgramCallback _program_cb
XorpTimer _delay_timer
bool _verbose

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations