C# 클래스 Mirror.VioletMirror

Represents single VioletMirror.
Might get thrown from any method if mirror is disconnected before this object is disposed.
상속: HIDDevice
파일 보기 프로젝트 열기: suan/mirlite

공개 메소드들

메소드 설명
EnsureIsInitialized ( ) : void

Initializes mirror.

GetChoreoInfo ( ) : ChoreoInfo

Gets choreo info. Actual implementation of this method is still a bit mystery. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

GetOrientation ( ) : Orientation

Gets the orientation of mirror.

PlayChoreo ( ) : bool

Sets choreo on. Last choreo is also played. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

SetChoreoOff ( ) : bool

Sets choreo off. This also shuts down lights. This works only if mirror is just initialized and no tags are shown to it. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

SetChoreoPowerOnly ( ) : bool

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

UnknownChoreoCommand02 ( ) : void

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

UnknownChoreoCommand05 ( ) : void

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

UnknownChoreoCommand06 ( ) : void

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!

VioletMirror ( string devicePath ) : System.Text

Initializes new instance of VioletMirror. User MirrorFactory to get mirror.

보호된 메소드들

메소드 설명
CreateInputReport ( ) : InputReport
CreateOutputReport ( EventType eventType, byte data ) : OutputEvent
Dispose ( bool bDisposing ) : void
GetMirrorId ( ) : string
GetNewMessageId ( ) : ushort

Gets new message identifier.

HandleDataReceived ( InputReport inputReport ) : void
SendData ( EventType eventType, byte data ) : void
SendDataAndWaitResponse ( EventType eventType, byte data ) : InputEvent

비공개 메소드들

메소드 설명
GetApplicationVersion ( ) : string
GetBootloaderVersion ( ) : string

메소드 상세

CreateInputReport() 보호된 메소드

protected CreateInputReport ( ) : InputReport
리턴 Mirror.UsbLibrary.InputReport

CreateOutputReport() 보호된 메소드

protected CreateOutputReport ( EventType eventType, byte data ) : OutputEvent
eventType EventType
data byte
리턴 OutputEvent

Dispose() 보호된 메소드

protected Dispose ( bool bDisposing ) : void
bDisposing bool
리턴 void

EnsureIsInitialized() 공개 메소드

Initializes mirror.
public EnsureIsInitialized ( ) : void
리턴 void

GetChoreoInfo() 공개 메소드

Gets choreo info. Actual implementation of this method is still a bit mystery. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public GetChoreoInfo ( ) : ChoreoInfo
리턴 ChoreoInfo

GetMirrorId() 보호된 메소드

protected GetMirrorId ( ) : string
리턴 string

GetNewMessageId() 보호된 메소드

Gets new message identifier.
protected GetNewMessageId ( ) : ushort
리턴 ushort

GetOrientation() 공개 메소드

Gets the orientation of mirror.
public GetOrientation ( ) : Orientation
리턴 Orientation

HandleDataReceived() 보호된 메소드

protected HandleDataReceived ( InputReport inputReport ) : void
inputReport Mirror.UsbLibrary.InputReport
리턴 void

PlayChoreo() 공개 메소드

Sets choreo on. Last choreo is also played. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public PlayChoreo ( ) : bool
리턴 bool

SendData() 보호된 메소드

protected SendData ( EventType eventType, byte data ) : void
eventType EventType
data byte
리턴 void

SendDataAndWaitResponse() 보호된 메소드

protected SendDataAndWaitResponse ( EventType eventType, byte data ) : InputEvent
eventType EventType
data byte
리턴 InputEvent

SetChoreoOff() 공개 메소드

Sets choreo off. This also shuts down lights. This works only if mirror is just initialized and no tags are shown to it. ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public SetChoreoOff ( ) : bool
리턴 bool

SetChoreoPowerOnly() 공개 메소드

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public SetChoreoPowerOnly ( ) : bool
리턴 bool

UnknownChoreoCommand02() 공개 메소드

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public UnknownChoreoCommand02 ( ) : void
리턴 void

UnknownChoreoCommand05() 공개 메소드

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public UnknownChoreoCommand05 ( ) : void
리턴 void

UnknownChoreoCommand06() 공개 메소드

ALL CHOREO RELATED STUFF IS HIGHLY EXPERIMENTAL AND PROPABLY WON'T WORK!
public UnknownChoreoCommand06 ( ) : void
리턴 void

VioletMirror() 공개 메소드

Initializes new instance of VioletMirror. User MirrorFactory to get mirror.
public VioletMirror ( string devicePath ) : System.Text
devicePath string
리턴 System.Text