fbs2

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 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

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

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

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

func CallableTimeoutsAddEnd

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

func CallableTimeoutsAddExecute

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

func CallableTimeoutsEnd

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

func CallableTimeoutsStart

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

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

func StateSwitchingInfoAddInitial

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

func StateSwitchingInfoAddTarget

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

func StateSwitchingInfoEnd

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

func StateSwitchingInfoStart

func StateSwitchingInfoStart(builder *flatbuffers.Builder)

func UtilizationThresholdAddError

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

func UtilizationThresholdAddWarning

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

func UtilizationThresholdEnd

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

func UtilizationThresholdStart

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

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

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                                `json:"startupState"`
	StartupTimeout           uint32                                      `json:"startupTimeout"`
	StartupErrorReaction     common__scheduler__fbs.CurrentErrorReaction `json:"startupErrorReaction"`
	TriggerSource            common__scheduler__fbs.CurrentTrigger       `json:"triggerSource"`
	ControlDebug             *common__scheduler__controls__fbs.ControlsT `json:"controlDebug"`
	CpuInfo                  *CpuInfoT                                   `json:"cpuInfo"`
	HardwareWatchdogRequired bool                                        `json:"hardwareWatchdogRequired"`
	WatchdogDefaultValue     common__scheduler__fbs.CallableWdgConfig    `json:"watchdogDefaultValue"`
	Utilization              *UtilizationThresholdT                      `json:"utilization"`
	CallableTimeouts         *CallableTimeoutsT                          `json:"callableTimeouts"`
}

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

func (*AdminT) Pack

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

type CallableTimeouts

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

func GetRootAsCallableTimeouts

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

func GetSizePrefixedRootAsCallableTimeouts

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

func (*CallableTimeouts) Begin

func (rcv *CallableTimeouts) Begin() uint32

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

func (*CallableTimeouts) End

func (rcv *CallableTimeouts) End() uint32

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

func (*CallableTimeouts) Execute

func (rcv *CallableTimeouts) Execute() uint32

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

func (*CallableTimeouts) Init

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

func (*CallableTimeouts) MutateBegin

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

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

func (*CallableTimeouts) MutateEnd

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

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

func (*CallableTimeouts) MutateExecute

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

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

func (*CallableTimeouts) Table

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

func (*CallableTimeouts) UnPack

func (rcv *CallableTimeouts) UnPack() *CallableTimeoutsT

func (*CallableTimeouts) UnPackTo

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

type CallableTimeoutsT

type CallableTimeoutsT struct {
	Begin   uint32 `json:"begin"`
	Execute uint32 `json:"execute"`
	End     uint32 `json:"end"`
}

/ General settings for timeouts when switching callable operation states

func (*CallableTimeoutsT) Pack

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 `json:"cpuCoresTotal"`
	CpuCoresActive            []uint32 `json:"cpuCoresActive"`
	CpuCoresRealtime          []uint32 `json:"cpuCoresRealtime"`
	CpuCoresNonRealtime       []uint32 `json:"cpuCoresNonRealtime"`
	CpuCoreRealtimeMax        int32    `json:"cpuCoreRealtimeMax"`
	CpuCoreRealtimeMin        int32    `json:"cpuCoreRealtimeMin"`
	CpuCoreRealtimeDefault    int32    `json:"cpuCoreRealtimeDefault"`
	CpuCoreNonRealtimeMax     int32    `json:"cpuCoreNonRealtimeMax"`
	CpuCoreNonRealtimeMin     int32    `json:"cpuCoreNonRealtimeMin"`
	CpuCoreNonRealtimeDefault int32    `json:"cpuCoreNonRealtimeDefault"`
	VariationId               string   `json:"variationId"`
	CpuCoreHwWdg              uint32   `json:"cpuCoreHwWdg"`
	CpuCorePtpTimer           uint32   `json:"cpuCorePtpTimer"`
	CpuCoreScheduler          uint32   `json:"cpuCoreScheduler"`
	CpuCoreAutomation         uint32   `json:"cpuCoreAutomation"`
}

/ 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               `json:"task"`
	Callables []*common__scheduler__fbs.CallableT         `json:"callables"`
	Watchdog  *common__scheduler__watchdog__fbs.WatchdogT `json:"watchdog"`
	Sequence  []string                                    `json:"sequence"`
}

/ 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 `json:"programs"`
	CallablePool []string    `json:"callablePool"`
}

/ 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

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

func GetRootAsStateSwitchingInfo

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

func GetSizePrefixedRootAsStateSwitchingInfo

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

func (*StateSwitchingInfo) Current

func (rcv *StateSwitchingInfo) Current() CurrentState

/ Current operation state of Scheduler

func (*StateSwitchingInfo) Init

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

func (*StateSwitchingInfo) Initial

func (rcv *StateSwitchingInfo) Initial() CurrentState

/ Initial operation state of Scheduler at the beginning of switching

func (*StateSwitchingInfo) MutateCurrent

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

/ Current operation state of Scheduler

func (*StateSwitchingInfo) MutateInitial

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

/ Initial operation state of Scheduler at the beginning of switching

func (*StateSwitchingInfo) MutateTarget

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

/ Target operation state of Scheduler

func (*StateSwitchingInfo) Table

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

func (*StateSwitchingInfo) Target

func (rcv *StateSwitchingInfo) Target() CurrentState

/ Target operation state of Scheduler

func (*StateSwitchingInfo) UnPack

func (rcv *StateSwitchingInfo) UnPack() *StateSwitchingInfoT

func (*StateSwitchingInfo) UnPackTo

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

type StateSwitchingInfoT

type StateSwitchingInfoT struct {
	Initial CurrentState `json:"initial"`
	Current CurrentState `json:"current"`
	Target  CurrentState `json:"target"`
}

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

func (*StateSwitchingInfoT) Pack

type StateT

type StateT struct {
	State CurrentState `json:"state"`
}

/ Type selector of operation state

func (*StateT) Pack

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

type UtilizationThreshold

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

func GetRootAsUtilizationThreshold

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

func GetSizePrefixedRootAsUtilizationThreshold

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

func (*UtilizationThreshold) Error

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

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

func (*UtilizationThreshold) MutateError

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

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

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

func (*UtilizationThreshold) UnPack

func (*UtilizationThreshold) UnPackTo

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

func (*UtilizationThreshold) Warning

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

type UtilizationThresholdT struct {
	Warning byte `json:"warning"`
	Error   byte `json:"error"`
}

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

func (*UtilizationThresholdT) Pack

Jump to

Keyboard shortcuts

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