|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.LogManager
public class LogManager
| Nested Class Summary | |
|---|---|
protected static class |
LogManager.LogList
|
| Nested classes/interfaces inherited from interface org.ogre4j.ILogManager |
|---|
ILogManager.ILogList |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
LogManager()
|
|
LogManager(InstancePointer p)
This constructor is public for internal useage only! |
protected |
LogManager(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
LogManager(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
ILog |
createLog(java.lang.String name,
boolean defaultLog,
boolean debuggerOutput,
boolean suppressFileOutput)
Creates a new log with the given name. |
void |
delete()
Deletes the corresponding C++ object. |
void |
destroyLog(ILog log)
Closes and removes a log. |
void |
destroyLog(java.lang.String name)
Closes and removes a named log. |
void |
finalize()
|
ILog |
getDefaultLog()
Returns a pointer to the default log. |
ILog |
getLog(java.lang.String name)
Retrieves a log managed by this class. |
static ILogManager |
getSingleton()
Override standard retrieval. |
static ILogManager |
getSingletonPtr()
Override standard retrieval. |
void |
logMessage(LogMessageLevel lml,
java.lang.String message,
boolean maskDebug)
a message to the default log (signature for backward compatibility). |
void |
logMessage(java.lang.String message,
LogMessageLevel lml,
boolean maskDebug)
a message to the default log. |
ILog |
setDefaultLog(ILog newLog)
Sets the passed in log as the default log. |
void |
setLogDetail(LoggingLevel ll)
Sets the level of detail of the default log. |
void |
stream(ILog.IStream returnValue,
LogMessageLevel lml,
boolean maskDebug)
Get a stream on the default log. |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public LogManager(InstancePointer p)
protected LogManager(InstancePointer p,
boolean remote)
public LogManager(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public LogManager()
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObject
public ILog createLog(java.lang.String name,
boolean defaultLog,
boolean debuggerOutput,
boolean suppressFileOutput)
createLog in interface ILogManagerpublic ILog getLog(java.lang.String name)
getLog in interface ILogManagerpublic ILog getDefaultLog()
getDefaultLog in interface ILogManagerpublic void destroyLog(java.lang.String name)
destroyLog in interface ILogManagerpublic void destroyLog(ILog log)
destroyLog in interface ILogManagerpublic ILog setDefaultLog(ILog newLog)
setDefaultLog in interface ILogManager
public void logMessage(java.lang.String message,
LogMessageLevel lml,
boolean maskDebug)
logMessage in interface ILogManager
public void logMessage(LogMessageLevel lml,
java.lang.String message,
boolean maskDebug)
logMessage in interface ILogManager
public void stream(ILog.IStream returnValue,
LogMessageLevel lml,
boolean maskDebug)
stream in interface ILogManagerpublic void setLogDetail(LoggingLevel ll)
setLogDetail in interface ILogManagerpublic static ILogManager getSingleton()
public static ILogManager getSingletonPtr()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||