|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Log
public class Log
| Nested Class Summary | |
|---|---|
protected static class |
Log.mtLogListener
|
static class |
Log.Stream
|
| Nested classes/interfaces inherited from interface org.ogre4j.ILog |
|---|
ILog.ImtLogListener, ILog.IStream |
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Log(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Log(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Log(java.lang.String name,
boolean debugOutput,
boolean suppressFileOutput)
|
|
Log(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
addListener(ILogListener listener)
|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
LoggingLevel |
getLogDetail()
Gets the level of the log detail. |
java.lang.String |
getName()
|
boolean |
isDebugOutputEnabled()
|
boolean |
isFileOutputSuppressed()
|
void |
logMessage(java.lang.String message,
LogMessageLevel lml,
boolean maskDebug)
a message to the debugger and to log file (the default is " OGRE.log"), |
void |
removeListener(ILogListener listener)
|
void |
setDebugOutputEnabled(boolean debugOutput)
|
void |
setLogDetail(LoggingLevel ll)
|
void |
stream(ILog.IStream returnValue,
LogMessageLevel lml,
boolean maskDebug)
Get a stream object targetting this 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 Log(InstancePointer p)
protected Log(InstancePointer p,
boolean remote)
public Log(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
public Log(java.lang.String name,
boolean debugOutput,
boolean suppressFileOutput)
| 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 NativeObjectpublic java.lang.String getName()
getName in interface ILogpublic boolean isDebugOutputEnabled()
isDebugOutputEnabled in interface ILogpublic boolean isFileOutputSuppressed()
isFileOutputSuppressed in interface ILog
public void logMessage(java.lang.String message,
LogMessageLevel lml,
boolean maskDebug)
OGRE.log"),
logMessage in interface ILog
public void stream(ILog.IStream returnValue,
LogMessageLevel lml,
boolean maskDebug)
stream in interface ILogpublic void setDebugOutputEnabled(boolean debugOutput)
setDebugOutputEnabled in interface ILogpublic void setLogDetail(LoggingLevel ll)
setLogDetail in interface ILogpublic LoggingLevel getLogDetail()
getLogDetail in interface ILogpublic void addListener(ILogListener listener)
addListener in interface ILogpublic void removeListener(ILogListener listener)
removeListener in interface ILog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||