C# 클래스 ScpControl.Usb.UsbDevice

Represents a generic Usb device.
상속: ScpDevice, IDsDevice
파일 보기 프로젝트 열기: nefarius/ScpToolkit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
PacketCounter uint
ReportDescriptor HidSharp.ReportDescriptors.Parser.ReportDescriptorParser
m_Buffer byte[]
m_CableStatus byte
m_Instance string
m_Last System.DateTime
m_PlugStatus byte
m_Publish bool

공개 메소드들

메소드 설명
Close ( ) : bool
Disconnect ( ) : bool
NewHidReport ( ) : ScpControl.Shared.Core.ScpHidReport

Crafts a new ScpHidReport with current devices meta data.

Pair ( System.Net.NetworkInformation.PhysicalAddress master ) : bool
Rumble ( byte large, byte small ) : bool
Start ( ) : bool
Stop ( ) : bool
ToString ( ) : string
UsbDevice ( ) : System

보호된 메소드들

메소드 설명
OnHidReportReceived ( ScpControl.Shared.Core.ScpHidReport report ) : void
ParseHidReport ( byte report ) : void
Process ( System.DateTime now ) : void
Shutdown ( ) : bool
UsbDevice ( System.Guid guid ) : System

비공개 메소드들

메소드 설명
HidWorker ( object o ) : void

Worker thread polling for incoming Usb interrupts.

메소드 상세

Close() 공개 메소드

public Close ( ) : bool
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( ) : bool
리턴 bool

NewHidReport() 공개 메소드

Crafts a new ScpHidReport with current devices meta data.
public NewHidReport ( ) : ScpControl.Shared.Core.ScpHidReport
리턴 ScpControl.Shared.Core.ScpHidReport

OnHidReportReceived() 보호된 메소드

protected OnHidReportReceived ( ScpControl.Shared.Core.ScpHidReport report ) : void
report ScpControl.Shared.Core.ScpHidReport
리턴 void

Pair() 공개 메소드

public Pair ( System.Net.NetworkInformation.PhysicalAddress master ) : bool
master System.Net.NetworkInformation.PhysicalAddress
리턴 bool

ParseHidReport() 보호된 메소드

protected ParseHidReport ( byte report ) : void
report byte
리턴 void

Process() 보호된 메소드

protected Process ( System.DateTime now ) : void
now System.DateTime
리턴 void

Rumble() 공개 메소드

public Rumble ( byte large, byte small ) : bool
large byte
small byte
리턴 bool

Shutdown() 보호된 메소드

protected Shutdown ( ) : bool
리턴 bool

Start() 공개 메소드

public Start ( ) : bool
리턴 bool

Stop() 공개 메소드

public Stop ( ) : bool
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UsbDevice() 공개 메소드

public UsbDevice ( ) : System
리턴 System

UsbDevice() 보호된 메소드

protected UsbDevice ( System.Guid guid ) : System
guid System.Guid
리턴 System

프로퍼티 상세

PacketCounter 보호되어 있는 프로퍼티

protected uint PacketCounter
리턴 uint

ReportDescriptor 보호되어 있는 프로퍼티

protected ReportDescriptorParser,HidSharp.ReportDescriptors.Parser ReportDescriptor
리턴 HidSharp.ReportDescriptors.Parser.ReportDescriptorParser

m_Buffer 보호되어 있는 프로퍼티

protected byte[] m_Buffer
리턴 byte[]

m_CableStatus 보호되어 있는 프로퍼티

protected byte m_CableStatus
리턴 byte

m_Instance 보호되어 있는 프로퍼티

protected string m_Instance
리턴 string

m_Last 보호되어 있는 프로퍼티

protected DateTime,System m_Last
리턴 System.DateTime

m_PlugStatus 보호되어 있는 프로퍼티

protected byte m_PlugStatus
리턴 byte

m_Publish 보호되어 있는 프로퍼티

protected bool m_Publish
리턴 bool