PHP 클래스 PiPHP\GPIO\Interrupt\InterruptWatcher

상속: implements PiPHP\GPIO\Interrupt\InterruptWatcherInterface
파일 보기 프로젝트 열기: piphp/gpio

공개 메소드들

메소드 설명
__construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect ) Constructor.
__destruct ( ) Destructor.
register ( PiPHP\GPIO\Pin\InputPinInterface $pin, callable $callback )
unregister ( PiPHP\GPIO\Pin\InputPinInterface $pin )
watch ( $timeout )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect )
$fileSystem PiPHP\GPIO\FileSystem\FileSystemInterface An object that provides file system access
$streamSelect callable The stream select implementation

__destruct() 공개 메소드

Destructor.
public __destruct ( )

register() 공개 메소드

public register ( PiPHP\GPIO\Pin\InputPinInterface $pin, callable $callback )
$pin PiPHP\GPIO\Pin\InputPinInterface
$callback callable

unregister() 공개 메소드

public unregister ( PiPHP\GPIO\Pin\InputPinInterface $pin )
$pin PiPHP\GPIO\Pin\InputPinInterface

watch() 공개 메소드

public watch ( $timeout )