C# 클래스 Ohana3DS_Transfigured.Ohana.Models.PICA200.PICACommandWriter

상속: IDisposable
파일 보기 프로젝트 열기: Quibilia/Ohana3DS-Transfigured

공개 메소드들

메소드 설명
Close ( ) : void
Dispose ( ) : void
PICACommandWriter ( Stream data ) : System
align ( uint mask ) : void

Adds padding 0x0 bytes on the data until all address bits of the mask equals 0.

align ( uint mask, uint maskedValue ) : void

Adds padding 0x0 bytes on the data until all address bits of the mask equals the specified value.

setCommand ( ushort commandId, Color parameter ) : void

Sets a new command with a single Color parameter.

setCommand ( ushort commandId, List parameters ) : void

Sets a new command with multiple Float parameters.

setCommand ( ushort commandId, List parameters, byte mask = 0xf ) : void

Sets a new command with multiple UInt parameters.

setCommand ( ushort commandId, float parameter ) : void

Sets a new command with a single Float parameter.

setCommand ( ushort commandId, uint parameter, byte mask = 0xf ) : void

Sets a new command with a single UInt parameter.

setCommandConsecutive ( ushort commandId, List parameters ) : void

Sets a new command with multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

setCommandConsecutive ( ushort commandId, List parameters, byte mask = 0xf ) : void

Sets a new command with multiple UInt parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

setCommandConsecutive ( ushort commandId, uint parameter, List parameters ) : void

Sets a new command with one UInt parameter and multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

PICACommandWriter() 공개 메소드

public PICACommandWriter ( Stream data ) : System
data Stream
리턴 System

align() 공개 메소드

Adds padding 0x0 bytes on the data until all address bits of the mask equals 0.
public align ( uint mask ) : void
mask uint The mask
리턴 void

align() 공개 메소드

Adds padding 0x0 bytes on the data until all address bits of the mask equals the specified value.
public align ( uint mask, uint maskedValue ) : void
mask uint The mask
maskedValue uint Value that masked bits should equal to stop padding
리턴 void

setCommand() 공개 메소드

Sets a new command with a single Color parameter.
public setCommand ( ushort commandId, Color parameter ) : void
commandId ushort ID of the command
parameter Color Parameter of the command
리턴 void

setCommand() 공개 메소드

Sets a new command with multiple Float parameters.
public setCommand ( ushort commandId, List parameters ) : void
commandId ushort ID of the command
parameters List Parameters of the command
리턴 void

setCommand() 공개 메소드

Sets a new command with multiple UInt parameters.
public setCommand ( ushort commandId, List parameters, byte mask = 0xf ) : void
commandId ushort ID of the command
parameters List Parameters of the command
mask byte Mask used when updating the register value
리턴 void

setCommand() 공개 메소드

Sets a new command with a single Float parameter.
public setCommand ( ushort commandId, float parameter ) : void
commandId ushort ID of the command
parameter float Parameter of the command
리턴 void

setCommand() 공개 메소드

Sets a new command with a single UInt parameter.
public setCommand ( ushort commandId, uint parameter, byte mask = 0xf ) : void
commandId ushort ID of the command
parameter uint Parameter of the command
mask byte Mask used when updating the register value
리턴 void

setCommandConsecutive() 공개 메소드

Sets a new command with multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, List parameters ) : void
commandId ushort ID of the command
parameters List Parameters of the command
리턴 void

setCommandConsecutive() 공개 메소드

Sets a new command with multiple UInt parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, List parameters, byte mask = 0xf ) : void
commandId ushort ID of the command
parameters List Parameters of the command
mask byte Mask used when updating the register value
리턴 void

setCommandConsecutive() 공개 메소드

Sets a new command with one UInt parameter and multiple Float parameters. It uses consecutive mode, which means that the command ID will be incremented after each parameter.
public setCommandConsecutive ( ushort commandId, uint parameter, List parameters ) : void
commandId ushort ID of the command
parameter uint UInt parameter of the command
parameters List Extra Float parameters of the command
리턴 void