C# Class SharpUV.Loop

Inheritance: IDisposable
Afficher le fichier Open project: gigi81/sharpuv Class Usage Examples

Private Properties

Свойство Type Description
WorkCompleted void

Méthodes publiques

Méthode Description
CheckError ( int code ) : void
Dispose ( ) : void

Dispose the object freeing unmanaged resources allocated

DumpAllocs ( ) : void
Loop ( ) : System
QueueWork ( System.Action run, System.Action after = null ) : void
Run ( ) : void

This function starts the event loop. It blocks until the reference count of the loop drops to zero.

RunOnce ( ) : void

This function polls for new events without blocking

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
Loop ( IntPtr handle ) : System

Private Methods

Méthode Description
WorkCompleted ( LoopWork work ) : void

Method Details

CheckError() public méthode

public CheckError ( int code ) : void
code int
Résultat void

Dispose() public méthode

Dispose the object freeing unmanaged resources allocated
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DumpAllocs() public méthode

public DumpAllocs ( ) : void
Résultat void

Loop() public méthode

public Loop ( ) : System
Résultat System

Loop() protected méthode

protected Loop ( IntPtr handle ) : System
handle System.IntPtr
Résultat System

QueueWork() public méthode

public QueueWork ( System.Action run, System.Action after = null ) : void
run System.Action
after System.Action
Résultat void

Run() public méthode

This function starts the event loop. It blocks until the reference count of the loop drops to zero.
public Run ( ) : void
Résultat void

RunOnce() public méthode

This function polls for new events without blocking
public RunOnce ( ) : void
Résultat void