fbs2

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesCurrentState = map[CurrentState]string{
	CurrentStateOPERATING: "OPERATING",
	CurrentStateSETUP:     "SETUP",
	CurrentStateSERVICE:   "SERVICE",
	CurrentStateEXIT:      "EXIT",
}
View Source
var EnumValuesCurrentState = map[string]CurrentState{
	"OPERATING": CurrentStateOPERATING,
	"SETUP":     CurrentStateSETUP,
	"SERVICE":   CurrentStateSERVICE,
	"EXIT":      CurrentStateEXIT,
}

Functions

func AdminAddCallableTimeouts added in v1.2.0

func AdminAddCallableTimeouts(builder *flatbuffers.Builder, callableTimeouts flatbuffers.UOffsetT)

func AdminAddControlDebug

func AdminAddControlDebug(builder *flatbuffers.Builder, controlDebug flatbuffers.UOffsetT)

func AdminAddControlDebugType

func AdminAddControlDebugType(builder *flatbuffers.Builder, controlDebugType common__scheduler__controls__fbs.Controls)

func AdminAddCpuInfo

func AdminAddCpuInfo(builder *flatbuffers.Builder, cpuInfo flatbuffers.UOffsetT)

func AdminAddHardwareWatchdogRequired

func AdminAddHardwareWatchdogRequired(builder *flatbuffers.Builder, hardwareWatchdogRequired bool)

func AdminAddStartupErrorReaction

func AdminAddStartupErrorReaction(builder *flatbuffers.Builder, startupErrorReaction common__scheduler__fbs.CurrentErrorReaction)

func AdminAddStartupState

func AdminAddStartupState(builder *flatbuffers.Builder, startupState CurrentState)

func AdminAddStartupTimeout

func AdminAddStartupTimeout(builder *flatbuffers.Builder, startupTimeout uint32)

func AdminAddTriggerSource

func AdminAddTriggerSource(builder *flatbuffers.Builder, triggerSource common__scheduler__fbs.CurrentTrigger)

func AdminAddUtilization added in v1.2.0

func AdminAddUtilization(builder *flatbuffers.Builder, utilization flatbuffers.UOffsetT)

func AdminAddWatchdogDefaultValue

func AdminAddWatchdogDefaultValue(builder *flatbuffers.Builder, watchdogDefaultValue common__scheduler__fbs.CallableWdgConfig)

func AdminEnd

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

func AdminStart

func AdminStart(builder *flatbuffers.Builder)

/ General settings for timeouts when switching callable operation states

func CallableTimeoutsAddBegin added in v1.2.0

func CallableTimeoutsAddBegin(builder *flatbuffers.Builder, begin uint32)

func CallableTimeoutsAddEnd added in v1.2.0

func CallableTimeoutsAddEnd(builder *flatbuffers.Builder, end uint32)

func CallableTimeoutsAddExecute added in v1.2.0

func CallableTimeoutsAddExecute(builder *flatbuffers.Builder, execute uint32)

func CallableTimeoutsEnd added in v1.2.0

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

func CallableTimeoutsStart added in v1.2.0

func CallableTimeoutsStart(builder *flatbuffers.Builder)

func CpuInfoAddCpuCoreAutomation

func CpuInfoAddCpuCoreAutomation(builder *flatbuffers.Builder, cpuCoreAutomation uint32)

func CpuInfoAddCpuCoreHwWdg

func CpuInfoAddCpuCoreHwWdg(builder *flatbuffers.Builder, cpuCoreHwWdg uint32)

func CpuInfoAddCpuCoreNonRealtimeDefault

func CpuInfoAddCpuCoreNonRealtimeDefault(builder *flatbuffers.Builder, cpuCoreNonRealtimeDefault int32)

func CpuInfoAddCpuCoreNonRealtimeMax

func CpuInfoAddCpuCoreNonRealtimeMax(builder *flatbuffers.Builder, cpuCoreNonRealtimeMax int32)

func CpuInfoAddCpuCoreNonRealtimeMin

func CpuInfoAddCpuCoreNonRealtimeMin(builder *flatbuffers.Builder, cpuCoreNonRealtimeMin int32)

