|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.tinyos.message.Message
net.ubisoa.sensing.SensingMessage
public class SensingMessage
This class is automatically generated by mig. DO NOT EDIT THIS FILE. This class implements a Java interface to the 'UBSenseMsg' message type.
Field Summary | |
---|---|
static int |
AM_TYPE
The Active Message type associated with this message. |
static int |
DEFAULT_MESSAGE_SIZE
The default size of this message type in bytes. |
Constructor Summary | |
---|---|
SensingMessage()
Create a new SensingMessage of size 20. |
|
SensingMessage(byte[] data)
Create a new SensingMessage using the given byte array as backing store. |
|
SensingMessage(byte[] data,
int base_offset)
Create a new SensingMessage using the given byte array as backing store, with the given base offset. |
|
SensingMessage(byte[] data,
int base_offset,
int data_length)
Create a new SensingMessage using the given byte array as backing store, with the given base offset and data length. |
|
SensingMessage(int data_length)
Create a new SensingMessage of the given data_length. |
|
SensingMessage(int data_length,
int base_offset)
Create a new SensingMessage with the given data_length and base offset. |
|
SensingMessage(net.tinyos.message.Message msg,
int base_offset)
Create a new SensingMessage embedded in the given message at the given base offset. |
|
SensingMessage(net.tinyos.message.Message msg,
int base_offset,
int data_length)
Create a new SensingMessage embedded in the given message at the given base offset and length. |
Method Summary | |
---|---|
int |
get_counter()
Return the value (as a int) of the field 'counter' |
int |
get_humidity()
Return the value (as a int) of the field 'humidity' |
int |
get_light_visible()
Return the value (as a int) of the field 'light_visible' |
int |
get_light()
Return the value (as a int) of the field 'light' |
int |
get_microphone()
Return the value (as a int) of the field 'microphone' |
int |
get_nid()
Return the value (as a int) of the field 'nid' |
int |
get_platform()
Return the value (as a int) of the field 'platform' |
int |
get_temperature_internal()
Return the value (as a int) of the field 'temperature_internal' |
int |
get_temperature()
Return the value (as a int) of the field 'temperature' |
int |
get_voltage()
Return the value (as a int) of the field 'voltage' |
static boolean |
isArray_counter()
Return whether the field 'counter' is an array (false). |
static boolean |
isArray_humidity()
Return whether the field 'humidity' is an array (false). |
static boolean |
isArray_light_visible()
Return whether the field 'light_visible' is an array (false). |
static boolean |
isArray_light()
Return whether the field 'light' is an array (false). |
static boolean |
isArray_microphone()
Return whether the field 'microphone' is an array (false). |
static boolean |
isArray_nid()
Return whether the field 'nid' is an array (false). |
static boolean |
isArray_platform()
Return whether the field 'platform' is an array (false). |
static boolean |
isArray_temperature_internal()
Return whether the field 'temperature_internal' is an array (false). |
static boolean |
isArray_temperature()
Return whether the field 'temperature' is an array (false). |
static boolean |
isArray_voltage()
Return whether the field 'voltage' is an array (false). |
static boolean |
isSigned_counter()
Return whether the field 'counter' is signed (false). |
static boolean |
isSigned_humidity()
Return whether the field 'humidity' is signed (false). |
static boolean |
isSigned_light_visible()
Return whether the field 'light_visible' is signed (false). |
static boolean |
isSigned_light()
Return whether the field 'light' is signed (false). |
static boolean |
isSigned_microphone()
Return whether the field 'microphone' is signed (false). |
static boolean |
isSigned_nid()
Return whether the field 'nid' is signed (false). |
static boolean |
isSigned_platform()
Return whether the field 'platform' is signed (false). |
static boolean |
isSigned_temperature_internal()
Return whether the field 'temperature_internal' is signed (false). |
static boolean |
isSigned_temperature()
Return whether the field 'temperature' is signed (false). |
static boolean |
isSigned_voltage()
Return whether the field 'voltage' is signed (false). |
static int |
offset_counter()
Return the offset (in bytes) of the field 'counter' |
static int |
offset_humidity()
Return the offset (in bytes) of the field 'humidity' |
static int |
offset_light_visible()
Return the offset (in bytes) of the field 'light_visible' |
static int |
offset_light()
Return the offset (in bytes) of the field 'light' |
static int |
offset_microphone()
Return the offset (in bytes) of the field 'microphone' |
static int |
offset_nid()
Return the offset (in bytes) of the field 'nid' |
static int |
offset_platform()
Return the offset (in bytes) of the field 'platform' |
static int |
offset_temperature_internal()
Return the offset (in bytes) of the field 'temperature_internal' |
static int |
offset_temperature()
Return the offset (in bytes) of the field 'temperature' |
static int |
offset_voltage()
Return the offset (in bytes) of the field 'voltage' |
static int |
offsetBits_counter()
Return the offset (in bits) of the field 'counter' |
static int |
offsetBits_humidity()
Return the offset (in bits) of the field 'humidity' |
static int |
offsetBits_light_visible()
Return the offset (in bits) of the field 'light_visible' |
static int |
offsetBits_light()
Return the offset (in bits) of the field 'light' |
static int |
offsetBits_microphone()
Return the offset (in bits) of the field 'microphone' |
static int |
offsetBits_nid()
Return the offset (in bits) of the field 'nid' |
static int |
offsetBits_platform()
Return the offset (in bits) of the field 'platform' |
static int |
offsetBits_temperature_internal()
Return the offset (in bits) of the field 'temperature_internal' |
static int |
offsetBits_temperature()
Return the offset (in bits) of the field 'temperature' |
static int |
offsetBits_voltage()
Return the offset (in bits) of the field 'voltage' |
void |
set_counter(int value)
Set the value of the field 'counter' |
void |
set_humidity(int value)
Set the value of the field 'humidity' |
void |
set_light_visible(int value)
Set the value of the field 'light_visible' |
void |
set_light(int value)
Set the value of the field 'light' |
void |
set_microphone(int value)
Set the value of the field 'microphone' |
void |
set_nid(int value)
Set the value of the field 'nid' |
void |
set_platform(int value)
Set the value of the field 'platform' |
void |
set_temperature_internal(int value)
Set the value of the field 'temperature_internal' |
void |
set_temperature(int value)
Set the value of the field 'temperature' |
void |
set_voltage(int value)
Set the value of the field 'voltage' |
static int |
size_counter()
Return the size, in bytes, of the field 'counter' |
static int |
size_humidity()
Return the size, in bytes, of the field 'humidity' |
static int |
size_light_visible()
Return the size, in bytes, of the field 'light_visible' |
static int |
size_light()
Return the size, in bytes, of the field 'light' |
static int |
size_microphone()
Return the size, in bytes, of the field 'microphone' |
static int |
size_nid()
Return the size, in bytes, of the field 'nid' |
static int |
size_platform()
Return the size, in bytes, of the field 'platform' |
static int |
size_temperature_internal()
Return the size, in bytes, of the field 'temperature_internal' |
static int |
size_temperature()
Return the size, in bytes, of the field 'temperature' |
static int |
size_voltage()
Return the size, in bytes, of the field 'voltage' |
static int |
sizeBits_counter()
Return the size, in bits, of the field 'counter' |
static int |
sizeBits_humidity()
Return the size, in bits, of the field 'humidity' |
static int |
sizeBits_light_visible()
Return the size, in bits, of the field 'light_visible' |
static int |
sizeBits_light()
Return the size, in bits, of the field 'light' |
static int |
sizeBits_microphone()
Return the size, in bits, of the field 'microphone' |
static int |
sizeBits_nid()
Return the size, in bits, of the field 'nid' |
static int |
sizeBits_platform()
Return the size, in bits, of the field 'platform' |
static int |
sizeBits_temperature_internal()
Return the size, in bits, of the field 'temperature_internal' |
static int |
sizeBits_temperature()
Return the size, in bits, of the field 'temperature' |
static int |
sizeBits_voltage()
Return the size, in bits, of the field 'voltage' |
java.lang.String |
toString()
/* Return a String representation of this message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MESSAGE_SIZE
public static final int AM_TYPE
Constructor Detail |
---|
public SensingMessage()
public SensingMessage(int data_length)
public SensingMessage(int data_length, int base_offset)
public SensingMessage(byte[] data)
public SensingMessage(byte[] data, int base_offset)
public SensingMessage(byte[] data, int base_offset, int data_length)
public SensingMessage(net.tinyos.message.Message msg, int base_offset)
public SensingMessage(net.tinyos.message.Message msg, int base_offset, int data_length)
Method Detail |
---|
public java.lang.String toString()
public static boolean isSigned_nid()
public static boolean isArray_nid()
public static int offset_nid()
public static int offsetBits_nid()
public int get_nid()
public void set_nid(int value)
public static int size_nid()
public static int sizeBits_nid()
public static boolean isSigned_platform()
public static boolean isArray_platform()
public static int offset_platform()
public static int offsetBits_platform()
public int get_platform()
public void set_platform(int value)
public static int size_platform()
public static int sizeBits_platform()
public static boolean isSigned_voltage()
public static boolean isArray_voltage()
public static int offset_voltage()
public static int offsetBits_voltage()
public int get_voltage()
public void set_voltage(int value)
public static int size_voltage()
public static int sizeBits_voltage()
public static boolean isSigned_light()
public static boolean isArray_light()
public static int offset_light()
public static int offsetBits_light()
public int get_light()
public void set_light(int value)
public static int size_light()
public static int sizeBits_light()
public static boolean isSigned_light_visible()
public static boolean isArray_light_visible()
public static int offset_light_visible()
public static int offsetBits_light_visible()
public int get_light_visible()
public void set_light_visible(int value)
public static int size_light_visible()
public static int sizeBits_light_visible()
public static boolean isSigned_temperature()
public static boolean isArray_temperature()
public static int offset_temperature()
public static int offsetBits_temperature()
public int get_temperature()
public void set_temperature(int value)
public static int size_temperature()
public static int sizeBits_temperature()
public static boolean isSigned_temperature_internal()
public static boolean isArray_temperature_internal()
public static int offset_temperature_internal()
public static int offsetBits_temperature_internal()
public int get_temperature_internal()
public void set_temperature_internal(int value)
public static int size_temperature_internal()
public static int sizeBits_temperature_internal()
public static boolean isSigned_humidity()
public static boolean isArray_humidity()
public static int offset_humidity()
public static int offsetBits_humidity()
public int get_humidity()
public void set_humidity(int value)
public static int size_humidity()
public static int sizeBits_humidity()
public static boolean isSigned_microphone()
public static boolean isArray_microphone()
public static int offset_microphone()
public static int offsetBits_microphone()
public int get_microphone()
public void set_microphone(int value)
public static int size_microphone()
public static int sizeBits_microphone()
public static boolean isSigned_counter()
public static boolean isArray_counter()
public static int offset_counter()
public static int offsetBits_counter()
public int get_counter()
public void set_counter(int value)
public static int size_counter()
public static int sizeBits_counter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |