fbs

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesCurrentClass = map[CurrentClass]string{
	CurrentClassF0: "F0",
	CurrentClassF6: "F6",
}
View Source
var EnumNamesCurrentConfiguration = map[CurrentConfiguration]string{
	CurrentConfigurationCONTINUE: "CONTINUE",
	CurrentConfigurationDISABLE:  "DISABLE",
}
View Source
var EnumValuesCurrentClass = map[string]CurrentClass{
	"F0": CurrentClassF0,
	"F6": CurrentClassF6,
}
View Source
var EnumValuesCurrentConfiguration = map[string]CurrentConfiguration{
	"CONTINUE": CurrentConfigurationCONTINUE,
	"DISABLE":  CurrentConfigurationDISABLE,
}

Functions

func ClassAddType

func ClassAddType(builder *flatbuffers.Builder, type_ CurrentClass)

func ClassEnd

func ClassEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ClassStart

func ClassStart(builder *flatbuffers.Builder)

func ConfigurationAddType

func ConfigurationAddType(builder *flatbuffers.Builder, type_ CurrentConfiguration)

func ConfigurationEnd

func ConfigurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ConfigurationStart

func ConfigurationStart(builder *flatbuffers.Builder)

Types

type Class

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

func GetRootAsClass

func GetRootAsClass(buf []byte, offset flatbuffers.UOffsetT) *Class

func GetSizePrefixedRootAsClass

func GetSizePrefixedRootAsClass(buf []byte, offset flatbuffers.UOffsetT) *Class

func (*Class) Init

func (rcv *Class) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Class) MutateType

func (rcv *Class) MutateType(n CurrentClass) bool

/ Criticality of task watchdog error which cause a pre-defined error reaction

func (*Class) Table

func (rcv *Class) Table() flatbuffers.Table

func (*Class) Type

func (rcv *Class) Type() CurrentClass

/ Criticality of task watchdog error which cause a pre-defined error reaction

func (*Class) UnPack added in v1.1.0

func (rcv *Class) UnPack() *ClassT

func (*Class) UnPackTo added in v1.1.0

func (rcv *Class) UnPackTo(t *ClassT)

type ClassT added in v1.1.0

type ClassT struct {
	Type CurrentClass
}

/ Criticality of task watchdog error which cause a pre-defined error reaction

func (*ClassT) Pack added in v1.1.0

func (t *ClassT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Configuration

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

func GetRootAsConfiguration

func GetRootAsConfiguration(buf []byte, offset flatbuffers.UOffsetT) *Configuration

func GetSizePrefixedRootAsConfiguration

func GetSizePrefixedRootAsConfiguration(buf []byte, offset flatbuffers.UOffsetT) *Configuration

func (*Configuration) Init

func (rcv *Configuration) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Configuration) MutateType

func (rcv *Configuration) MutateType(n CurrentConfiguration) bool

/ Task behavior in case of a task watchdog occurs

func (*Configuration) Table

func (rcv *Configuration) Table() flatbuffers.Table

func (*Configuration) Type

func (rcv *Configuration) Type() CurrentConfiguration

/ Task behavior in case of a task watchdog occurs

func (*Configuration) UnPack added in v1.1.0

func (rcv *Configuration) UnPack() *ConfigurationT

func (*Configuration) UnPackTo added in v1.1.0

func (rcv *Configuration) UnPackTo(t *ConfigurationT)

type ConfigurationT added in v1.1.0

type ConfigurationT struct {
	Type CurrentConfiguration
}

/ Task behavior in case of a task watchdog occurs

func (*ConfigurationT) Pack added in v1.1.0

type CurrentClass

type CurrentClass int8

/ Criticality of task watchdog error which cause a pre-defined error reaction

const (
	/// Minor error without error reaction
	CurrentClassF0 CurrentClass = 0
	/// Serious error with error reaction
	CurrentClassF6 CurrentClass = 1
)

func (CurrentClass) String

func (v CurrentClass) String() string

type CurrentConfiguration

type CurrentConfiguration int8

/ Task behavior in case of a task watchdog occurs

const (
	/// The task is triggered even after the watchdog is triggered until the maximum number of consecutive errors is reached
	CurrentConfigurationCONTINUE CurrentConfiguration = 0
	/// The task is not triggered anymore after triggering the watchdog
	CurrentConfigurationDISABLE CurrentConfiguration = 1
)

func (CurrentConfiguration) String

func (v CurrentConfiguration) String() string

Jump to

Keyboard shortcuts

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