BowlerKernel
|
Public Member Functions | |
DyIOChannelEvent (DyIOChannel channel, ByteList data) | |
DyIOChannelEvent (DyIOChannel c, Integer integer) | |
DyIOChannel | getChannel () |
ByteList | getData () |
int | getValue () |
int | getUnsignedValue () |
int | getSignedValue () |
Private Attributes | |
ByteList | data |
DyIOChannel | channel |
Integer | integer |
a DyIO Channel Event.
Definition at line 25 of file DyIOChannelEvent.java.
com.neuronrobotics.sdk.dyio.DyIOChannelEvent.DyIOChannelEvent | ( | DyIOChannel | channel, |
ByteList | data | ||
) |
Instantiates a new dy io channel event.
channel | the channel |
data | the data |
Definition at line 42 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.channel, and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.data.
com.neuronrobotics.sdk.dyio.DyIOChannelEvent.DyIOChannelEvent | ( | DyIOChannel | c, |
Integer | integer | ||
) |
Instantiates a new dy io channel event.
c | the c |
integer | the integer |
Definition at line 53 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.integer.
DyIOChannel com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getChannel | ( | ) |
Gets the channel.
Definition at line 65 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.channel.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue(), and com.neuronrobotics.application.xmpp.DyIOConversation.ChatAsyncListener.onChannelEvent().
ByteList com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getData | ( | ) |
Gets the data.
Definition at line 74 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.data.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getSignedValue(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getUnsignedValue(), com.neuronrobotics.sdk.dyio.peripherals.PPMReaderChannel.onChannelEvent(), com.neuronrobotics.sdk.dyio.peripherals.SPIChannel.onChannelEvent(), and com.neuronrobotics.sdk.dyio.peripherals.UARTChannel.UARTRxChannel.onChannelEvent().
int com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getSignedValue | ( | ) |
Gets the signed value.
Definition at line 120 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.common.ByteList.convertToInt(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getData(), and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.integer.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue(), com.neuronrobotics.sdk.dyio.peripherals.CounterInputChannel.onChannelEvent(), and com.neuronrobotics.sdk.dyio.peripherals.CounterOutputChannel.onChannelEvent().
int com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getUnsignedValue | ( | ) |
Gets the unsigned value.
Definition at line 109 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.common.ByteList.convertToInt(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getData(), and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.integer.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue(), com.neuronrobotics.sdk.dyio.peripherals.AnalogInputChannel.onChannelEvent(), com.neuronrobotics.sdk.dyio.peripherals.DigitalInputChannel.onChannelEvent(), and com.neuronrobotics.sdk.dyio.peripherals.ServoChannel.onChannelEvent().
int com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue | ( | ) |
Gets the value.
Definition at line 83 of file DyIOChannelEvent.java.
References com.neuronrobotics.sdk.dyio.DyIOChannelEvent.channel, com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getChannel(), com.neuronrobotics.sdk.dyio.DyIOChannel.getCurrentMode(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getSignedValue(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getUnsignedValue(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.integer, and com.neuronrobotics.sdk.dyio.DyIOChannel.isStreamChannel().
Referenced by com.neuronrobotics.sdk.dyio.DyIO.getAllChannelValues(), com.neuronrobotics.sdk.dyio.DyIOChannel.getValue(), com.neuronrobotics.application.xmpp.DyIOConversation.ChatAsyncListener.onChannelEvent(), and com.neuronrobotics.sdk.dyio.DyIOChannel.parseDyIOChannelEvent().
|
private |
The channel.
Definition at line 31 of file DyIOChannelEvent.java.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.DyIOChannelEvent(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getChannel(), and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue().
|
private |
The data.
Definition at line 28 of file DyIOChannelEvent.java.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.DyIOChannelEvent(), and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getData().
|
private |
The integer.
Definition at line 34 of file DyIOChannelEvent.java.
Referenced by com.neuronrobotics.sdk.dyio.DyIOChannelEvent.DyIOChannelEvent(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getSignedValue(), com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getUnsignedValue(), and com.neuronrobotics.sdk.dyio.DyIOChannelEvent.getValue().