|
Public Member Functions |
virtual ACDK_CORE_PUBLIC::acdk::lang::dmi::ClazzInfo * | getClazzInfo () |
| returns the ClazzInfo of this object instance must not be 0
|
virtual ACDK_CORE_PUBLIC void | getCollectableFields (FieldReferences &fields) |
| retrun the collectable fields of this object (all Objects fields) will be re-implemented for each class by methods generated by acdkmc If this is manually implemented, the flag ObjectHasLocalGc should be set.
|
template<class T> template_static void | arraycopy (IN(RBasicArray< T >) src, int srcpos, IN(RBasicArray< T >) dst, int dstpos, int length) |
| copy an array
|
template<class T> template_static void | arraycopy (IN(RObjectArrayImpl< T >) src, int srcpos, IN(RObjectArrayImpl< T >) dst, int dstpos, int length) |
| copy an array
|
template<class T> template_static void | arraycopy (const T *src, int srcpos, IN(RBasicArray< T >) dst, int dstpos, int length) |
template<class T> template_static const RefHolder<
T > & | registerStaticReference (RefHolder< T > &obj) |
template<class T> template_static const InterfaceHolder<
T > & | registerStaticReference (InterfaceHolder< T > &obj) |
Static Public Member Functions |
ACDK_CORE_PUBLIC::acdk::lang::dmi::ClazzInfo * | clazzInfo () |
| return the ClazzInfo for this class will be re-implemented for each class by methods generated by acdkmc
|
ACDK_CORE_PUBLIC::acdk::lang::RClass | GetClass () |
unsigned int | getStackBase () |
ACDK_CORE_PUBLIC | OUT (int) getSystemStatus() |
| return a combination of SystemStatus flags
|
ACDK_CORE_PUBLIC void | exit (int status) |
| Calls ::exit() after deinitialization of System Normally you should not call this method.
|
ACDK_CORE_PUBLIC bool | gc () |
| call the garbage collector
|
ACDK_CORE_PUBLIC jlong | currentTimeMillis () |
| return a counter in milli seconds
|
ACDK_CORE_PUBLIC void | registerStaticReference (Object *obj) |
ACDK_CORE_PUBLIC int | main (ACDK_MainFunc mainfunc, int argc, char *argv[], char **envptr=0, const char **addargs=0) |
| Wrapper translating c-main to ACDK/Java main.
|
ACDK_CORE_PUBLIC int | main2 (ACDK_MainFunc mainfunc, int argc, char *argv[], char **envptr, const char **addargs) |
| do the real work
|
ACDK_CORE_PUBLIC int | main (ACDK_MainFunc mainfunc, HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow, const char **addargs=0) |
ACDK_CORE_PUBLIC void | initAsSharedLibrary () |
ACDK_CORE_PUBLIC void | deInitAsSharedLibrary () |
ACDK_CORE_PUBLIC | OUT (int) getArgc() |
| Api: ACDK Returns the argc value given to function int main(int argc, char* argv[], char** envptr).
|
ACDK_CORE_PUBLIC char ** | getArgv () |
| Api: ACDK Returns the argv list given to function int main(int argc, char* argv[], char** envptr).
|
ACDK_CORE_PUBLIC | OUT (int) getOriginalArgc() |
| Api: ACDK Returns the original argc value given to function int main(int argc, char* argv[], char** envptr).
|
ACDK_CORE_PUBLIC char ** | getOriginalArgv () |
| Api: ACDK Returns the original argv list given to function int main(int argc, char* argv[], char** envptr).
|
ACDK_CORE_PUBLIC RSystemImpl | getSystem () |
ACDK_CORE_PUBLIC RStringArray | getArguments () |
| return the arguments passed to ACDK application main The internal options, filtered by ACDK or other library used for initialization are not contained in this arguments.
|
ACDK_CORE_PUBLIC RStringArray | getUnfilteredArguments () |
| return all arguments, including internal options
|
ACDK_CORE_PUBLIC acdk::util::RProperties | getProperties () |
| return the system properties
|
ACDK_CORE_PUBLIC acdk::util::RProperties | getEnvironment () |
| return the system environment
|
ACDK_CORE_PUBLIC RString | getProperty (IN(RString) key) |
| return the property value of given key
|
ACDK_CORE_PUBLIC RString | getProperty (IN(RString) key, IN(RString) def) |
| return the property value of given key
|
ACDK_CORE_PUBLIC void | setProperties (IN(acdk::util::RProperties) props) |
| set the system properties
|
ACDK_CORE_PUBLIC RString | setProperty (IN(RString) key, IN(RString) value) |
| set the property value of given key
|
ACDK_CORE_PUBLIC void | setErr (IN(acdk::io::RPrintWriter) newerr) |
| set system error writer
|
ACDK_CORE_PUBLIC void | setIn (IN(acdk::io::RInputReader) newin) |
| set system input reader
|
ACDK_CORE_PUBLIC void | setOut (IN(acdk::io::RPrintWriter) newout) |
| set system standard output writer
|
ACDK_CORE_PUBLIC RString | getModulePath () |
ACDK_CORE_PUBLIC RString | getModuleName (bool stripExt=true) |
ACDK_CORE_PUBLIC RString | getModuleDir () |
ACDK_CORE_PUBLIC RString | getAcdkHome () |
| return the path of acdk home evaluates -acdk-home of command line or ACDKHOME or ACDK_HOME of environmnet
|
ACDK_CORE_PUBLIC RString | getAcdkToolsHome () |
| return the path of acdk tools home evaluates -acdk--tools-home of command line or ACDK_TOOLS_HOME of environmnet if not set return the parent-parent directory of the executable (/acdk/bin/myexecutable -> /acdk is ACDK_TOOLS_HOME)
|
ACDK_CORE_PUBLIC RStringArray | getEnvPath () |
| returns the list of directories in the PATH enviromnet variable
|
ACDK_CORE_PUBLIC RStringArray | getAcdkPath () |
| return the path, where to look after shared libraries.
|
ACDK_CORE_PUBLIC void | addAcdkPath (IN(RString) dir) |
| add dir at end of path list
|
ACDK_CORE_PUBLIC void | insertAcdkPath (IN(RString) dir) |
ACDK_CORE_PUBLIC void | printStackTrace (int ignoreFromTop=0) |
| Print the current callstack of the current thread.
|
ACDK_CORE_PUBLIC void | printStackTrace (IN(acdk::io::RPrintWriter) out, int ignoreFromTop=0) |
| Print the current callstack of the current thread.
|
ACDK_CORE_PUBLIC void | printStackTrace (IN(acdk::io::RPrintWriter) out, IN(RStackFrameArray) stackTrace, int ignoreFromTop=0) |
ACDK_CORE_PUBLIC int | identityHashCode (IN(RObject) obj) |
| return just the address of obj casted to an int
|
ACDK_CORE_PUBLIC void | reinit () |
| re-initialize System In normal case load Config-Files etc.
|
ACDK_CORE_PUBLIC void | registerForInitialization (Initializer *inizializer) |
ACDK_CORE_PUBLIC bool | isInMain () |
| Checks if current execution frame is valide, which means inside System::main.
|
ACDK_CORE_PUBLIC bool | isInUserMain () |
| return true if currently running inside users main function
|
ACDK_CORE_PUBLIC bool | configurationLoaded () |
| returns true if basic configuration is loaded
|
ACDK_CORE_PUBLIC bool | afterUsersMain () |
| return true if users main function leaved
|
ACDK_CORE_PUBLIC bool | afterMain () |
| return true if Systems main function leaved
|
ACDK_CORE_PUBLIC int | getErrno () |
| return information about last system-error.
|
ACDK_CORE_PUBLIC void | resetErrno () |
| set system errno variable to 0
|
ACDK_CORE_PUBLIC RString | getErrmsg () |
| return last erno message
|
ACDK_CORE_PUBLIC RString | getErrmsg (int errnumber) |
| return stringified erno message for a given errnumber
|
ACDK_CORE_PUBLIC RString | getLastError () |
| equal to getErrmsg on unix, GetLastError on windows
|
ACDK_CORE_PUBLIC RString | getSystemCmdLineOps () |
| return the help for command line options parsed by System::main
|
ACDK_CORE_PUBLIC void | loadLibrary (IN(RString) libname) |
| load given library
|
ACDK_CORE_PUBLIC jlong | getMaxMemoryUsage () |
| return the overal limit of memory usage
|
ACDK_CORE_PUBLIC void | setMaxMemoryUsage (jlong maxmem) |
| limit overall usage of memory.
|
ACDK_CORE_PUBLIC jlong | getThreadMaxMemoryUsage () |
| return the limit of memory usage inside this thread
|
ACDK_CORE_PUBLIC void | setThreadMaxMemoryUsage (jlong maxmem) |
| same as setMaxMemoryUsage() but on per thread basis
|
ACDK_CORE_PUBLIC int | getPlatformFlags () |
| returns a combination of PlatformFlags
|
ACDK_CORE_PUBLIC RObjectArray | getRootObjects (bool includeStaticReferences=true) |
| return all known Object instances, which are not references as members by other objects.
|
ACDK_CORE_PUBLIC RObjectArray | getObjectList (int flags) |
Static Public Attributes |
ACDK_CORE_PUBLIC bool | _unixMode |
ACDK_CORE_PUBLIC bool | hasConsole |
ACDK_CORE_PUBLIC sys::ObjectHeap::HeapType | defaultHeapType |
ACDK_CORE_PUBLIC acdk::io::RInputReader | in |
| The standard character based in reader.
|
ACDK_CORE_PUBLIC acdk::io::RPrintWriter | out |
| The standard character base out writer.
|
ACDK_CORE_PUBLIC acdk::io::RPrintWriter | err |
| The standard character base error writer.
|
Static Private Member Functions |
void | _saveStackBase (unsigned int SP) |
Static Private Attributes |
ACDK_CORE_PUBLIC RSystemImpl | _gSystem |
ACDK_CORE_PUBLIC int | _argc |
ACDK_CORE_PUBLIC char ** | _argv |
Friends |
class | SystemImpl |