Documentation ¶
Index ¶
- type Preset
- func (p *Preset) Delete(id dsd.PresetID) error
- func (p *Preset) DeleteAll() error
- func (p *Preset) GetPosition(id dsd.PresetID) (dsd.Position, error)
- func (p *Preset) List() []dsd.PresetPoint
- func (p *Preset) Set(ctl control.ControlRepo, id dsd.PresetID, name dsd.PresetName) error
- func (p *Preset) Start(ctl control.ControlRepo, id dsd.PresetID) error
- func (p *Preset) Stop() error
- func (p *Preset) Update(id dsd.PresetID, name dsd.PresetName) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Preset ¶
type Preset struct {
// contains filtered or unexported fields
}
func New ¶
func New(ps []dsd.PresetPoint) *Preset
func (*Preset) List ¶
func (p *Preset) List() []dsd.PresetPoint
func (*Preset) Set ¶
func (p *Preset) Set(ctl control.ControlRepo, id dsd.PresetID, name dsd.PresetName) error
Click to show internal directories.
Click to hide internal directories.