func CpuInfoAddCpuCorePtpTimer

func CpuInfoAddCpuCorePtpTimer(builder *flatbuffers.Builder, cpuCorePtpTimer uint32)

func CpuInfoAddCpuCoreRealtimeDefault

func CpuInfoAddCpuCoreRealtimeDefault(builder *flatbuffers.Builder, cpuCoreRealtimeDefault int32)

func CpuInfoAddCpuCoreRealtimeMax

func CpuInfoAddCpuCoreRealtimeMax(builder *flatbuffers.Builder, cpuCoreRealtimeMax int32)

func CpuInfoAddCpuCoreRealtimeMin

func CpuInfoAddCpuCoreRealtimeMin(builder *flatbuffers.Builder, cpuCoreRealtimeMin int32)

func CpuInfoAddCpuCoreScheduler

func CpuInfoAddCpuCoreScheduler(builder *flatbuffers.Builder, cpuCoreScheduler uint32)

func CpuInfoAddCpuCoresActive

func CpuInfoAddCpuCoresActive(builder *flatbuffers.Builder, cpuCoresActive flatbuffers.UOffsetT)

func CpuInfoAddCpuCoresNonRealtime

func CpuInfoAddCpuCoresNonRealtime(builder *flatbuffers.Builder, cpuCoresNonRealtime flatbuffers.UOffsetT)

func CpuInfoAddCpuCoresRealtime

func CpuInfoAddCpuCoresRealtime(builder *flatbuffers.Builder, cpuCoresRealtime flatbuffers.UOffsetT)

func CpuInfoAddCpuCoresTotal

func CpuInfoAddCpuCoresTotal(builder *flatbuffers.Builder, cpuCoresTotal flatbuffers.UOffsetT)

func CpuInfoAddVariationId

func CpuInfoAddVariationId(builder *flatbuffers.Builder, variationId flatbuffers.UOffsetT)

func CpuInfoEnd

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

func CpuInfoStart

func CpuInfoStart(builder *flatbuffers.Builder)

func CpuInfoStartCpuCoresActiveVector

func CpuInfoStartCpuCoresActiveVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CpuInfoStartCpuCoresNonRealtimeVector

func CpuInfoStartCpuCoresNonRealtimeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CpuInfoStartCpuCoresRealtimeVector

func CpuInfoStartCpuCoresRealtimeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CpuInfoStartCpuCoresTotalVector

func CpuInfoStartCpuCoresTotalVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ProgramAddCallables

func ProgramAddCallables(builder *flatbuffers.Builder, callables flatbuffers.UOffsetT)

func ProgramAddSequence

func ProgramAddSequence(builder *flatbuffers.Builder, sequence flatbuffers.UOffsetT)

func ProgramAddTask

func ProgramAddTask(builder *flatbuffers.Builder, task flatbuffers.UOffsetT)

func ProgramAddWatchdog

func ProgramAddWatchdog(builder *flatbuffers.Builder, watchdog flatbuffers.UOffsetT)

func ProgramEnd

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

func ProgramStart

func ProgramStart(builder *flatbuffers.Builder)

/ Call sequence of callables within the program [0-9]+

func ProgramStartCallablesVector

func ProgramStartCallablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ProgramStartSequenceVector

func ProgramStartSequenceVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ProgramsAddCallablePool

func ProgramsAddCallablePool(builder *flatbuffers.Builder, callablePool flatbuffers.UOffsetT)

func ProgramsAddPrograms

func ProgramsAddPrograms(builder *flatbuffers.Builder, programs flatbuffers.UOffsetT)

func ProgramsEnd

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

func ProgramsStart

func ProgramsStart(builder *flatbuffers.Builder)

/ Collection of available callables factories provided by installed apps

func ProgramsStartCallablePoolVector

func ProgramsStartCallablePoolVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ProgramsStartProgramsVector

func ProgramsStartProgramsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func StateAddState

func StateAddState(builder *flatbuffers.Builder, state CurrentState)

func StateEnd

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

func StateStart

func StateStart(builder *flatbuffers.Builder)

func StateSwitchingInfoAddCurrent added in v1.2.0

