channelNumberFinder

package
v0.0.0-...-632c06c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelNumberFinder

type ChannelNumberFinder struct {
	LastAllocatedNumber   uint16
	DirectionIsDescending bool
	Mask                  uint16 //Max Channel Mask
	OutMask               uint16 //Channel Output Mask
	ChannelFinder         IsChannelExist
	// contains filtered or unexported fields
}

func NewChannelNumberFinder

func NewChannelNumberFinder(mask, outmask uint16, ChannelFinder IsChannelExist) *ChannelNumberFinder

func (*ChannelNumberFinder) FindNext

func (cnf *ChannelNumberFinder) FindNext() uint16

type IsChannelExist

type IsChannelExist interface {
	IsChannelUsed(uint16) bool
}

Jump to

Keyboard shortcuts

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