2005/5/9

     
 

class SystemImpl

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

acdk::lang::SystemImpl Class Reference

#include <System.h>

Inheritance diagram for acdk::lang::SystemImpl:

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

Detailed Description

See also:
acdk::lang::System
API: Java & ACDK
Author:
Roger Rene Kommer
Version:
Revision
1.47
Date:
Date
2005/04/28 15:00:04


Public Member Functions

virtual RStringArray init (int argc, char *argv[], char **envptr, IN(RStringArray) args)
virtual void deinit ()
 unitialize System.

virtual void reinit ()
 reloads config

virtual ~SystemImpl ()
acdk::util::RProperties properties ()
acdk::util::RProperties environment ()
RStringArray getAcdkPath ()
 see System::getAcdkPath()

void setProperties (IN(acdk::util::RProperties) props)
 overwrite the given properties

RStringArray getFilteredArgs ()
 return the arguments given to the users main function

RStringArray getUnfilteredArgs ()
 return the arguments before filtering general ACDK options

void setFilteredArgs (IN(RStringArray) args)

Protected Member Functions

 SystemImpl ()
 protected constructors, call int System::main(ACDK_MainFunc mainfunc, int argc, char* argv[]); to initialize ACDK

 SystemImpl (int argc, char *argv[], char **envptr=0)
void _loadEnvProperties (char **envptr=0)
void _loadAppProperties ()
RStringArray _filterArgs (IN(RStringArray) args)
 filters away acdk-specific arguments.


Protected Attributes

acdk::util::RProperties _properties
 all current loaded properties

acdk::util::RProperties _environment
 Only the properties set by environment.

acdk::util::RPropertiesChangeListener _systemPropertiesListener
RThread _mainThread
 represents the main-thread

RStringArray _acdkPath
 path list with ACDK libraries

RStringArray _unfilteredArgs
 contains the arguments including general acdk options

RStringArray _filteredArgs
 contains the arguments passed to application

ArgumentHolder * _argumentHolder

Friends

class System


Constructor & Destructor Documentation

acdk::lang::SystemImpl::SystemImpl  )  [protected]
 

protected constructors, call int System::main(ACDK_MainFunc mainfunc, int argc, char* argv[]); to initialize ACDK

acdk::lang::SystemImpl::SystemImpl int  argc,
char *  argv[],
char **  envptr = 0
[protected]
 

virtual acdk::lang::SystemImpl::~SystemImpl  )  [virtual]
 


Member Function Documentation

RStringArray acdk::lang::SystemImpl::_filterArgs IN(RStringArray args  )  [protected]
 

filters away acdk-specific arguments.

-acdk-home=pathtoacdk

void acdk::lang::SystemImpl::_loadAppProperties  )  [protected]
 

void acdk::lang::SystemImpl::_loadEnvProperties char **  envptr = 0  )  [protected]
 

virtual void acdk::lang::SystemImpl::deinit  )  [virtual]
 

unitialize System.

acdk::util::RProperties acdk::lang::SystemImpl::environment  ) 
 

RStringArray acdk::lang::SystemImpl::getAcdkPath  ) 
 

see System::getAcdkPath()

RStringArray acdk::lang::SystemImpl::getFilteredArgs  )  [inline]
 

return the arguments given to the users main function

RStringArray acdk::lang::SystemImpl::getUnfilteredArgs  )  [inline]
 

return the arguments before filtering general ACDK options

virtual RStringArray acdk::lang::SystemImpl::init int  argc,
char *  argv[],
char **  envptr,
IN(RStringArray args
[virtual]
 

acdk::util::RProperties acdk::lang::SystemImpl::properties  ) 
 

virtual void acdk::lang::SystemImpl::reinit  )  [virtual]
 

reloads config

void acdk::lang::SystemImpl::setFilteredArgs IN(RStringArray args  )  [inline]
 

void acdk::lang::SystemImpl::setProperties IN(acdk::util::RProperties props  ) 
 

overwrite the given properties


Friends And Related Function Documentation

friend class System [friend]
 


Member Data Documentation

RStringArray acdk::lang::SystemImpl::_acdkPath [protected]
 

path list with ACDK libraries

ArgumentHolder* acdk::lang::SystemImpl::_argumentHolder [protected]
 

acdk::util::RProperties acdk::lang::SystemImpl::_environment [protected]
 

Only the properties set by environment.

RStringArray acdk::lang::SystemImpl::_filteredArgs [protected]
 

contains the arguments passed to application

RThread acdk::lang::SystemImpl::_mainThread [protected]
 

represents the main-thread

acdk::util::RProperties acdk::lang::SystemImpl::_properties [protected]
 

all current loaded properties

acdk::util::RPropertiesChangeListener acdk::lang::SystemImpl::_systemPropertiesListener [protected]
 

RStringArray acdk::lang::SystemImpl::_unfilteredArgs [protected]
 

contains the arguments including general acdk options