ICurrentNonGUIApplication

This class provides access to the current application. There is a certain amount of functionality which does not require any access to the INonGUIApplication object, so it can be accessed via this class for greater efficiency.


ICurrentNonGUIApplication - Member Functions and Data by Group

Constructors & Destructor

Construct and destruct objects of this class.


[view class]
~ICurrentNonGUIApplication
protected:
virtual ~ICurrentNonGUIApplication()
Destroys this object. Does not affect the process if it is still running.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
ICurrentNonGUIApplication
protected:
ICurrentNonGUIApplication()
Constructs a current non-GUI application object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Debug

Get debug information on the current application.


[view class]
asDebugInfo
public:
virtual IString asDebugInfo() const
Returns a string of formatted debug info for this object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
pib
protected:
struct pib_s& pib()

Return a reference to an OS/2 process information block (PIB) structure.

Supported Platforms

Windows OS/2 AIX
No Yes No


Process Argument Methods

Set and access process command line arguments.


[view class]
argc
public:
virtual int argc() const
Returns the count of arguments for this process.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
argv
public:
virtual IString argv(int argumentNumber) const
Returns a particular argument for this process. The passed argument number indicates which one.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setArgs
public:
virtual ICurrentNonGUIApplication& setArgs( int argc, const char * const argv [ ] )
Sets the arguments for this process. Obvious it will not affect the process if the process is already started.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Process Control

Control the current process


[view class]
exit
public:
virtual ICurrentNonGUIApplication& exit()
Causes the current application to exit.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ICurrentNonGUIApplication - Inherited Member Functions and Data

Inherited Public Functions

INonGUIApplication

Inherited Public Data

Inherited Protected Functions

INonGUIApplication

Inherited Protected Data