tracer

package
v0.0.0-...-76dc376 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MkAddPointMessage

func MkAddPointMessage(point types.Point) interface{}

MkAddPointMessage creates a new action message to add a Point to the trace

Types

type Tracer

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

Tracer is the component that stores the recent position history

func New

func New(maxPoints uint32) *Tracer

New creates a new Tracer component

func (*Tracer) GetPoints

func (t *Tracer) GetPoints() []types.Point

GetPoints returns the Point in the trace

func (*Tracer) SetInputChan

func (t *Tracer) SetInputChan(inputChan chan interface{})

SetInputChan sets the channel where panics are sent

func (*Tracer) SetPanicChan

func (t *Tracer) SetPanicChan(panicChan chan interface{})

SetPanicChan sets the channel where panics are sent

func (*Tracer) Shutdown

func (t *Tracer) Shutdown()

Shutdown sets all the state to down and notify the handlers

func (*Tracer) Start

func (t *Tracer) Start()

Start the event loop of the Tracer component

Jump to

Keyboard shortcuts

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