func StateSwitchingInfoAddCurrent(builder *flatbuffers.Builder, current CurrentState)

func StateSwitchingInfoAddInitial added in v1.2.0

func StateSwitchingInfoAddInitial(builder *flatbuffers.Builder, initial CurrentState)

func StateSwitchingInfoAddTarget added in v1.2.0

func StateSwitchingInfoAddTarget(builder *flatbuffers.Builder, target CurrentState)

func StateSwitchingInfoEnd added in v1.2.0

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

func StateSwitchingInfoStart added in v1.2.0

func StateSwitchingInfoStart(builder *flatbuffers.Builder)

func UtilizationThresholdAddError added in v1.2.0

func UtilizationThresholdAddError(builder *flatbuffers.Builder, error byte)

func UtilizationThresholdAddWarning added in v1.2.0

func UtilizationThresholdAddWarning(builder *flatbuffers.Builder, warning byte)

func UtilizationThresholdEnd added in v1.2.0

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

func UtilizationThresholdStart added in v1.2.0

func UtilizationThresholdStart(builder *flatbuffers.Builder)

Types

type Admin

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

func GetRootAsAdmin

func GetRootAsAdmin(buf []byte, offset flatbuffers.UOffsetT) *Admin

func GetSizePrefixedRootAsAdmin

func GetSizePrefixedRootAsAdmin(buf []byte, offset flatbuffers.UOffsetT) *Admin

func (*Admin) CallableTimeouts added in v1.2.0

func (rcv *Admin) CallableTimeouts(obj *CallableTimeouts) *CallableTimeouts

/ Utilization of the cycle time of Scheduler tick task causes by itself / General settings for timeouts when switching callable operation states

func (*Admin) ControlDebug

func (rcv *Admin) ControlDebug(obj *flatbuffers.Table) bool

/ Indication whether the DEBUG mode is active and hardware watchdog and task watchdogs are disabled

func (*Admin) ControlDebugType

func (rcv *Admin) ControlDebugType() common__scheduler__controls__fbs.Controls

func (*Admin) CpuInfo

func (rcv *Admin) CpuInfo(obj *CpuInfo) *CpuInfo

/ Indication whether the DEBUG mode is active and hardware watchdog and task watchdogs are disabled / Information about CPU cores of ctrlX CORE

func (*Admin) HardwareWatchdogRequired

func (rcv *Admin) HardwareWatchdogRequired() bool

/ Information about CPU cores of ctrlX CORE / Indication whether switching to the SERVICE state is required for managing apps

func (*Admin) Init

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

func (*Admin) MutateControlDebugType

func (rcv *Admin) MutateControlDebugType(n common__scheduler__controls__fbs.Controls) bool

func (*Admin) MutateHardwareWatchdogRequired

func (rcv *Admin) MutateHardwareWatchdogRequired(n bool) bool

/ Indication whether switching to the SERVICE state is required for managing apps

func (*Admin) MutateStartupErrorReaction

func (rcv *Admin) MutateStartupErrorReaction(n common__scheduler__fbs.CurrentErrorReaction) bool

/ Error reaction in case of not all configured components are available

func (*Admin) MutateStartupState

func (rcv *Admin) MutateStartupState(n CurrentState) bool

/ Target operation state of Scheduler after power on ctrlX CORE

func (*Admin) MutateStartupTimeout

func (rcv *Admin) MutateStartupTimeout(n uint32) bool

/ Timeout for waiting for missing components before carry on switching to target operation state

func (*Admin) MutateTriggerSource

func (rcv *Admin) MutateTriggerSource(n common__scheduler__fbs.CurrentTrigger) bool

/ Trigger source of Scheduler task tick

func (*Admin) MutateWatchdogDefaultValue

func (rcv *Admin) MutateWatchdogDefaultValue(n common__scheduler__fbs.CallableWdgConfig) bool

/ Default behavior of task and hardware watchdog handling when no requirements are given by other

func (*Admin) StartupErrorReaction

func (rcv *Admin) StartupErrorReaction() common__scheduler__fbs.CurrentErrorReaction

/ Error reaction in case of not all configured components are available

func (*Admin) StartupState

func (rcv *Admin) StartupState() CurrentState

