2005/5/9

     
 

class Runtime

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::Runtime Class Reference

#include <Runtime.h>

Inheritance diagram for acdk::lang::Runtime:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Interface class to launch extern process.

See also:
acdk::cfgscript::ShellExecutor for a more easy to use class for launching external processes. API: Java extended
Author:
Roger Rene Kommer
Version:
Revision
1.21
Date:
Date
2005/04/09 19:26:50


Public Member Functions

void exit (int status)
jlong freeMemory ()
void gc ()
void load (IN(RString) filename)
void loadLibrary (IN(RString) libname)
void runFinalization ()
jlong totalMemory ()
void traceInstructions (bool on)
void traceMethodCalls (bool on)

Static Public Member Functions

RSignalEventHandlerArray getEventHandlers ()
RProcess exec (IN(RString) command, IN(RString) workdir=Nil)
RProcess exec (IN(RStringArray) cmdarray, IN(RString) workdir=Nil)
RProcess exec (IN(RStringArray) cmdarray, IN(RStringArray) envp, IN(RString) workdir=Nil)
RProcess exec (IN(RStringArray) cmdarray, IN(acdk::util::RProperties) envp, IN(RString) workdir=Nil)
RProcess exec (IN(RString) command, IN(RStringArray) envp, IN(RString) workdir=Nil)
RProcess exec (IN(RString) command, IN(acdk::util::RProperties) envp, IN(RString) workdir=Nil)
void registerSignalEventHandler (IN(RSignalEventHandler) handler)
 Note: not threadsafe.

void unregisterSignalEventHandler (IN(RSignalEventHandler) handler)
 Note: not threadsafe.

void unregisterAllEventHandler (int signals)
RRuntime getRuntime ()
void initSignals ()
 Initialize the signal settings.


Static Public Attributes

int SignaledCtrlCCount
int SignaledCtrlBreakCount
RSignalEventHandlerArray eventHandler
bool _traceMethodCalls


Member Function Documentation

RProcess acdk::lang::Runtime::exec IN(RString command,
IN(acdk::util::RProperties envp,
IN(RString workdir = Nil
[static]
 

RProcess acdk::lang::Runtime::exec IN(RString command,
IN(RStringArray envp,
IN(RString workdir = Nil
[static]
 

RProcess acdk::lang::Runtime::exec IN(RStringArray cmdarray,
IN(acdk::util::RProperties envp,
IN(RString workdir = Nil
[static]
 

RProcess acdk::lang::Runtime::exec IN(RStringArray cmdarray,
IN(RStringArray envp,
IN(RString workdir = Nil
[static]
 

RProcess acdk::lang::Runtime::exec IN(RStringArray cmdarray,
IN(RString workdir = Nil
[static]
 

RProcess acdk::lang::Runtime::exec IN(RString command,
IN(RString workdir = Nil
[static]
 

void acdk::lang::Runtime::exit int  status  ) 
 

jlong acdk::lang::Runtime::freeMemory  ) 
 

void acdk::lang::Runtime::gc  ) 
 

RSignalEventHandlerArray acdk::lang::Runtime::getEventHandlers  )  [static]
 

RRuntime acdk::lang::Runtime::getRuntime  )  [static]
 

void acdk::lang::Runtime::initSignals  )  [static]
 

Initialize the signal settings.

void acdk::lang::Runtime::load IN(RString filename  ) 
 

void acdk::lang::Runtime::loadLibrary IN(RString libname  ) 
 

void acdk::lang::Runtime::registerSignalEventHandler IN(RSignalEventHandler handler  )  [static]
 

Note: not threadsafe.

void acdk::lang::Runtime::runFinalization  ) 
 

jlong acdk::lang::Runtime::totalMemory  ) 
 

void acdk::lang::Runtime::traceInstructions bool  on  ) 
 

void acdk::lang::Runtime::traceMethodCalls bool  on  ) 
 

void acdk::lang::Runtime::unregisterAllEventHandler int  signals  )  [static]
 

Parameters:
signals bitwise combinations of SignalEventType. if 0 all are unregistered

void acdk::lang::Runtime::unregisterSignalEventHandler IN(RSignalEventHandler handler  )  [static]
 

Note: not threadsafe.


Member Data Documentation

bool acdk::lang::Runtime::_traceMethodCalls [static]
 

RSignalEventHandlerArray acdk::lang::Runtime::eventHandler [static]
 

int acdk::lang::Runtime::SignaledCtrlBreakCount [static]
 

int acdk::lang::Runtime::SignaledCtrlCCount [static]