org.ogre4j
Class CompositorScriptCompiler2

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.CompositorScriptCompiler2
All Implemented Interfaces:
IAllocatedObject<IScriptingAllocPolicy>, ICompositorScriptCompiler2, IScriptCompiler, IScriptingAllocatedObject, INativeObject

public class CompositorScriptCompiler2
extends NativeObject
implements ICompositorScriptCompiler2


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ogre4j.IScriptCompiler
IScriptCompiler.IAbstractTreeBuilder, IScriptCompiler.IEnvironment, IScriptCompiler.IError, IScriptCompiler.IErrorList, IScriptCompiler.IErrorPtr, IScriptCompiler.IIdMap, IScriptCompiler.IImportCacheMap, IScriptCompiler.IImportRequestMap
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  CompositorScriptCompiler2(InstancePointer p)
          This constructor is public for internal useage only!
protected CompositorScriptCompiler2(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  CompositorScriptCompiler2(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 boolean _compile(IAbstractNodeListPtr nodes, java.lang.String group)
           
 void _fireCreateObject(IAny returnValue, java.lang.String type, Ivector<IAny> args)
           
 boolean _fireEvent(java.lang.String name, Ivector<IAny> args, IAny retval)
           
 void addError(long code, java.lang.String file, int line, java.lang.String msg)
           
 void addNameExclusion(java.lang.String type)
          Name exclusions identify object types which cannot accept names.
 boolean compile(IConcreteNodeListPtr nodes, java.lang.String group)
           
 boolean compile(java.lang.String str, java.lang.String source, java.lang.String group)
           
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IScriptCompilerListener getListener()
           
 java.lang.String getResourceGroup()
           
 void removeNameExclusion(java.lang.String type)
           
 void setListener(IScriptCompilerListener listener)
           
 
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

CompositorScriptCompiler2

public CompositorScriptCompiler2(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


CompositorScriptCompiler2

protected CompositorScriptCompiler2(InstancePointer p,
                                    boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


CompositorScriptCompiler2

public CompositorScriptCompiler2(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

_compile

public boolean _compile(IAbstractNodeListPtr nodes,
                        java.lang.String group)
Specified by:
_compile in interface IScriptCompiler

_fireCreateObject

public void _fireCreateObject(IAny returnValue,
                              java.lang.String type,
                              Ivector<IAny> args)
Specified by:
_fireCreateObject in interface IScriptCompiler

_fireEvent

public boolean _fireEvent(java.lang.String name,
                          Ivector<IAny> args,
                          IAny retval)
Specified by:
_fireEvent in interface IScriptCompiler

addError

public void addError(long code,
                     java.lang.String file,
                     int line,
                     java.lang.String msg)
Specified by:
addError in interface IScriptCompiler

addNameExclusion

public void addNameExclusion(java.lang.String type)
Description copied from interface: IScriptCompiler
Name exclusions identify object types which cannot accept names. This means that excluded types will always have empty names. All values in the object header are stored as object values.

Specified by:
addNameExclusion in interface IScriptCompiler

compile

public boolean compile(java.lang.String str,
                       java.lang.String source,
                       java.lang.String group)
Specified by:
compile in interface IScriptCompiler

compile

public boolean compile(IConcreteNodeListPtr nodes,
                       java.lang.String group)
Specified by:
compile in interface IScriptCompiler

getListener

public IScriptCompilerListener getListener()
Specified by:
getListener in interface IScriptCompiler

getResourceGroup

public java.lang.String getResourceGroup()
Specified by:
getResourceGroup in interface IScriptCompiler

removeNameExclusion

public void removeNameExclusion(java.lang.String type)
Specified by:
removeNameExclusion in interface IScriptCompiler

setListener

public void setListener(IScriptCompilerListener listener)
Specified by:
setListener in interface IScriptCompiler


Copyright © 2007 netAllied GmbH. All Rights Reserved.