/ Target operation state of Scheduler after power on ctrlX CORE

func (*Admin) StartupTimeout

func (rcv *Admin) StartupTimeout() uint32

/ Timeout for waiting for missing components before carry on switching to target operation state

func (*Admin) Table

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

func (*Admin) TriggerSource

func (rcv *Admin) TriggerSource() common__scheduler__fbs.CurrentTrigger

/ Trigger source of Scheduler task tick

func (*Admin) UnPack

func (rcv *Admin) UnPack() *AdminT

func (*Admin) UnPackTo

func (rcv *Admin) UnPackTo(t *AdminT)

func (*Admin) Utilization added in v1.2.0

func (rcv *Admin) Utilization(obj *UtilizationThreshold) *UtilizationThreshold

/ Utilization of the cycle time of Scheduler tick task causes by itself

func (*Admin) WatchdogDefaultValue

func (rcv *Admin) WatchdogDefaultValue() common__scheduler__fbs.CallableWdgConfig

/ Default behavior of task and hardware watchdog handling when no requirements are given by other

type AdminT

type AdminT struct {
	StartupState             CurrentState
	StartupTimeout           uint32
	StartupErrorReaction     common__scheduler__fbs.CurrentErrorReaction
	TriggerSource            common__scheduler__fbs.CurrentTrigger
	ControlDebug             *common__scheduler__controls__fbs.ControlsT
	CpuInfo                  *CpuInfoT
	HardwareWatchdogRequired bool
	WatchdogDefaultValue     common__scheduler__fbs.CallableWdgConfig
	Utilization              *UtilizationThresholdT
	CallableTimeouts         *CallableTimeoutsT
}

/ General settings of Scheduler, startup behavior, callables, tasks and timing

func (*AdminT) Pack

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

type CallableTimeouts added in v1.2.0

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

func GetRootAsCallableTimeouts added in v1.2.0

func GetRootAsCallableTimeouts(buf []byte, offset flatbuffers.UOffsetT) *CallableTimeouts

func GetSizePrefixedRootAsCallableTimeouts added in v1.2.0

func GetSizePrefixedRootAsCallableTimeouts(buf []byte, offset flatbuffers.UOffsetT) *CallableTimeouts

func (*CallableTimeouts) Begin added in v1.2.0

func (rcv *CallableTimeouts) Begin() uint32

/ General settings for timeouts when switching callable operation states - phase BEGIN

func (*CallableTimeouts) End added in v1.2.0

func (rcv *CallableTimeouts) End() uint32

/ General settings for timeouts when switching callable operation states - phase END

func (*CallableTimeouts) Execute added in v1.2.0

func (rcv *CallableTimeouts) Execute() uint32

/ General settings for timeouts when switching callable operation states - phase EXECUTE

func (*CallableTimeouts) Init added in v1.2.0

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

func (*CallableTimeouts) MutateBegin added in v1.2.0

func (rcv *CallableTimeouts) MutateBegin(n uint32) bool

/ General settings for timeouts when switching callable operation states - phase BEGIN

func (*CallableTimeouts) MutateEnd added in v1.2.0

func (rcv *CallableTimeouts) MutateEnd(n uint32) bool

/ General settings for timeouts when switching callable operation states - phase END

func (*CallableTimeouts) MutateExecute added in v1.2.0

func (rcv *CallableTimeouts) MutateExecute(n uint32) bool

/ General settings for timeouts when switching callable operation states - phase EXECUTE

func (*CallableTimeouts) Table added in v1.2.0

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

func (*CallableTimeouts) UnPack added in v1.2.0

func (rcv *CallableTimeouts) UnPack() *CallableTimeoutsT

func (*CallableTimeouts) UnPackTo added in v1.2.0

func (rcv *CallableTimeouts) UnPackTo(t *CallableTimeoutsT)

type CallableTimeoutsT added in v1.2.0

type CallableTimeoutsT struct {
	Begin   uint32
	Execute uint32
	End     uint32
}

/ General settings for timeouts when switching callable operation states

func (*CallableTimeoutsT) Pack added in v1.2.0

type CpuInfo

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

func GetRootAsCpuInfo

