JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ChildProcess::ActiveProcess Class Reference

#include <juce_posix_SharedCode.h>

Collaboration diagram for juce::ChildProcess::ActiveProcess:

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

◆ ActiveProcess()

◆ ~ActiveProcess()

juce::ChildProcess::ActiveProcess::~ActiveProcess ( )
inline

References pipeHandle, and readHandle.

Member Function Documentation

◆ getExitCode()

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

References childPID, and exitCode.

◆ isRunning()

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

References childPID, and exitCode.

◆ killProcess()

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

References childPID.

◆ read()

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

Member Data Documentation

◆ childPID

int juce::ChildProcess::ActiveProcess::childPID = 0

◆ exitCode

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

Referenced by getExitCode(), and isRunning().

◆ pipeHandle

int juce::ChildProcess::ActiveProcess::pipeHandle = 0

Referenced by ActiveProcess(), read(), and ~ActiveProcess().

◆ readHandle

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

Referenced by read(), and ~ActiveProcess().


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