C# 클래스 LibUsbDotNet.DeviceNotify.Linux.LinuxDeviceNotifier

파일 보기 프로젝트 열기: arvydas/BlinkStickDotNet

공개 프로퍼티들

프로퍼티 타입 설명
PollingInterval int

Private Properties

프로퍼티 타입 설명
BuildDevList void
FileAdded void
FileRemoved void
IsDeviceEnterface bool
OnAddRemoveEvent void
PollTimer_Elapsed void
ReadFileDescriptor bool
Start void
StartDevDirectoryMonitor void
StartDeviceListPolling void
Stop void
StopDevDirectoryMonitor void
StopDeviceListPolling void

공개 메소드들

메소드 설명
LinuxDeviceNotifier ( ) : System

Creates a new instance of the LinuxDeviceNotifier using '/dev' as the root device path.

LinuxDeviceNotifier ( string devDir ) : System

Creates a new instance of the LinuxDeviceNotifier using 'devDir' as the root device path. (IE. '/dev').

비공개 메소드들

메소드 설명
BuildDevList ( ) : void
FileAdded ( object sender, FileSystemEventArgs e ) : void
FileRemoved ( object sender, FileSystemEventArgs e ) : void
IsDeviceEnterface ( string name, byte &busNumber, byte &deviceAddress ) : bool
OnAddRemoveEvent ( object sender, AddRemoveEventArgs e ) : void
PollTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
ReadFileDescriptor ( string fullPath, byte &deviceDescriptorBytes ) : bool
Start ( ) : void
StartDevDirectoryMonitor ( ) : void
StartDeviceListPolling ( ) : void
Stop ( ) : void
StopDevDirectoryMonitor ( ) : void
StopDeviceListPolling ( ) : void

메소드 상세

LinuxDeviceNotifier() 공개 메소드

Creates a new instance of the LinuxDeviceNotifier using '/dev' as the root device path.
public LinuxDeviceNotifier ( ) : System
리턴 System

LinuxDeviceNotifier() 공개 메소드

Creates a new instance of the LinuxDeviceNotifier using 'devDir' as the root device path. (IE. '/dev').
public LinuxDeviceNotifier ( string devDir ) : System
devDir string The directory to monitor; usually '/dev'.
리턴 System

프로퍼티 상세

PollingInterval 공개적으로 정적으로 프로퍼티

The interval (milliseconds) in which the device list is queried for changes when using the LinuxDeviceNotifierMode.PollDeviceList mode.
public static int PollingInterval
리턴 int