From 818c24d60436b9618b12d0accc609589d30de1ac Mon Sep 17 00:00:00 2001 From: klueska Date: Tue, 4 Sep 2007 23:39:58 +0000 Subject: [PATCH] Removal of class and mig generated files --- .../LowPowerSensing/java/Constants.class | Bin 372 -> 0 bytes .../LowPowerSensing/java/Constants.java | 12 - .../java/LowPowerSensingApp.class | Bin 2019 -> 0 bytes .../java/LowPowerSensingApp.jar | Bin 4709 -> 0 bytes .../java/SerialRequestSamplesMsg.class | Bin 2559 -> 0 bytes .../java/SerialRequestSamplesMsg.java | 224 -------------- .../java/SerialSampleMsg.class | Bin 3293 -> 0 bytes .../LowPowerSensing/java/SerialSampleMsg.java | 290 ------------------ 8 files changed, 526 deletions(-) delete mode 100644 apps/tutorials/LowPowerSensing/java/Constants.class delete mode 100644 apps/tutorials/LowPowerSensing/java/Constants.java delete mode 100644 apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class delete mode 100644 apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.jar delete mode 100644 apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class delete mode 100644 apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java delete mode 100644 apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class delete mode 100644 apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java diff --git a/apps/tutorials/LowPowerSensing/java/Constants.class b/apps/tutorials/LowPowerSensing/java/Constants.class deleted file mode 100644 index d67b9533bec1cacac6523bdd3dd93a8547168749..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 372 zcmYk1%}#?*5QWb`3zkw!{deKQow~5mwK1VBHYAkRLRq*Wv=T#ukhI`?xzf1s0bKb+ z#-WL%i#s>pIddj6-@l(<0IqSYK*WKJLm5W|ZR8GvhnYDu1J`;q3DhIB`dPZp!!-B9 zq=-b0-4HsiF`C$xGYl-pGpD{`bF<54^MlQv;qnB}@T{>D7=yvIOo5=<6T1qqCjStm z+c=H$JA!zA;S*~8>?tC&?Kq8`;$#Jq>8meeRCp0RR zpqF|#3Df89c)pAlInE&Ptw0SY{OY`p#3Vpw-a(^cg}J%qtIVw}U*k?*5IWZmPdME$ XP``W!y>0H?U%>t!WWGOQ diff --git a/apps/tutorials/LowPowerSensing/java/Constants.java b/apps/tutorials/LowPowerSensing/java/Constants.java deleted file mode 100644 index 5798537f..00000000 --- a/apps/tutorials/LowPowerSensing/java/Constants.java +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This class is automatically generated by ncg. DO NOT EDIT THIS FILE. - * This class includes values of some nesC constants from - * ../LowPowerSensingConstants.h. - */ - -public class Constants { - public static final byte MSG_QUEUE_SIZE = 50; - public static final short SAMPLING_INTERVAL = 3000; - public static final byte BASE_STATION_ADDR = 0; - public static final short LPL_INTERVAL = 2000; -} diff --git a/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class b/apps/tutorials/LowPowerSensing/java/LowPowerSensingApp.class deleted file mode 100644 index 9c1b6c0d7a2f59ae7ba04cf5f44ebbd352f1d762..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2019 zcmZ`)>sAw27~KOQGfW56ASzPms8j-?sYq=NibaYV4VMzUAYM9eULsz={_@ofN0jr%$)D+{oTKF{`v2ZKLK3C8y!hpQIT%OFs|xo zz_n(yV?@Pu9dTTdl5d(ZiW?F*rsG?TtGKDdkb4GhH3Hk)5_MZeMgs3>xGP~<6%#sD z5!Q}L6;pC^TE_`|r(#A&CvqBQHQdv1U#=c#c&K9zk2K8dc#J2K_f*3(4d1J|6uF*i@np{(tQ$x3NK zc(c|*k&;HQ;!s}W&xl1~uZX+?Gnx6I{>aX-)YSgi-D4 zb;^~1sS#FbMp${_83<63A+0chJE$9#r6u8s{0?LQs|ui?YupKhXZHHN(sHdDrXQ6< zXKhDDOam`bQlR)M)(rfJSIkmG8_nlERx@p?_{qS}cx~Vkh8T3lS+RMc-IK9>oLUuAlEzsY-mCAuy&V;i;(8u( zYc#-gH@X#Oqdn?>_RpRO>8cjE(K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K$4fRFiOvZ$}$E;t^lB*wR1!14o{im z%+N$J`+k4#!`c;RXqypuBj4pBUy9+^}kRJV>x3%Y{(s5zlISHQkqE zS>INdzle>$^)e^*XRnHh<`6{~!l;|5+Gz@;dV|a&Iy%G$m_{M~voB;F7dfq)c3%=er8jbr3)e>U&$b8Zqxxj%rUE0P7 zWc6hfF)umpih9-f zp2;L2%Db}twX#Ev;iN|ns~ARUa*Z5)VRwgxO{zx%?wHZCg4_`z3yv$DUgr|`Mc0#s zTo8%GM?-QH9N3!}Wz`BMRzq?sksDMyqH2Se0x-|6=X)GbZQcM5vJ-*s0ih*&_`V5m zUdpYTt&s|*57#e$lFK7r7sNGHHJl5rSP@fO8PPqm?tqRq`bE-@c2TO8!tLYr11TC| zr8c-3$lJR($QH%<)z)tCQIde^c#R$uhTf-kH}r<%ZH{sbeHvTP;=)EDdH3EIY;)5 z{U`8wIrs^!PcQe24ywb<@P5WN0s7=^#cFdJuhykD@vFVDOKm@_&I^00ORVRIn&w?U zUzrIfyuEVXE7tjuZ^Y!u8IfWYFF<)lnSk*N3a7(=On;Lz{`Bzs9r{dq_=T?1;U7Z8pT@sewP)AtUtm0ap?|w{|LNuT yBy&~)|3W+2|5FeD>FW0|pJk diff --git a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class b/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.class deleted file mode 100644 index 02d38e95c630f6c394142e78e0e023eaec6c8ccd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2559 zcma)7&rcgi6#m9GwpkY2Kqw86#*iN@cEOOOKl#yOFo~%R2{tr9Qg^|FwUxc5-gO1- ztx}}+mgbUMuf3#Ft4bzHrAob3y|ky^`ma=dvtI0#!3josv-9Tr=6mzro8iy@Ui=1N z8U+a#u_)nnEQzm#Fw4T+7UqsHNk3M6_((!0Qo^MDSQUgd33qYNk9Fb9_>lEuL-;p^ z`B<3y!fXk%?Zb`_4;U^iC6*U9QrTQOk;yFFPUJGl?F0i$GITGNb;DG3b5ku=xtqfC zGWZtKx$M^6gqS{I@Xl(wX3jIXmGMmm&tf^x8GZ$MC`o(V ziHo^c*@;^YpZKu8!b(c#X3W&|qp}ezal=pxJeIDHGZtjz~VkiJ|vI-0AGGLvZ@~9U(aV0TGDPL1kHC z2#BDZZjZ7e(jT-UbT0HY;&ghYOu1UwT<#2{qG_|Pj8Bkbkiy{|QN6jT zLm4+Q?Zc-sRO~Xi9!fHzc#}bC?qgLpspt9OTGd?JkC&@@-bfto@dHyU>kJ{rYXEOu`>*|?_Y*awUj+N;2CaG_p1j7T+cI1D5o3rbkEx7 zr`8QLkCZBl7Vk34clhB+!}n8lPj5)aqwd&9>SjEVDDo25DFo|6Qip`7Lt2)+bXTcM zFhbA8MY`=SvV#}`b$~UyMDsTs^UE}6qBdkl2{B0wMq?ln@*aaldhnzM*U#jk4iJ8b zH>3w%^r9Pm7Wb;nogl7@R=XoZ?WqIkpwMJn_L@zdq;18H%Rs-$=2~BaNw1Rh8qw%d+2qG|sU7Q0fPG(oS4&9oKgTEcz4G-;FWKbPp-6;vS9lz8Rz( z0-LmYpVqf%b%)j;V4Yr_PE1hW)%$OdM)7mGpOLL|y_T;;xY#*xCgG;&fAXvL`-*V% zM7$FBH6iGcvT;}F1R}z&$a7o>g=*;krZv!S32+N1mqMY&6PH4+6NVnu@LKaaN!Hq9 zbm2P+=dFfJBMlv`yFVq|+YOw!*y867g<65%6Y!mLQ5N;pf3&PP` zYv=1F0sc-9dZ=ySsGV4e@-z?%Q(}Llb2%H}51P$k-o}qnUd0U(g&_RpGt&AOB>YX$ ge9(xd5w)*1TmKO5!v?Myb+{GyFX=Ckt_$)10n{?HAOHXW diff --git a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java b/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java deleted file mode 100644 index 486d2e71..00000000 --- a/apps/tutorials/LowPowerSensing/java/SerialRequestSamplesMsg.java +++ /dev/null @@ -1,224 +0,0 @@ -/** - * This class is automatically generated by mig. DO NOT EDIT THIS FILE. - * This class implements a Java interface to the 'SerialRequestSamplesMsg' - * message type. - */ - -public class SerialRequestSamplesMsg extends net.tinyos.message.Message { - - /** The default size of this message type in bytes. */ - public static final int DEFAULT_MESSAGE_SIZE = 6; - - /** The Active Message type associated with this message. */ - public static final int AM_TYPE = 146; - - /** Create a new SerialRequestSamplesMsg of size 6. */ - public SerialRequestSamplesMsg() { - super(DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** Create a new SerialRequestSamplesMsg of the given data_length. */ - public SerialRequestSamplesMsg(int data_length) { - super(data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg with the given data_length - * and base offset. - */ - public SerialRequestSamplesMsg(int data_length, int base_offset) { - super(data_length, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store. - */ - public SerialRequestSamplesMsg(byte[] data) { - super(data); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store, with the given base offset. - */ - public SerialRequestSamplesMsg(byte[] data, int base_offset) { - super(data, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg using the given byte array - * as backing store, with the given base offset and data length. - */ - public SerialRequestSamplesMsg(byte[] data, int base_offset, int data_length) { - super(data, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg embedded in the given message - * at the given base offset. - */ - public SerialRequestSamplesMsg(net.tinyos.message.Message msg, int base_offset) { - super(msg, base_offset, DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialRequestSamplesMsg embedded in the given message - * at the given base offset and length. - */ - public SerialRequestSamplesMsg(net.tinyos.message.Message msg, int base_offset, int data_length) { - super(msg, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - /* Return a String representation of this message. Includes the - * message type name and the non-indexed field values. - */ - public String toString() { - String s = "Message \n"; - try { - s += " [addr=0x"+Long.toHexString(get_addr())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample_num=0x"+Long.toHexString(get_sample_num())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - return s; - } - - // Message-type-specific access methods appear below. - - ///////////////////////////////////////////////////////// - // Accessor methods for field: addr - // Field type: int, unsigned - // Offset (bits): 0 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'addr' is signed (false). - */ - public static boolean isSigned_addr() { - return false; - } - - /** - * Return whether the field 'addr' is an array (false). - */ - public static boolean isArray_addr() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'addr' - */ - public static int offset_addr() { - return (0 / 8); - } - - /** - * Return the offset (in bits) of the field 'addr' - */ - public static int offsetBits_addr() { - return 0; - } - - /** - * Return the value (as a int) of the field 'addr' - */ - public int get_addr() { - return (int)getUIntBEElement(offsetBits_addr(), 16); - } - - /** - * Set the value of the field 'addr' - */ - public void set_addr(int value) { - setUIntBEElement(offsetBits_addr(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'addr' - */ - public static int size_addr() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'addr' - */ - public static int sizeBits_addr() { - return 16; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample_num - // Field type: long, unsigned - // Offset (bits): 16 - // Size (bits): 32 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample_num' is signed (false). - */ - public static boolean isSigned_sample_num() { - return false; - } - - /** - * Return whether the field 'sample_num' is an array (false). - */ - public static boolean isArray_sample_num() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample_num' - */ - public static int offset_sample_num() { - return (16 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample_num' - */ - public static int offsetBits_sample_num() { - return 16; - } - - /** - * Return the value (as a long) of the field 'sample_num' - */ - public long get_sample_num() { - return (long)getUIntBEElement(offsetBits_sample_num(), 32); - } - - /** - * Set the value of the field 'sample_num' - */ - public void set_sample_num(long value) { - setUIntBEElement(offsetBits_sample_num(), 32, value); - } - - /** - * Return the size, in bytes, of the field 'sample_num' - */ - public static int size_sample_num() { - return (32 / 8); - } - - /** - * Return the size, in bits, of the field 'sample_num' - */ - public static int sizeBits_sample_num() { - return 32; - } - -} diff --git a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class b/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.class deleted file mode 100644 index da8340ded9273a5ef061e44ab5f9fbb578ad212b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3293 zcma)8&r@4f6#gzhk~9Pe6v~fK8>mW1gkXz5p;gj`HZ_5^p;$`W^p!l~tKlUkFBKfe zU1wal(@ovEa-*YeprfNJ7mn_9<<7srojb?zyDyKt^d)J5nR9c``OZD(JNMj^{QBSb zKLL0V6)(oH>_q@8^3!E0u1IlJinJ7~9$a%{&5I*=TZ-!*tV@R*UTol|2e+j1wi_7_ z?nu4j!Ckp-N|BX9m10YZoD}c4p}BESVBmawY4KWeHIs^`(~B44nRMbtTtFlQy3ZB# zvZ3h4nv$=m?ab99;9g8+R@X1b<@TX~YeCaBZ%bnG<~;Fj&7^vvXWDysp>j!LdKsA zF)<#akTy!1o+HK3RPvs3Uy0@wJr}KN=LPz-a$3vjYBp0YZDy2gwq&xnA>h}_i=~pX zTW9DkY;BcQqfSG@tkKb`KBgJvI-4)|7}WQ;XLniqK&?af$-U!*Q9C(hyO<}uy6BZ{ zfstB%jke)~L>o~h2hF4#^(1;pV9?~yXzd7Hk{5Zb%Bj&lYLja;lE}doSVm3H z+?U-ZFzh60n}!@5ZA+jDMcX=1&#+EiPt8^jK1Rvbk2El{ZQgXDQrc9PG}-e5X|<#& z`LszbRnE=GCiLMXCVhBUijxRQF(pM4iBYRRQ0UDbg1!tH$Hi*N__b}HtA$RPKYj}a8cbkm=}X=>Ba*& z7T7-561owK$Mfp8sxt+1p7C|~*+LGJi=&QD1LK^wV;q)k7{PHo1A!CfF3A0O-F|{Q zA#afKIU;80A-ML0{hob@a33D-q3t_r1fG|A$PwHJ7y8kSqo(hq#+Hi0K+`2peJ8 z&KAC>81^*7&Y8aQ1X-ylI`|Lth9hIg_u*>cJP$V(Shh2!^9z>qEL|mEKb>Wv-7UP& z!-F__v1EErHxJ#)ImOV+481}(K0C|#7pv4C_Ir{);K=$uypcV0_4_Eod+2`f2t9J& zOR)!k@=J82>T&&5+|j4N2CA^ZX2(UoHFKEcjr8$GmT`saRoure*J__lkT|eL+;vQ1 zov01sZW48yxC}nP9sc&1|xk`hF;V5 zDZ20((|NTPrj~Z6^YqV&d##2Gn8^U`e!mm=1%a<0qF&z+H-8A+9&rn`z^xPfkvI-$ zi~bW5{FxBWehWBZ71ql-jrfBs?AMM4_>IUnv1s8ZSy%b;Zr@Xd6=h E1AOLD0{{R3 diff --git a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java b/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java deleted file mode 100644 index c290b3df..00000000 --- a/apps/tutorials/LowPowerSensing/java/SerialSampleMsg.java +++ /dev/null @@ -1,290 +0,0 @@ -/** - * This class is automatically generated by mig. DO NOT EDIT THIS FILE. - * This class implements a Java interface to the 'SerialSampleMsg' - * message type. - */ - -public class SerialSampleMsg extends net.tinyos.message.Message { - - /** The default size of this message type in bytes. */ - public static final int DEFAULT_MESSAGE_SIZE = 8; - - /** The Active Message type associated with this message. */ - public static final int AM_TYPE = 153; - - /** Create a new SerialSampleMsg of size 8. */ - public SerialSampleMsg() { - super(DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** Create a new SerialSampleMsg of the given data_length. */ - public SerialSampleMsg(int data_length) { - super(data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg with the given data_length - * and base offset. - */ - public SerialSampleMsg(int data_length, int base_offset) { - super(data_length, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store. - */ - public SerialSampleMsg(byte[] data) { - super(data); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store, with the given base offset. - */ - public SerialSampleMsg(byte[] data, int base_offset) { - super(data, base_offset); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg using the given byte array - * as backing store, with the given base offset and data length. - */ - public SerialSampleMsg(byte[] data, int base_offset, int data_length) { - super(data, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg embedded in the given message - * at the given base offset. - */ - public SerialSampleMsg(net.tinyos.message.Message msg, int base_offset) { - super(msg, base_offset, DEFAULT_MESSAGE_SIZE); - amTypeSet(AM_TYPE); - } - - /** - * Create a new SerialSampleMsg embedded in the given message - * at the given base offset and length. - */ - public SerialSampleMsg(net.tinyos.message.Message msg, int base_offset, int data_length) { - super(msg, base_offset, data_length); - amTypeSet(AM_TYPE); - } - - /** - /* Return a String representation of this message. Includes the - * message type name and the non-indexed field values. - */ - public String toString() { - String s = "Message \n"; - try { - s += " [src_addr=0x"+Long.toHexString(get_src_addr())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample.sample_num=0x"+Long.toHexString(get_sample_sample_num())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - try { - s += " [sample.sin_value=0x"+Long.toHexString(get_sample_sin_value())+"]\n"; - } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ } - return s; - } - - // Message-type-specific access methods appear below. - - ///////////////////////////////////////////////////////// - // Accessor methods for field: src_addr - // Field type: int - // Offset (bits): 0 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'src_addr' is signed (false). - */ - public static boolean isSigned_src_addr() { - return false; - } - - /** - * Return whether the field 'src_addr' is an array (false). - */ - public static boolean isArray_src_addr() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'src_addr' - */ - public static int offset_src_addr() { - return (0 / 8); - } - - /** - * Return the offset (in bits) of the field 'src_addr' - */ - public static int offsetBits_src_addr() { - return 0; - } - - /** - * Return the value (as a int) of the field 'src_addr' - */ - public int get_src_addr() { - return (int)getUIntBEElement(offsetBits_src_addr(), 16); - } - - /** - * Set the value of the field 'src_addr' - */ - public void set_src_addr(int value) { - setUIntBEElement(offsetBits_src_addr(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'src_addr' - */ - public static int size_src_addr() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'src_addr' - */ - public static int sizeBits_src_addr() { - return 16; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample.sample_num - // Field type: long - // Offset (bits): 16 - // Size (bits): 32 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample.sample_num' is signed (false). - */ - public static boolean isSigned_sample_sample_num() { - return false; - } - - /** - * Return whether the field 'sample.sample_num' is an array (false). - */ - public static boolean isArray_sample_sample_num() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample.sample_num' - */ - public static int offset_sample_sample_num() { - return (16 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample.sample_num' - */ - public static int offsetBits_sample_sample_num() { - return 16; - } - - /** - * Return the value (as a long) of the field 'sample.sample_num' - */ - public long get_sample_sample_num() { - return (long)getUIntBEElement(offsetBits_sample_sample_num(), 32); - } - - /** - * Set the value of the field 'sample.sample_num' - */ - public void set_sample_sample_num(long value) { - setUIntBEElement(offsetBits_sample_sample_num(), 32, value); - } - - /** - * Return the size, in bytes, of the field 'sample.sample_num' - */ - public static int size_sample_sample_num() { - return (32 / 8); - } - - /** - * Return the size, in bits, of the field 'sample.sample_num' - */ - public static int sizeBits_sample_sample_num() { - return 32; - } - - ///////////////////////////////////////////////////////// - // Accessor methods for field: sample.sin_value - // Field type: int - // Offset (bits): 48 - // Size (bits): 16 - ///////////////////////////////////////////////////////// - - /** - * Return whether the field 'sample.sin_value' is signed (false). - */ - public static boolean isSigned_sample_sin_value() { - return false; - } - - /** - * Return whether the field 'sample.sin_value' is an array (false). - */ - public static boolean isArray_sample_sin_value() { - return false; - } - - /** - * Return the offset (in bytes) of the field 'sample.sin_value' - */ - public static int offset_sample_sin_value() { - return (48 / 8); - } - - /** - * Return the offset (in bits) of the field 'sample.sin_value' - */ - public static int offsetBits_sample_sin_value() { - return 48; - } - - /** - * Return the value (as a int) of the field 'sample.sin_value' - */ - public int get_sample_sin_value() { - return (int)getUIntBEElement(offsetBits_sample_sin_value(), 16); - } - - /** - * Set the value of the field 'sample.sin_value' - */ - public void set_sample_sin_value(int value) { - setUIntBEElement(offsetBits_sample_sin_value(), 16, value); - } - - /** - * Return the size, in bytes, of the field 'sample.sin_value' - */ - public static int size_sample_sin_value() { - return (16 / 8); - } - - /** - * Return the size, in bits, of the field 'sample.sin_value' - */ - public static int sizeBits_sample_sin_value() { - return 16; - } - -} -- 2.39.2