|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.AlignedMemory
public class AlignedMemory
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
AlignedMemory()
|
|
AlignedMemory(InstancePointer p)
This constructor is public for internal useage only! |
protected |
AlignedMemory(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
AlignedMemory(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
static VoidPointer |
allocate(int size)
Allocate memory with default platform dependent alignment. |
static VoidPointer |
allocate(int size,
int alignment)
Allocate memory with given alignment. |
static void |
deallocate(VoidPointer p)
Deallocate memory that allocated by this class. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
| 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 AlignedMemory(InstancePointer p)
protected AlignedMemory(InstancePointer p,
boolean remote)
public AlignedMemory(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public AlignedMemory()
| 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 static VoidPointer allocate(int size,
int alignment)
public static VoidPointer allocate(int size)
public static void deallocate(VoidPointer p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||