public class bDelaySensor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__delay
Field descriptor (offset) for struct member 'delay'.
|
static long[] |
__DNA__FIELD__duration
Field descriptor (offset) for struct member 'duration'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bDelaySensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bDelaySensor(bDelaySensor that) |
|
bDelaySensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bDelaySensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getDelay()
Get method for struct member 'delay'.
|
short |
getDuration()
Get method for struct member 'duration'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
short |
getPad()
Get method for struct member 'pad'.
|
void |
setDelay(short delay)
Set method for struct member 'delay'.
|
void |
setDuration(short duration)
Set method for struct member 'duration'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setPad(short pad)
Set method for struct member 'pad'.
|
__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 bDelaySensor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__delay
This is how you get a reference on the corresponding field in the struct:
bDelaySensor bdelaysensor = ...; CPointer<Object> p = bdelaysensor.__dna__addressof(bDelaySensor.__DNA__FIELD__delay); CPointer<Short> p_delay = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__duration
This is how you get a reference on the corresponding field in the struct:
bDelaySensor bdelaysensor = ...; CPointer<Object> p = bdelaysensor.__dna__addressof(bDelaySensor.__DNA__FIELD__duration); CPointer<Short> p_duration = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bDelaySensor bdelaysensor = ...; CPointer<Object> p = bdelaysensor.__dna__addressof(bDelaySensor.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
bDelaySensor bdelaysensor = ...; CPointer<Object> p = bdelaysensor.__dna__addressof(bDelaySensor.__DNA__FIELD__pad); CPointer<Short> p_pad = p.cast(new Class[]{Short.class});
public bDelaySensor(long __address, Block __block, BlockTable __blockTable)
protected bDelaySensor(bDelaySensor that)
public short getDelay() throws java.io.IOException
java.io.IOException
__DNA__FIELD__delay
public void setDelay(short delay) throws java.io.IOException
java.io.IOException
__DNA__FIELD__delay
public short getDuration() throws java.io.IOException
java.io.IOException
__DNA__FIELD__duration
public void setDuration(short duration) throws java.io.IOException
java.io.IOException
__DNA__FIELD__duration
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public short getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(short pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CPointer<bDelaySensor> __io__addressof()