public class bJoystickSensor extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__axis
Field descriptor (offset) for struct member 'axis'.
|
static long[] |
__DNA__FIELD__axis_single
Field descriptor (offset) for struct member 'axis_single'.
|
static long[] |
__DNA__FIELD__axisf
Field descriptor (offset) for struct member 'axisf'.
|
static long[] |
__DNA__FIELD__button
Field descriptor (offset) for struct member 'button'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__hat
Field descriptor (offset) for struct member 'hat'.
|
static long[] |
__DNA__FIELD__hatf
Field descriptor (offset) for struct member 'hatf'.
|
static long[] |
__DNA__FIELD__joyindex
Field descriptor (offset) for struct member 'joyindex'.
|
static long[] |
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.
|
static long[] |
__DNA__FIELD__precision
Field descriptor (offset) for struct member 'precision'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bJoystickSensor.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bJoystickSensor(bJoystickSensor that) |
|
bJoystickSensor(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bJoystickSensor> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getAxis_single()
Get method for struct member 'axis_single'.
|
short |
getAxis()
Get method for struct member 'axis'.
|
int |
getAxisf()
Get method for struct member 'axisf'.
|
int |
getButton()
Get method for struct member 'button'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
int |
getHat()
Get method for struct member 'hat'.
|
int |
getHatf()
Get method for struct member 'hatf'.
|
byte |
getJoyindex()
Get method for struct member 'joyindex'.
|
CArrayFacade<java.lang.Byte> |
getName()
Get method for struct member 'name'.
|
int |
getPrecision()
Get method for struct member 'precision'.
|
byte |
getType()
Get method for struct member 'type'.
|
void |
setAxis_single(short axis_single)
Set method for struct member 'axis_single'.
|
void |
setAxis(short axis)
Set method for struct member 'axis'.
|
void |
setAxisf(int axisf)
Set method for struct member 'axisf'.
|
void |
setButton(int button)
Set method for struct member 'button'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setHat(int hat)
Set method for struct member 'hat'.
|
void |
setHatf(int hatf)
Set method for struct member 'hatf'.
|
void |
setJoyindex(byte joyindex)
Set method for struct member 'joyindex'.
|
void |
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.
|
void |
setPrecision(int precision)
Set method for struct member 'precision'.
|
void |
setType(byte type)
Set method for struct member 'type'.
|
__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 bJoystickSensor.
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:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__type); CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__joyindex
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__joyindex); CPointer<Byte> p_joyindex = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__axis
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__axis); CPointer<Short> p_axis = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__axis_single
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__axis_single); CPointer<Short> p_axis_single = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__axisf
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__axisf); CPointer<Integer> p_axisf = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__button
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__button); CPointer<Integer> p_button = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__hat
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__hat); CPointer<Integer> p_hat = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__hatf
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__hatf); CPointer<Integer> p_hatf = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__precision
This is how you get a reference on the corresponding field in the struct:
bJoystickSensor bjoysticksensor = ...; CPointer<Object> p = bjoysticksensor.__dna__addressof(bJoystickSensor.__DNA__FIELD__precision); CPointer<Integer> p_precision = p.cast(new Class[]{Integer.class});
public bJoystickSensor(long __address, Block __block, BlockTable __blockTable)
protected bJoystickSensor(bJoystickSensor 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 byte getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(byte type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public byte getJoyindex() throws java.io.IOException
java.io.IOException
__DNA__FIELD__joyindex
public void setJoyindex(byte joyindex) throws java.io.IOException
java.io.IOException
__DNA__FIELD__joyindex
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 getAxis() throws java.io.IOException
java.io.IOException
__DNA__FIELD__axis
public void setAxis(short axis) throws java.io.IOException
java.io.IOException
__DNA__FIELD__axis
public short getAxis_single() throws java.io.IOException
java.io.IOException
__DNA__FIELD__axis_single
public void setAxis_single(short axis_single) throws java.io.IOException
java.io.IOException
__DNA__FIELD__axis_single
public int getAxisf() throws java.io.IOException
java.io.IOException
__DNA__FIELD__axisf
public void setAxisf(int axisf) throws java.io.IOException
java.io.IOException
__DNA__FIELD__axisf
public int getButton() throws java.io.IOException
java.io.IOException
__DNA__FIELD__button
public void setButton(int button) throws java.io.IOException
java.io.IOException
__DNA__FIELD__button
public int getHat() throws java.io.IOException
java.io.IOException
__DNA__FIELD__hat
public void setHat(int hat) throws java.io.IOException
java.io.IOException
__DNA__FIELD__hat
public int getHatf() throws java.io.IOException
java.io.IOException
__DNA__FIELD__hatf
public void setHatf(int hatf) throws java.io.IOException
java.io.IOException
__DNA__FIELD__hatf
public int getPrecision() throws java.io.IOException
java.io.IOException
__DNA__FIELD__precision
public void setPrecision(int precision) throws java.io.IOException
java.io.IOException
__DNA__FIELD__precision
public CPointer<bJoystickSensor> __io__addressof()