func GetRootAsCpuInfo(buf []byte, offset flatbuffers.UOffsetT) *CpuInfo

func GetSizePrefixedRootAsCpuInfo

func GetSizePrefixedRootAsCpuInfo(buf []byte, offset flatbuffers.UOffsetT) *CpuInfo

func (*CpuInfo) CpuCoreAutomation

func (rcv *CpuInfo) CpuCoreAutomation() uint32

/ Identification index of the CPU core on which the user task 'ctrlXAutomation' is executed by default

func (*CpuInfo) CpuCoreHwWdg

func (rcv *CpuInfo) CpuCoreHwWdg() uint32

/ Variation ID to manage special handling of CPU type / Identification index of the CPU core on which the hardware watchdog is handled

func (*CpuInfo) CpuCoreNonRealtimeDefault

func (rcv *CpuInfo) CpuCoreNonRealtimeDefault() int32

/ Identification index of the CPU core assigned to non real-time processing by default

func (*CpuInfo) CpuCoreNonRealtimeMax

func (rcv *CpuInfo) CpuCoreNonRealtimeMax() int32

/ Highest available identification index of the CPU core for non real-time processing

func (*CpuInfo) CpuCoreNonRealtimeMin

func (rcv *CpuInfo) CpuCoreNonRealtimeMin() int32

/ Lowest available identification index of the CPU core for non real-time processing

func (*CpuInfo) CpuCorePtpTimer

func (rcv *CpuInfo) CpuCorePtpTimer() uint32

/ Identification index of the CPU core on which the FPGA interrupt is handled

func (*CpuInfo) CpuCoreRealtimeDefault

func (rcv *CpuInfo) CpuCoreRealtimeDefault() int32

/ Identification index of the CPU core assigned to real-time processing by default

func (*CpuInfo) CpuCoreRealtimeMax

func (rcv *CpuInfo) CpuCoreRealtimeMax() int32

/ Highest available identification index of the CPU core for real-time processing

func (*CpuInfo) CpuCoreRealtimeMin

func (rcv *CpuInfo) CpuCoreRealtimeMin() int32

/ Lowest available identification index of the CPU core for real-time processing

func (*CpuInfo) CpuCoreScheduler

func (rcv *CpuInfo) CpuCoreScheduler() uint32

/ Identification index of the CPU core on which the Scheduler tick task is executed

func (*CpuInfo) CpuCoresActive

func (rcv *CpuInfo) CpuCoresActive(j int) uint32

/ Identification indices of all available active CPU cores

func (*CpuInfo) CpuCoresActiveLength

func (rcv *CpuInfo) CpuCoresActiveLength() int

func (*CpuInfo) CpuCoresNonRealtime

func (rcv *CpuInfo) CpuCoresNonRealtime(j int) uint32

/ Identification indices of the available CPU cores assigned to non real-time processing

func (*CpuInfo) CpuCoresNonRealtimeLength

func (rcv *CpuInfo) CpuCoresNonRealtimeLength() int

func (*CpuInfo) CpuCoresRealtime

func (rcv *CpuInfo) CpuCoresRealtime(j int) uint32

/ Identification indices of the available CPU cores assigned to real-time processing

func (*CpuInfo) CpuCoresRealtimeLength

func (rcv *CpuInfo) CpuCoresRealtimeLength() int

func (*CpuInfo) CpuCoresTotal

func (rcv *CpuInfo) CpuCoresTotal(j int) uint32

/ Identification indices of all available CPU cores

func (*CpuInfo) CpuCoresTotalLength

func (rcv *CpuInfo) CpuCoresTotalLength() int

func (*CpuInfo) Init

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

func (*CpuInfo) MutateCpuCoreAutomation

func (rcv *CpuInfo) MutateCpuCoreAutomation(n uint32) bool

/ Identification index of the CPU core on which the user task 'ctrlXAutomation' is executed by default

func (*CpuInfo) MutateCpuCoreHwWdg

func (rcv *CpuInfo) MutateCpuCoreHwWdg(n uint32) bool

/ Identification index of the CPU core on which the hardware watchdog is handled

func (*CpuInfo) MutateCpuCoreNonRealtimeDefault

