Package com.pi4j.io.gpio.trigger
Class GpioTriggerBase
- java.lang.Object
-
- com.pi4j.io.gpio.trigger.GpioTriggerBase
-
- All Implemented Interfaces:
GpioTrigger
- Direct Known Subclasses:
GpioCallbackTrigger,IFTTTMakerChannelTrigger,OutputTargetedGpioTrigger
public abstract class GpioTriggerBase extends Object implements GpioTrigger
-
-
Constructor Summary
Constructors Constructor Description GpioTriggerBase()GpioTriggerBase(PinState state)GpioTriggerBase(PinState[] states)GpioTriggerBase(List<PinState> states)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddPinState(PinState... state)voidaddPinState(List<? extends PinState> states)booleanhasPinState(PinState state)abstract voidinvoke(GpioPin pin, PinState state)
-
-
-
Method Detail
-
addPinState
public void addPinState(PinState... state)
- Specified by:
addPinStatein interfaceGpioTrigger
-
addPinState
public void addPinState(List<? extends PinState> states)
- Specified by:
addPinStatein interfaceGpioTrigger
-
hasPinState
public boolean hasPinState(PinState state)
- Specified by:
hasPinStatein interfaceGpioTrigger
-
invoke
public abstract void invoke(GpioPin pin, PinState state)
- Specified by:
invokein interfaceGpioTrigger
-
-