public class bRandomSensor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__delay
Field descriptor (offset) for struct member 'delay'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__seed
Field descriptor (offset) for struct member 'seed'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bRandomSensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bRandomSensor(bRandomSensor that) |
|
bRandomSensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bRandomSensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getDelay()
Get method for struct member 'delay'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
int |
getSeed()
Get method for struct member 'seed'.
|
void |
setDelay(int delay)
Set method for struct member 'delay'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setSeed(int seed)
Set method for struct member 'seed'.
|
__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 bRandomSensor.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__name
MAX_NAME
This is how you get a reference on the corresponding field in the struct:
bRandomSensor brandomsensor = ...; CPointer<Object> p = brandomsensor.__dna__addressof(bRandomSensor.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__seed
This is how you get a reference on the corresponding field in the struct:
bRandomSensor brandomsensor = ...; CPointer<Object> p = brandomsensor.__dna__addressof(bRandomSensor.__DNA__FIELD__seed); CPointer<Integer> p_seed = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__delay
This is how you get a reference on the corresponding field in the struct:
bRandomSensor brandomsensor = ...; CPointer<Object> p = brandomsensor.__dna__addressof(bRandomSensor.__DNA__FIELD__delay); CPointer<Integer> p_delay = p.cast(new Class[]{Integer.class});
public bRandomSensor(long __address, Block __block, BlockTable __blockTable)
protected bRandomSensor(bRandomSensor that)
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
MAX_NAME
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
MAX_NAME
java.io.IOException
__DNA__FIELD__name
public int getSeed() throws java.io.IOException
java.io.IOException
__DNA__FIELD__seed
public void setSeed(int seed) throws java.io.IOException
java.io.IOException
__DNA__FIELD__seed
public int getDelay() throws java.io.IOException
java.io.IOException
__DNA__FIELD__delay
public void setDelay(int delay) throws java.io.IOException
java.io.IOException
__DNA__FIELD__delay
public CPointer<bRandomSensor> __io__addressof()