C# Class HoloToolkit.Sharing.Utilities.ExternalProcess

Inheritance: IDisposable
Exibir arquivo Open project: Microsoft/HoloToolkit-Unity

Private Properties

Property Type Description
ExternalProcess System
ExternalProcessAPI_ConfirmOrBeginProcess void
ExternalProcessAPI_CreateProcess System.IntPtr
ExternalProcessAPI_DestroyProcess void
ExternalProcessAPI_GetLine System.IntPtr
ExternalProcessAPI_IsRunning bool
ExternalProcessAPI_SendLine void

Public Methods

Method Description
CreateExternalProcess ( string appName ) : ExternalProcess
CreateExternalProcess ( string appName, string args ) : ExternalProcess
Dispose ( ) : void
FindAndLaunch ( string appName ) : bool
FindAndLaunch ( string appName, string args ) : bool
FindPathToExecutable ( string appName ) : string
GetLine ( ) : string
IsRunning ( ) : bool
Launch ( string appName ) : void
MakeRelativePath ( string path1, string path2 ) : string
SendLine ( string line ) : void
Terminate ( ) : void
WaitFor ( float seconds, Func func ) : bool
WaitForShutdown ( float seconds ) : bool
WaitForStart ( float seconds ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ExternalProcess ( string appName, string args ) : System
ExternalProcessAPI_ConfirmOrBeginProcess ( [ processName ) : void
ExternalProcessAPI_CreateProcess ( [ cmdline ) : IntPtr
ExternalProcessAPI_DestroyProcess ( IntPtr handle ) : void
ExternalProcessAPI_GetLine ( IntPtr handle ) : IntPtr
ExternalProcessAPI_IsRunning ( IntPtr handle ) : bool
ExternalProcessAPI_SendLine ( IntPtr handle, [ line ) : void

Method Details

CreateExternalProcess() static public method

static public CreateExternalProcess ( string appName ) : ExternalProcess
appName string
return ExternalProcess

CreateExternalProcess() static public method

static public CreateExternalProcess ( string appName, string args ) : ExternalProcess
appName string
args string
return ExternalProcess

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindAndLaunch() static public method

static public FindAndLaunch ( string appName ) : bool
appName string
return bool

FindAndLaunch() static public method

static public FindAndLaunch ( string appName, string args ) : bool
appName string
args string
return bool

FindPathToExecutable() static public method

static public FindPathToExecutable ( string appName ) : string
appName string
return string

GetLine() public method

public GetLine ( ) : string
return string

IsRunning() public method

public IsRunning ( ) : bool
return bool

Launch() static public method

static public Launch ( string appName ) : void
appName string
return void

MakeRelativePath() static public method

static public MakeRelativePath ( string path1, string path2 ) : string
path1 string
path2 string
return string

SendLine() public method

public SendLine ( string line ) : void
line string
return void

Terminate() public method

public Terminate ( ) : void
return void

WaitFor() public method

public WaitFor ( float seconds, Func func ) : bool
seconds float
func Func
return bool

WaitForShutdown() public method

public WaitForShutdown ( float seconds ) : bool
seconds float
return bool

WaitForStart() public method

public WaitForStart ( float seconds ) : bool
seconds float
return bool