func (rcv *CpuInfo) MutateCpuCoreNonRealtimeDefault(n int32) bool

/ Identification index of the CPU core assigned to non real-time processing by default

func (*CpuInfo) MutateCpuCoreNonRealtimeMax

func (rcv *CpuInfo) MutateCpuCoreNonRealtimeMax(n int32) bool

/ Highest available identification index of the CPU core for non real-time processing

func (*CpuInfo) MutateCpuCoreNonRealtimeMin

func (rcv *CpuInfo) MutateCpuCoreNonRealtimeMin(n int32) bool

/ Lowest available identification index of the CPU core for non real-time processing

func (*CpuInfo) MutateCpuCorePtpTimer

func (rcv *CpuInfo) MutateCpuCorePtpTimer(n uint32) bool

/ Identification index of the CPU core on which the FPGA interrupt is handled

func (*CpuInfo) MutateCpuCoreRealtimeDefault

func (rcv *CpuInfo) MutateCpuCoreRealtimeDefault(n int32) bool

/ Identification index of the CPU core assigned to real-time processing by default

func (*CpuInfo) MutateCpuCoreRealtimeMax

func (rcv *CpuInfo) MutateCpuCoreRealtimeMax(n int32) bool

/ Highest available identification index of the CPU core for real-time processing

func (*CpuInfo) MutateCpuCoreRealtimeMin

func (rcv *CpuInfo) MutateCpuCoreRealtimeMin(n int32) bool

/ Lowest available identification index of the CPU core for real-time processing

func (*CpuInfo) MutateCpuCoreScheduler

func (rcv *CpuInfo) MutateCpuCoreScheduler(n uint32) bool

/ Identification index of the CPU core on which the Scheduler tick task is executed

func (*CpuInfo) MutateCpuCoresActive

func (rcv *CpuInfo) MutateCpuCoresActive(j int, n uint32) bool

/ Identification indices of all available active CPU cores

func (*CpuInfo) MutateCpuCoresNonRealtime

func (rcv *CpuInfo) MutateCpuCoresNonRealtime(j int, n uint32) bool

/ Identification indices of the available CPU cores assigned to non real-time processing

func (*CpuInfo) MutateCpuCoresRealtime

func (rcv *CpuInfo) MutateCpuCoresRealtime(j int, n uint32) bool

/ Identification indices of the available CPU cores assigned to real-time processing

func (*CpuInfo) MutateCpuCoresTotal

func (rcv *CpuInfo) MutateCpuCoresTotal(j int, n uint32) bool

/ Identification indices of all available CPU cores

func (*CpuInfo) Table

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

func (*CpuInfo) UnPack

func (rcv *CpuInfo) UnPack() *CpuInfoT

func (*CpuInfo) UnPackTo

func (rcv *CpuInfo) UnPackTo(t *CpuInfoT)

func (*CpuInfo) VariationId

func (rcv *CpuInfo) VariationId() []byte

/ Variation ID to manage special handling of CPU type

type CpuInfoT

type CpuInfoT struct {
	CpuCoresTotal             []uint32
	CpuCoresActive            []uint32
	CpuCoresRealtime          []uint32
	CpuCoresNonRealtime       []uint32
	CpuCoreRealtimeMax        int32
	CpuCoreRealtimeMin        int32
	CpuCoreRealtimeDefault    int32
	CpuCoreNonRealtimeMax     int32
	CpuCoreNonRealtimeMin     int32
	CpuCoreNonRealtimeDefault int32
	VariationId               string
	CpuCoreHwWdg              uint32
	CpuCorePtpTimer           uint32
	CpuCoreScheduler          uint32
	CpuCoreAutomation         uint32
}

/ Information about CPU cores of ctrlX CORE

func (*CpuInfoT) Pack

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

type CurrentState

type CurrentState int8

/ Types of operation state

const (
	/// User tasks and callables will executed, changes to the configuration might not be permitted, action with influence on the real-time behavior (like app installation) are not allowed
	CurrentStateOPERATING CurrentState = 0
	/// User tasks and callables will executed, changes to the configuration are permitted, action with influence on the real-time behavior (like app installation) are not allowed
	CurrentStateSETUP CurrentState = 1
	/// User tasks and callables are not executed, action with influence on the real-time behavior can be performed
	CurrentStateSERVICE CurrentState = 2
	/// Termination of task is pending
	CurrentStateEXIT CurrentState = 3
)

