LMMS
Loading...
Searching...
No Matches
water::ChildProcess::ActiveProcess Class Reference

#include <juce_posix_SharedCode.h>

Public Member Functions

 ActiveProcess (const StringArray &arguments, int streamFlags)
 ~ActiveProcess ()
bool isRunning () noexcept
int read (void *dest, int numBytes) noexcept
bool killProcess () const noexcept
uint32 getExitCode () noexcept
int getPID () const noexcept
 ActiveProcess (const String &command, int streamFlags)
 ~ActiveProcess ()
bool isRunning () const noexcept
int read (void *dest, int numNeeded) const noexcept
bool killProcess () const noexcept
uint32 getExitCode () const noexcept
int getPID () const noexcept

Public Attributes

int childPID = 0
int pipeHandle = 0
int exitCode = -1
FILE * readHandle = {}
bool ok

Private Attributes

HANDLE readPipe
HANDLE writePipe
PROCESS_INFORMATION processInfo

Constructor & Destructor Documentation

◆ ActiveProcess() [1/2]

water::ChildProcess::ActiveProcess::ActiveProcess ( const StringArray & arguments,
int streamFlags )
inline

◆ ~ActiveProcess() [1/2]

water::ChildProcess::ActiveProcess::~ActiveProcess ( )
inline

◆ ActiveProcess() [2/2]

water::ChildProcess::ActiveProcess::ActiveProcess ( const String & command,
int streamFlags )
inline

◆ ~ActiveProcess() [2/2]

water::ChildProcess::ActiveProcess::~ActiveProcess ( )
inline

Member Function Documentation

◆ getExitCode() [1/2]

uint32 water::ChildProcess::ActiveProcess::getExitCode ( ) const
inlinenoexcept

◆ getExitCode() [2/2]

uint32 water::ChildProcess::ActiveProcess::getExitCode ( )
inlinenoexcept

◆ getPID() [1/2]

int water::ChildProcess::ActiveProcess::getPID ( ) const
inlinenoexcept

◆ getPID() [2/2]

int water::ChildProcess::ActiveProcess::getPID ( ) const
inlinenoexcept

◆ isRunning() [1/2]

bool water::ChildProcess::ActiveProcess::isRunning ( ) const
inlinenoexcept

◆ isRunning() [2/2]

bool water::ChildProcess::ActiveProcess::isRunning ( )
inlinenoexcept

◆ killProcess() [1/2]

bool water::ChildProcess::ActiveProcess::killProcess ( ) const
inlinenoexcept

◆ killProcess() [2/2]

bool water::ChildProcess::ActiveProcess::killProcess ( ) const
inlinenoexcept

◆ read() [1/2]

int water::ChildProcess::ActiveProcess::read ( void * dest,
int numBytes )
inlinenoexcept

◆ read() [2/2]

int water::ChildProcess::ActiveProcess::read ( void * dest,
int numNeeded ) const
inlinenoexcept

Member Data Documentation

◆ childPID

int water::ChildProcess::ActiveProcess::childPID = 0

◆ exitCode

int water::ChildProcess::ActiveProcess::exitCode = -1

◆ ok

bool water::ChildProcess::ActiveProcess::ok

◆ pipeHandle

int water::ChildProcess::ActiveProcess::pipeHandle = 0

◆ processInfo

PROCESS_INFORMATION water::ChildProcess::ActiveProcess::processInfo
private

◆ readHandle

FILE* water::ChildProcess::ActiveProcess::readHandle = {}

◆ readPipe

HANDLE water::ChildProcess::ActiveProcess::readPipe
private

◆ writePipe

HANDLE water::ChildProcess::ActiveProcess::writePipe
private

The documentation for this class was generated from the following files: