Jive reference manual
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
jem::Process Class Referenceabstract

#include <jem/base/Process.h>

Inheritance diagram for jem::Process:
Inheritance graph

Public Types

typedef io::InputStream Input
 
typedef io::OutputStream Output
 

Public Member Functions

virtual void kill ()=0
 
virtual int wait ()=0
 
virtual bool isAlive ()=0
 
virtual Ref< OutputgetStdin () const =0
 
virtual Ref< InputgetStdout () const =0
 
virtual Ref< InputgetStderr () const =0
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static void exec (const Array< String > &cline, int options=0)
 
static Ref< Processspawn (const Array< String > &cline, int options=0)
 
static Ref< Processspawn (const Array< String > &cline, const SpawnParams &params, int options=0)
 
static String getExecPath ()
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Static Public Attributes

static const int KILLED
 
static const int OMIT_QUOTES
 

Protected Member Functions

virtual ~Process ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual jem::Process::~Process ( )
protectedvirtual

Member Function Documentation

virtual void jem::Process::kill ( )
pure virtual
virtual int jem::Process::wait ( )
pure virtual
virtual bool jem::Process::isAlive ( )
pure virtual
virtual Ref<Output> jem::Process::getStdin ( ) const
pure virtual
virtual Ref<Input> jem::Process::getStdout ( ) const
pure virtual
virtual Ref<Input> jem::Process::getStderr ( ) const
pure virtual
static void jem::Process::exec ( const Array< String > &  cline,
int  options = 0 
)
static
static Ref<Process> jem::Process::spawn ( const Array< String > &  cline,
int  options = 0 
)
static
static Ref<Process> jem::Process::spawn ( const Array< String > &  cline,
const SpawnParams params,
int  options = 0 
)
static
static String jem::Process::getExecPath ( )
static

Member Data Documentation

const int jem::Process::KILLED
static
const int jem::Process::OMIT_QUOTES
static