func (CurrentState) String

func (v CurrentState) String() string

type Program

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

func GetRootAsProgram

func GetRootAsProgram(buf []byte, offset flatbuffers.UOffsetT) *Program

func GetSizePrefixedRootAsProgram

func GetSizePrefixedRootAsProgram(buf []byte, offset flatbuffers.UOffsetT) *Program

func (*Program) Callables

func (rcv *Program) Callables(obj *common__scheduler__fbs.Callable, j int) bool

/ Task configuration which executes the program / Composition of callables, executes jobs defined by regarding apps

func (*Program) CallablesLength

func (rcv *Program) CallablesLength() int

func (*Program) Init

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

func (*Program) Sequence

func (rcv *Program) Sequence(j int) []byte

/ Configuration of task watchdog / Call sequence of callables within the program [0-9]+

func (*Program) SequenceLength

func (rcv *Program) SequenceLength() int

func (*Program) Table

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

func (*Program) Task

/ Task configuration which executes the program

func (*Program) UnPack

func (rcv *Program) UnPack() *ProgramT

func (*Program) UnPackTo

func (rcv *Program) UnPackTo(t *ProgramT)

func (*Program) Watchdog

/ Composition of callables, executes jobs defined by regarding apps / Configuration of task watchdog

type ProgramT

type ProgramT struct {
	Task      *common__scheduler__fbs.TaskT
	Callables []*common__scheduler__fbs.CallableT
	Watchdog  *common__scheduler__watchdog__fbs.WatchdogT
	Sequence  []string
}

/ Composition of callables executed by the task in given sequence

func (*ProgramT) Pack

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

type Programs

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

func GetRootAsPrograms

func GetRootAsPrograms(buf []byte, offset flatbuffers.UOffsetT) *Programs

func GetSizePrefixedRootAsPrograms

func GetSizePrefixedRootAsPrograms(buf []byte, offset flatbuffers.UOffsetT) *Programs

func (*Programs) CallablePool

func (rcv *Programs) CallablePool(j int) []byte

/ Composition of programs / Collection of available callables factories provided by installed apps

func (*Programs) CallablePoolLength

func (rcv *Programs) CallablePoolLength() int

func (*Programs) Init

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

func (*Programs) Programs

func (rcv *Programs) Programs(obj *Program, j int) bool

/ Composition of programs

func (*Programs) ProgramsLength

func (rcv *Programs) ProgramsLength() int

func (*Programs) Table

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

func (*Programs) UnPack

func (rcv *Programs) UnPack() *ProgramsT

func (*Programs) UnPackTo

func (rcv *Programs) UnPackTo(t *ProgramsT)

type ProgramsT

type ProgramsT struct {
	Programs     []*ProgramT
	CallablePool []string
}

/ Composition of programs and available callables factories

func (*ProgramsT) Pack

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

type State

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

func GetRootAsState

func GetRootAsState(buf []byte, offset flatbuffers.UOffsetT) *State

func GetSizePrefixedRootAsState

func GetSizePrefixedRootAsState(buf []byte, offset flatbuffers.UOffsetT) *State

func (*State) Init

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

func (*State) MutateState

func (rcv *State) MutateState(n CurrentState) bool

/ Type selector of operation state

func (*State) State

func (rcv *State) State() CurrentState

/ Type selector of operation state

func (*State) Table

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

func (*State) UnPack

func (rcv *State) UnPack() *StateT

func (*State) UnPackTo

func (rcv *State) UnPackTo(t *StateT)

type StateSwitchingInfo added in v1.2.0

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

func GetRootAsStateSwitchingInfo added in v1.2.0

func GetRootAsStateSwitchingInfo(buf []byte, offset flatbuffers.UOffsetT) *StateSwitchingInfo

func GetSizePrefixedRootAsStateSwitchingInfo added in v1.2.0

func GetSizePrefixedRootAsStateSwitchingInfo(buf []byte, offset flatbuffers.UOffsetT) *StateSwitchingInfo

func (*StateSwitchingInfo) Current added in v1.2.0

func (rcv *StateSwitchingInfo) Current() CurrentState

/ Current operation state of Scheduler

func (*StateSwitchingInfo) Init added in v1.2.0

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

func (*StateSwitchingInfo) Initial added in v1.2.0

func (rcv *StateSwitchingInfo) Initial() CurrentState

/ Initial operation state of Scheduler at the beginning of switching

func (*StateSwitchingInfo) MutateCurrent added in v1.2.0

func (rcv *StateSwitchingInfo) MutateCurrent(n CurrentState) bool

/ Current operation state of Scheduler

func (*StateSwitchingInfo) MutateInitial added in v1.2.0

func (rcv *StateSwitchingInfo) MutateInitial(n CurrentState) bool

/ Initial operation state of Scheduler at the beginning of switching

func (*StateSwitchingInfo) MutateTarget added in v1.2.0

func (rcv *StateSwitchingInfo) MutateTarget(n CurrentState) bool

/ Target operation state of Scheduler

func (*StateSwitchingInfo) Table added in v1.2.0

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

func (*StateSwitchingInfo) Target added in v1.2.0

func (rcv *StateSwitchingInfo) Target() CurrentState

/ Target operation state of Scheduler

func (*StateSwitchingInfo) UnPack added in v1.2.0

func (rcv *StateSwitchingInfo) UnPack() *StateSwitchingInfoT

func (*StateSwitchingInfo) UnPackTo added in v1.2.0

func (rcv *StateSwitchingInfo) UnPackTo(t *StateSwitchingInfoT)

type StateSwitchingInfoT added in v1.2.0

type StateSwitchingInfoT struct {
	Initial CurrentState
	Current CurrentState
	Target  CurrentState
}

/ Switching progress (initial / current / target) of Scheduler operation state

func (*StateSwitchingInfoT) Pack added in v1.2.0

type StateT

type StateT struct {
	State CurrentState
}

/ Type selector of operation state

func (*StateT) Pack

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

type UtilizationThreshold added in v1.2.0

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

func GetRootAsUtilizationThreshold added in v1.2.0

func GetRootAsUtilizationThreshold(buf []byte, offset flatbuffers.UOffsetT) *UtilizationThreshold

func GetSizePrefixedRootAsUtilizationThreshold added in v1.2.0

func GetSizePrefixedRootAsUtilizationThreshold(buf []byte, offset flatbuffers.UOffsetT) *UtilizationThreshold

func (*UtilizationThreshold) Error added in v1.2.0

func (rcv *UtilizationThreshold) Error() byte

/ Threshold of utilization of the cycle time of Scheduler tick task causes by itself for reporting an error

func (*UtilizationThreshold) Init added in v1.2.0

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

func (*UtilizationThreshold) MutateError added in v1.2.0

func (rcv *UtilizationThreshold) MutateError(n byte) bool

/ Threshold of utilization of the cycle time of Scheduler tick task causes by itself for reporting an error

func (*UtilizationThreshold) MutateWarning added in v1.2.0

func (rcv *UtilizationThreshold) MutateWarning(n byte) bool

/ Threshold of utilization of the cycle time of Scheduler tick task causes by itself for reporting a warning

func (*UtilizationThreshold) Table added in v1.2.0

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

func (*UtilizationThreshold) UnPack added in v1.2.0

func (*UtilizationThreshold) UnPackTo added in v1.2.0

func (rcv *UtilizationThreshold) UnPackTo(t *UtilizationThresholdT)

func (*UtilizationThreshold) Warning added in v1.2.0

func (rcv *UtilizationThreshold) Warning() byte

/ Threshold of utilization of the cycle time of Scheduler tick task causes by itself for reporting a warning

type UtilizationThresholdT added in v1.2.0

type UtilizationThresholdT struct {
	Warning byte
	Error   byte
}

/ Utilization of the cycle time of Scheduler tick task causes by itself

func (*UtilizationThresholdT) Pack added in v1.2.0

Jump to

Keyboard shortcuts

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