Package com.pi4j.io.gpio.trigger
Class GpioToggleStateTrigger
- java.lang.Object
-
- com.pi4j.io.gpio.trigger.GpioTriggerBase
-
- com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
-
- com.pi4j.io.gpio.trigger.GpioToggleStateTrigger
-
- All Implemented Interfaces:
GpioTrigger
public class GpioToggleStateTrigger extends OutputTargetedGpioTrigger
-
-
Field Summary
-
Fields inherited from class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
targetPin
-
-
Constructor Summary
Constructors Constructor Description GpioToggleStateTrigger(GpioPin[] pins, PinState[] states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, PinState[] states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, PinState state, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(GpioPin pin, List<PinState> states, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(PinState state, GpioPinDigitalOutput targetPin)
GpioToggleStateTrigger(List<GpioPin> pins, List<PinState> states, GpioPinDigitalOutput targetPin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(GpioPin pin, PinState state)
-
Methods inherited from class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
getTargetPin
-
Methods inherited from class com.pi4j.io.gpio.trigger.GpioTriggerBase
addPinState, addPinState, hasPinState
-
-
-
-
Constructor Detail
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(PinState state, GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(GpioPin pin, PinState state, GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(GpioPin pin, PinState[] states, GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(GpioPin pin, List<PinState> states, GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(GpioPin[] pins, PinState[] states, GpioPinDigitalOutput targetPin)
-
GpioToggleStateTrigger
public GpioToggleStateTrigger(List<GpioPin> pins, List<PinState> states, GpioPinDigitalOutput targetPin)
-
-
Method Detail
-
invoke
public void invoke(GpioPin pin, PinState state)
- Specified by:
invoke
in interfaceGpioTrigger
- Specified by:
invoke
in classGpioTriggerBase
-
-