ui

package
v0.0.0-...-9caf962 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Hello(kindInputs map[string][]string)
	SetGraph(graph []*Object)
}

type Object

type Object struct {
	Name    string
	Kind    string
	Value   float64
	Input   map[string]string
	Display map[string]interface{}
	// contains filtered or unexported fields
}

type UI

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

func New

func New(h Handler) *UI

func (*UI) Connect

func (u *UI) Connect(from, to, input string) error

func (*UI) Destroy

func (u *UI) Destroy(name string) error

func (*UI) Disconnect

func (u *UI) Disconnect(from, to, input string) error

func (*UI) Load

func (u *UI) Load(path string) error

func (*UI) NewObject

func (u *UI) NewObject(name, kind string, value float64)

func (*UI) Render

func (u *UI) Render(frames int) []audio.Sample

func (*UI) Save

func (u *UI) Save(path string) error

func (*UI) Set

func (u *UI) Set(name string, v float64) error

func (*UI) SetDisplay

func (u *UI) SetDisplay(name string, display map[string]interface{}) error

func (*UI) Start

func (u *UI) Start() error

func (*UI) Stop

func (u *UI) Stop() error

Jump to

Keyboard shortcuts

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