public class WorkSpaceInstanceHook extends CFacade
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.
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
WorkSpaceInstanceHook(long __address,
Block __block,
BlockTable __blockTable) |
protected |
WorkSpaceInstanceHook(WorkSpaceInstanceHook that) |
Modifier and Type | Method and 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'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for WorkSpaceInstanceHook.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__active
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});
public static final long[] __DNA__FIELD__act_layout
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});
public static final long[] __DNA__FIELD__temp_workspace_store
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
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});
public static final long[] __DNA__FIELD__temp_layout_store
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});
public WorkSpaceInstanceHook(long __address, Block __block, BlockTable __blockTable)
protected WorkSpaceInstanceHook(WorkSpaceInstanceHook that)
public CPointer<WorkSpace> getActive() throws java.io.IOException
java.io.IOException
__DNA__FIELD__active
public void setActive(CPointer<WorkSpace> active) throws java.io.IOException
java.io.IOException
__DNA__FIELD__active
public CPointer<WorkSpaceLayout> getAct_layout() throws java.io.IOException
java.io.IOException
__DNA__FIELD__act_layout
public void setAct_layout(CPointer<WorkSpaceLayout> act_layout) throws java.io.IOException
java.io.IOException
__DNA__FIELD__act_layout
public CPointer<WorkSpace> getTemp_workspace_store() throws java.io.IOException
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
java.io.IOException
__DNA__FIELD__temp_workspace_store
public void setTemp_workspace_store(CPointer<WorkSpace> temp_workspace_store) throws java.io.IOException
Needed because we can't change workspaces/layouts in running handler loop, it would break context.
java.io.IOException
__DNA__FIELD__temp_workspace_store
public CPointer<WorkSpaceLayout> getTemp_layout_store() throws java.io.IOException
java.io.IOException
__DNA__FIELD__temp_layout_store
public void setTemp_layout_store(CPointer<WorkSpaceLayout> temp_layout_store) throws java.io.IOException
java.io.IOException
__DNA__FIELD__temp_layout_store
public CPointer<WorkSpaceInstanceHook> __io__addressof()