/* * Copyright 2006 Phidgets Inc. All rights reserved. */ package com.phidgets.event; import com.phidgets.Phidget; /** * This class represents the data for a TagGainEvent. * * @author Phidgets Inc. */ public class TagGainEvent { Phidget source; String value; int protocol; /** * Class constructor. This is called internally by the phidget library when creating this event. * * @param source the Phidget object from which this event originated */ public TagGainEvent(Phidget source, String value) { this.source = source; this.value = value; } public TagGainEvent(Phidget source, String value, int protocol) { this.source = source; this.value = value; this.protocol = protocol; } /** * 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. * * @return the event caller */ public Phidget getSource() { return source; } /** * Returns the gained tag. * * @return the gained tag */ public String getValue() { return value; } /** * Returns the protocol of the Tag that was lost. * * @return the lost tag protocol */ public int getProtocol() { return protocol; } /** * Returns a string containing information about the event. * * @return an informative event string */ public String toString() { return source.toString() + " Tag Gained: " + value; } } ollow=1'>commitdiffstats
path: root/timer_group.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06Fixed keypad widget in GLCD2USBharbaum1-0/+7
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1144 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-02-12timer.c: fixed detection of positive clock skew (and some typos)mzuther4-10/+10
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1143 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-23timer.c: fixed clock skew detectionmzuther1-26/+46
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1142 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-23timer.c: skip intermediate timer intervalsmzuther2-16/+46
"timer_inc()" now checks how many trigger intervals have passed since a given timer has been updated. This might be due to "negative clock skew" (think of summer time) or the fact that some processing took too long (i.e. fetching of a web site). These missed trigger intervals are then skipped and the user is notified so that he may adapt his timer settings. This handling is essential, otherwise unprocessed timers might stack up and would trigger continuously while at the same time becoming notoriously late and unreliable. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1141 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-05fix for a bug introduced in the DE-LD021 drivermichael1-3/+3
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1140 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-04indentationmichael2-3/+3
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1139 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-04support for Sure Electronics DE-LD021 by Natanael Olaizmichael1-10/+8
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1138 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-01-02driver for EFN LED modules by Tilman Glötznermichael9-21/+469
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1137 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2010-11-28commented, corrected and beautified both timer and timer group codemzuther11-197/+511
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1136 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2010-11-27finished commenting the timer codemzuther2-46/+138
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1135 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2010-11-20started commenting the timer codemzuther5-52/+170
I'm not done yet, but my system is currently very unstable, and I don't want the changes to get lost... :( git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1134 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2010-11-19Added brightness support for GLCD2USBharbaum5-28/+8014
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1133 3ae390bd-cb1e-0410-b409-cd5a39f66f1f