panel

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2021 License: GPL-3.0, GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package panel implements the front control panel of the VCS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPanel

NewPanel is the preferred method of initialisation for the Panel type.

Types

type Panel

type Panel struct {
	// contains filtered or unexported fields
}

Panel represents the console's front control panel.

func (*Panel) HandleEvent

func (pan *Panel) HandleEvent(event ports.Event, value ports.EventData) error

HandleEvent implements Peripheral interface.

func (*Panel) Name

func (pan *Panel) Name() string

Name implements the Peripheral interface.

func (*Panel) Plumb

func (pan *Panel) Plumb(bus ports.PeripheralBus)

Plumb implements the Peripheral interface.

func (*Panel) PortID

func (pan *Panel) PortID() plugging.PortID

PortID implements the ports.Peripheral interface.

func (*Panel) Reset

func (pan *Panel) Reset()

Reset implements the Peripheral interface.

func (*Panel) Step

func (pan *Panel) Step()

Step implements the Peripheral interface.

func (*Panel) String

func (pan *Panel) String() string

String implements the Peripheral interface.

func (*Panel) Update

func (pan *Panel) Update(data bus.ChipData) bool

Update implements the Peripheral interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL