C# Class CrewChiefV3.PCars.PCarsUDPreader

Inheritance: GameDataReader
Mostrar archivo Open project: mrbelowski/r3e_crewchief_v3 Class Usage Examples

Public Methods

Method Description
ConvertByteToBoolArray ( byte b ) : bool[]
Dispose ( ) : void
DumpRawGameData ( ) : void
ReadGameData ( System.Boolean forSpotter ) : Object
ReadGameDataFromFile ( String filename ) : Object
getButtonIndexForAssignment ( ) : int
getButtonState ( int index ) : System.Boolean
hasNewSpotterData ( ) : bool
stop ( ) : void

Protected Methods

Method Description
InitialiseInternal ( ) : System.Boolean

Private Methods

Method Description
ReceiveCallback ( IAsyncResult result ) : void
isNextInSequence ( int thisPacketSequenceNumber ) : System.Boolean
readFromOffset ( int offset, byte rawData ) : int
telemIsOutOfSequence ( sTelemetryData telem ) : System.Boolean

Method Details

ConvertByteToBoolArray() public static method

public static ConvertByteToBoolArray ( byte b ) : bool[]
b byte
return bool[]

Dispose() public method

public Dispose ( ) : void
return void

DumpRawGameData() public method

public DumpRawGameData ( ) : void
return void

InitialiseInternal() protected method

protected InitialiseInternal ( ) : System.Boolean
return System.Boolean

ReadGameData() public method

public ReadGameData ( System.Boolean forSpotter ) : Object
forSpotter System.Boolean
return Object

ReadGameDataFromFile() public method

public ReadGameDataFromFile ( String filename ) : Object
filename String
return Object

getButtonIndexForAssignment() public method

public getButtonIndexForAssignment ( ) : int
return int

getButtonState() public static method

public static getButtonState ( int index ) : System.Boolean
index int
return System.Boolean

hasNewSpotterData() public method

public hasNewSpotterData ( ) : bool
return bool

stop() public method

public stop ( ) : void
return void