C# Class Editor.Source_Files.NativeInstance

显示文件 Open project: LauriM/PropellerEngine

Public Properties

Property Type Description
methodList NativeEventInfo>.Dictionary

Protected Properties

Property Type Description
binaryWriter System.IO.BinaryWriter
bufferPointer System.IntPtr
callCount System.UInt32
stream System.IO.UnmanagedMemoryStream

Public Methods

Method Description
NativeInstance ( String intanceName ) : System
flush ( ) : void
getInstancePtr ( ) : IntPtr
getShutdownState ( ) : bool
instanceShutdown ( ) : void
registerEvent ( String eventName, object obj, MethodInfo methodInfo ) : void
update ( ) : void

Protected Methods

Method Description
call ( String command ) : void

Private Methods

Method Description
handleEvent ( String cmd, BinaryReader reader ) : void
resetBuffers ( ) : void

Method Details

NativeInstance() public method

public NativeInstance ( String intanceName ) : System
intanceName String
return System

call() protected method

protected call ( String command ) : void
command String
return void

flush() public method

public flush ( ) : void
return void

getInstancePtr() public method

public getInstancePtr ( ) : IntPtr
return System.IntPtr

getShutdownState() public method

public getShutdownState ( ) : bool
return bool

instanceShutdown() public method

public instanceShutdown ( ) : void
return void

registerEvent() public method

public registerEvent ( String eventName, object obj, MethodInfo methodInfo ) : void
eventName String
obj object
methodInfo System.Reflection.MethodInfo
return void

update() public method

public update ( ) : void
return void

Property Details

binaryWriter protected_oe property

protected BinaryWriter,System.IO binaryWriter
return System.IO.BinaryWriter

bufferPointer protected_oe property

protected IntPtr,System bufferPointer
return System.IntPtr

callCount protected_oe property

protected UInt32,System callCount
return System.UInt32

methodList public_oe property

public Dictionary methodList
return NativeEventInfo>.Dictionary

stream protected_oe property

protected UnmanagedMemoryStream,System.IO stream
return System.IO.UnmanagedMemoryStream