org.ogre4j
Class NedAllocImpl
java.lang.Object
org.xbig.base.NativeObject
org.ogre4j.NedAllocImpl
- All Implemented Interfaces:
- INedAllocImpl, INativeObject
public class NedAllocImpl
- extends NativeObject
- implements INedAllocImpl
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
NedAllocImpl
public NedAllocImpl(InstancePointer p)
- This constructor is public for internal useage only!
Do not use it!
NedAllocImpl
protected NedAllocImpl(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.
NedAllocImpl
public NedAllocImpl(WithoutNativeObject val)
- Allows creation of Java objects without C++ objects.
- See Also:
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
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
allocBytes
public static VoidPointer allocBytes(int count,
java.lang.String file,
int line,
java.lang.String func)
deallocBytes
public static void deallocBytes(VoidPointer ptr)
allocBytesAligned
public static VoidPointer allocBytesAligned(int align,
int count,
java.lang.String file,
int line,
java.lang.String func)
deallocBytesAligned
public static void deallocBytesAligned(int align,
VoidPointer ptr)
Copyright © 2007 netAllied GmbH. All Rights Reserved.