Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKWRemoteExecute Class Reference

execute process on remote computer More...

#include <vtkKWRemoteExecute.h>

List of all members.

Public Types

enum  { NOT_RUN, RUNNING, SUCCESS, FAIL }

Public Member Functions

 vtkTypeRevisionMacro (vtkKWRemoteExecute, vtkObject)
void PrintSelf (ostream &os, vtkIndent indent)
int RunRemoteCommand (const char *args)
int RunCommand (const char *args)
int WaitToFinish ()
virtual void SetRemoteHost (const char *)
virtual char * GetRemoteHost ()
virtual int GetResult ()
virtual void SetSSHUser (const char *)
virtual char * GetSSHUser ()
virtual void SetSSHCommand (const char *)
virtual char * GetSSHCommand ()
virtual void SetSSHArguments (const char *)
virtual char * GetSSHArguments ()

Static Public Member Functions

vtkKWRemoteExecuteNew ()
void * RunCommandThread (void *)
int Detach ()

Protected Member Functions

 vtkKWRemoteExecute ()
 ~vtkKWRemoteExecute ()

Protected Attributes

vtkKWRemoteExecuteInternal * Internals
vtkMultiThreader * MultiThreader
char * SSHCommand
char * SSHArguments
char * SSHUser
char * RemoteHost
int ProcessRunning
int Result
int ProcessThreadId


Detailed Description

execute process on remote computer

This class abstracts execution of programs on remote processes.

Definition at line 29 of file vtkKWRemoteExecute.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NOT_RUN 
RUNNING 
SUCCESS 
FAIL 

Definition at line 45 of file vtkKWRemoteExecute.h.


Constructor & Destructor Documentation

vtkKWRemoteExecute::vtkKWRemoteExecute  )  [protected]
 

vtkKWRemoteExecute::~vtkKWRemoteExecute  )  [protected]
 


Member Function Documentation

vtkKWRemoteExecute* vtkKWRemoteExecute::New  )  [static]
 

vtkKWRemoteExecute::vtkTypeRevisionMacro vtkKWRemoteExecute  ,
vtkObject 
 

void vtkKWRemoteExecute::PrintSelf ostream &  os,
vtkIndent  indent
 

int vtkKWRemoteExecute::RunRemoteCommand const char *  args  ) 
 

Run command remotely.

int vtkKWRemoteExecute::RunCommand const char *  args  ) 
 

Run command.

void* vtkKWRemoteExecute::RunCommandThread void *   )  [static]
 

int vtkKWRemoteExecute::WaitToFinish  ) 
 

Wait for remote command to finish.

int vtkKWRemoteExecute::Detach  )  [static]
 

Detach process from the current console. Useful for when invoking new process which should stay up even when the parent process exits. Returns VTK_OK on success.

virtual void vtkKWRemoteExecute::SetRemoteHost const char *   )  [virtual]
 

Set and get the remote host to run command.

virtual char* vtkKWRemoteExecute::GetRemoteHost  )  [virtual]
 

Set and get the remote host to run command.

virtual int vtkKWRemoteExecute::GetResult  )  [virtual]
 

Get the result. It can be NOT_RUN, RUNNING, SUCCESS, FAIL

virtual void vtkKWRemoteExecute::SetSSHUser const char *   )  [virtual]
 

Set SSH user

virtual char* vtkKWRemoteExecute::GetSSHUser  )  [virtual]
 

Set SSH user

virtual void vtkKWRemoteExecute::SetSSHCommand const char *   )  [virtual]
 

Set SSH command

virtual char* vtkKWRemoteExecute::GetSSHCommand  )  [virtual]
 

Set SSH command

virtual void vtkKWRemoteExecute::SetSSHArguments const char *   )  [virtual]
 

Set SSH arguments

virtual char* vtkKWRemoteExecute::GetSSHArguments  )  [virtual]
 

Set SSH arguments


Member Data Documentation

vtkKWRemoteExecuteInternal* vtkKWRemoteExecute::Internals [protected]
 

Definition at line 94 of file vtkKWRemoteExecute.h.

vtkMultiThreader* vtkKWRemoteExecute::MultiThreader [protected]
 

Definition at line 95 of file vtkKWRemoteExecute.h.

char* vtkKWRemoteExecute::SSHCommand [protected]
 

Definition at line 97 of file vtkKWRemoteExecute.h.

char* vtkKWRemoteExecute::SSHArguments [protected]
 

Definition at line 98 of file vtkKWRemoteExecute.h.

char* vtkKWRemoteExecute::SSHUser [protected]
 

Definition at line 99 of file vtkKWRemoteExecute.h.

char* vtkKWRemoteExecute::RemoteHost [protected]
 

Definition at line 100 of file vtkKWRemoteExecute.h.

int vtkKWRemoteExecute::ProcessRunning [protected]
 

Definition at line 101 of file vtkKWRemoteExecute.h.

int vtkKWRemoteExecute::Result [protected]
 

Definition at line 102 of file vtkKWRemoteExecute.h.

int vtkKWRemoteExecute::ProcessThreadId [protected]
 

Definition at line 104 of file vtkKWRemoteExecute.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:42:44 2006 for ParaView by doxygen 1.3.5