C# Class Emul8.Peripherals.CPU.TranslationCPU.HookDescriptor

Show file Open project: emul8/emul8

Public Methods

Method Description
Activate ( ) : void

Activates the hook by installing it in tlib.

AddCallback ( Action action ) : void
Deactivate ( ) : void

Deactivates the hook by removing it from tlib.

ExecuteCallbacks ( ) : void
HookDescriptor ( TranslationCPU cpu, uint address ) : System
RemoveCallback ( Action action ) : bool

Method Details

Activate() public method

Activates the hook by installing it in tlib.
public Activate ( ) : void
return void

AddCallback() public method

public AddCallback ( Action action ) : void
action Action
return void

Deactivate() public method

Deactivates the hook by removing it from tlib.
public Deactivate ( ) : void
return void

ExecuteCallbacks() public method

public ExecuteCallbacks ( ) : void
return void

HookDescriptor() public method

public HookDescriptor ( TranslationCPU cpu, uint address ) : System
cpu TranslationCPU
address uint
return System

RemoveCallback() public method

public RemoveCallback ( Action action ) : bool
action Action
return bool