Documentation ¶
Overview ¶
Package physical implements GoAbU resources associated with sensors and actuators.
Index ¶
- type IOadaptor
- type IOdelegate
- type IOresources
- func (i *IOresources) Add(t string, name string, args ...interface{}) error
- func (i *IOresources) AddInputFrame(t string, ...) error
- func (i *IOresources) AddInputOutputFrame(t string, ...) error
- func (i *IOresources) AddOutputFrame(t string, ...) error
- func (i *IOresources) Copy() memory.ResourceController
- func (i *IOresources) Errors() <-chan error
- func (i *IOresources) Inputs() <-chan string
- func (i *IOresources) Modified(r string)
- func (i *IOresources) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOadaptor ¶
type IOadaptor interface { gobot.Adaptor gpio.DigitalReader gpio.DigitalWriter gpio.PwmWriter }
TODO check if sufficient
type IOdelegate ¶
type IOresources ¶
func MakeEmptyIOresources ¶
func MakeEmptyIOresources(a IOadaptor) *IOresources
func (*IOresources) Add ¶
func (i *IOresources) Add(t string, name string, args ...interface{}) error
func (*IOresources) AddInputFrame ¶
func (i *IOresources) AddInputFrame(t string, c func(IOadaptor, string, ...interface{}) (IOdelegate, memory.Resources, error)) error
func (*IOresources) AddInputOutputFrame ¶
func (i *IOresources) AddInputOutputFrame(t string, c func(IOadaptor, string, ...interface{}) (IOdelegate, memory.Resources, error)) error
func (*IOresources) AddOutputFrame ¶
func (i *IOresources) AddOutputFrame(t string, c func(IOadaptor, string, ...interface{}) (IOdelegate, memory.Resources, error)) error
func (*IOresources) Copy ¶
func (i *IOresources) Copy() memory.ResourceController
func (*IOresources) Errors ¶
func (i *IOresources) Errors() <-chan error
func (*IOresources) Inputs ¶
func (i *IOresources) Inputs() <-chan string
func (*IOresources) Modified ¶
func (i *IOresources) Modified(r string)
func (*IOresources) Start ¶
func (i *IOresources) Start() error
Directories ¶
Path | Synopsis |
---|---|
Package iodelegates implements the behaviour of some GoAbU I/O related resources.
|
Package iodelegates implements the behaviour of some GoAbU I/O related resources. |
Click to show internal directories.
Click to hide internal directories.