Public Member Functions | |
FrequencyCounterCountEvent (Phidget source, int index, int time, int count) | |
int | getCount () |
int | getIndex () |
Phidget | getSource () |
int | getTime () |
String | toString () |
Package Attributes | |
int | count |
int | index |
Phidget | source |
int | time |
This class represents the data for a FrequencyCounterCountEvent.
Definition at line 14 of file FrequencyCounterCountEvent.java.
com.phidgets.event.FrequencyCounterCountEvent.FrequencyCounterCountEvent | ( | Phidget | source, |
int | index, | ||
int | time, | ||
int | count | ||
) | [inline] |
Class constructor. This is called internally by the phidget library when creating this event.
source | the Phidget object from which this event originated |
Definition at line 26 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.getCount | ( | ) | [inline] |
Returns the number of counts detected.
Definition at line 67 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.getIndex | ( | ) | [inline] |
Returns the index of the channel.
Definition at line 49 of file FrequencyCounterCountEvent.java.
Returns the source Phidget of this event. This is a reference to the Phidget object from which this event was called. This object can be cast into a specific type of Phidget object to call specific device calls on it.
Definition at line 40 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.getTime | ( | ) | [inline] |
Returns the amount of time in which the number of counts occured, in microseconds.
Definition at line 58 of file FrequencyCounterCountEvent.java.
String com.phidgets.event.FrequencyCounterCountEvent.toString | ( | ) | [inline] |
Returns a string containing information about the event.
Definition at line 76 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.count [package] |
Definition at line 19 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.index [package] |
Definition at line 17 of file FrequencyCounterCountEvent.java.
Definition at line 16 of file FrequencyCounterCountEvent.java.
int com.phidgets.event.FrequencyCounterCountEvent.time [package] |
Definition at line 18 of file FrequencyCounterCountEvent.java.