Class WorkSpaceInstanceHook
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.WorkSpaceInstanceHook
-
public class WorkSpaceInstanceHook extends CFacade
Generated facet for DNA struct type 'WorkSpaceInstanceHook'.Class Documentation
Blender Source Code
Little wrapper to store data that is going to be per window, but coming from the workspace. It allows us to keep workspace and window data completely separate.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__act_layout
Field descriptor (offset) for struct member 'act_layout'.static long[]
__DNA__FIELD__active
Field descriptor (offset) for struct member 'active'.static long[]
__DNA__FIELD__temp_layout_store
Field descriptor (offset) for struct member 'temp_layout_store'.static long[]
__DNA__FIELD__temp_workspace_store
Field descriptor (offset) for struct member 'temp_workspace_store'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct WorkSpaceInstanceHook.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description WorkSpaceInstanceHook(long __address, Block __block, BlockTable __blockTable)
protected
WorkSpaceInstanceHook(WorkSpaceInstanceHook that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<WorkSpaceInstanceHook>
__io__addressof()
Instantiates a pointer on this instance.CPointer<WorkSpaceLayout>
getAct_layout()
Get method for struct member 'act_layout'.CPointer<WorkSpace>
getActive()
Get method for struct member 'active'.CPointer<WorkSpaceLayout>
getTemp_layout_store()
Get method for struct member 'temp_layout_store'.CPointer<WorkSpace>
getTemp_workspace_store()
Get method for struct member 'temp_workspace_store'.void
setAct_layout(CPointer<WorkSpaceLayout> act_layout)
Set method for struct member 'act_layout'.void
setActive(CPointer<WorkSpace> active)
Set method for struct member 'active'.void
setTemp_layout_store(CPointer<WorkSpaceLayout> temp_layout_store)
Set method for struct member 'temp_layout_store'.void
setTemp_workspace_store(CPointer<WorkSpace> temp_workspace_store)
Set method for struct member 'temp_workspace_store'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct WorkSpaceInstanceHook.It is required when allocating a new block to store data for WorkSpaceInstanceHook.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__active
public static final long[] __DNA__FIELD__active
Field descriptor (offset) for struct member 'active'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WorkSpaceInstanceHook workspaceinstancehook = ...; CPointer<Object> p = workspaceinstancehook.__dna__addressof(WorkSpaceInstanceHook.__DNA__FIELD__active); CPointer<CPointer<WorkSpace>> p_active = p.cast(new Class[]{CPointer.class, WorkSpace.class});
Metadata
- Field: 'active'
- Signature: 'WorkSpace*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__act_layout
public static final long[] __DNA__FIELD__act_layout
Field descriptor (offset) for struct member 'act_layout'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WorkSpaceInstanceHook workspaceinstancehook = ...; CPointer<Object> p = workspaceinstancehook.__dna__addressof(WorkSpaceInstanceHook.__DNA__FIELD__act_layout); CPointer<CPointer<WorkSpaceLayout>> p_act_layout = p.cast(new Class[]{CPointer.class, WorkSpaceLayout.class});
Metadata
- Field: 'act_layout'
- Signature: 'WorkSpaceLayout*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__temp_workspace_store
public static final long[] __DNA__FIELD__temp_workspace_store
Field descriptor (offset) for struct member 'temp_workspace_store'.Field Documentation
Blender Source Code
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WorkSpaceInstanceHook workspaceinstancehook = ...; CPointer<Object> p = workspaceinstancehook.__dna__addressof(WorkSpaceInstanceHook.__DNA__FIELD__temp_workspace_store); CPointer<CPointer<WorkSpace>> p_temp_workspace_store = p.cast(new Class[]{CPointer.class, WorkSpace.class});
Metadata
- Field: 'temp_workspace_store'
- Signature: 'WorkSpace*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__temp_layout_store
public static final long[] __DNA__FIELD__temp_layout_store
Field descriptor (offset) for struct member 'temp_layout_store'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
WorkSpaceInstanceHook workspaceinstancehook = ...; CPointer<Object> p = workspaceinstancehook.__dna__addressof(WorkSpaceInstanceHook.__DNA__FIELD__temp_layout_store); CPointer<CPointer<WorkSpaceLayout>> p_temp_layout_store = p.cast(new Class[]{CPointer.class, WorkSpaceLayout.class});
Metadata
- Field: 'temp_layout_store'
- Signature: 'WorkSpaceLayout*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
WorkSpaceInstanceHook
public WorkSpaceInstanceHook(long __address, Block __block, BlockTable __blockTable)
-
WorkSpaceInstanceHook
protected WorkSpaceInstanceHook(WorkSpaceInstanceHook that)
-
-
Method Detail
-
getActive
public CPointer<WorkSpace> getActive() throws java.io.IOException
Get method for struct member 'active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active
-
setActive
public void setActive(CPointer<WorkSpace> active) throws java.io.IOException
Set method for struct member 'active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active
-
getAct_layout
public CPointer<WorkSpaceLayout> getAct_layout() throws java.io.IOException
Get method for struct member 'act_layout'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_layout
-
setAct_layout
public void setAct_layout(CPointer<WorkSpaceLayout> act_layout) throws java.io.IOException
Set method for struct member 'act_layout'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__act_layout
-
getTemp_workspace_store
public CPointer<WorkSpace> getTemp_workspace_store() throws java.io.IOException
Get method for struct member 'temp_workspace_store'.Field Documentation
Blender Source Code
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_workspace_store
-
setTemp_workspace_store
public void setTemp_workspace_store(CPointer<WorkSpace> temp_workspace_store) throws java.io.IOException
Set method for struct member 'temp_workspace_store'.Field Documentation
Blender Source Code
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_workspace_store
-
getTemp_layout_store
public CPointer<WorkSpaceLayout> getTemp_layout_store() throws java.io.IOException
Get method for struct member 'temp_layout_store'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_layout_store
-
setTemp_layout_store
public void setTemp_layout_store(CPointer<WorkSpaceLayout> temp_layout_store) throws java.io.IOException
Set method for struct member 'temp_layout_store'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_layout_store
-
__io__addressof
public CPointer<WorkSpaceInstanceHook> __io__addressof()
Instantiates a pointer on this instance.
-
-