Package com.pi4j.io.gpio.trigger
Class GpioSyncStateTrigger
- java.lang.Object
-
- com.pi4j.io.gpio.trigger.GpioTriggerBase
-
- com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
-
- com.pi4j.io.gpio.trigger.GpioSyncStateTrigger
-
- All Implemented Interfaces:
GpioTrigger
public class GpioSyncStateTrigger extends OutputTargetedGpioTrigger
-
-
Field Summary
-
Fields inherited from class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger
targetPin
-
-
Constructor Summary
Constructors Constructor Description GpioSyncStateTrigger(GpioPinDigitalOutput targetPin)
GpioSyncStateTrigger(PinState[] states, GpioPinDigitalOutput targetPin)
GpioSyncStateTrigger(PinState state, GpioPinDigitalOutput targetPin)
GpioSyncStateTrigger(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
-
GpioSyncStateTrigger
public GpioSyncStateTrigger(GpioPinDigitalOutput targetPin)
-
GpioSyncStateTrigger
public GpioSyncStateTrigger(PinState state, GpioPinDigitalOutput targetPin)
-
GpioSyncStateTrigger
public GpioSyncStateTrigger(PinState[] states, GpioPinDigitalOutput targetPin)
-
GpioSyncStateTrigger
public GpioSyncStateTrigger(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
-
-