Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesCurrentState = map[CurrentState]string{ CurrentStateINIT: "INIT", CurrentStateSTOP: "STOP", CurrentStateRUN: "RUN", CurrentStateERROR: "ERROR", CurrentStateSYSERROR: "SYSERROR", CurrentStateSHUTDOWN: "SHUTDOWN", CurrentStateWARNING: "WARNING", CurrentStateSERVICE: "SERVICE", CurrentStateSETUP: "SETUP", CurrentStatePARTIAL_OPERATING: "PARTIAL_OPERATING", CurrentStateOPERATING: "OPERATING", }
View Source
var EnumValuesCurrentState = map[string]CurrentState{ "INIT": CurrentStateINIT, "STOP": CurrentStateSTOP, "RUN": CurrentStateRUN, "ERROR": CurrentStateERROR, "SYSERROR": CurrentStateSYSERROR, "SHUTDOWN": CurrentStateSHUTDOWN, "WARNING": CurrentStateWARNING, "SERVICE": CurrentStateSERVICE, "SETUP": CurrentStateSETUP, "PARTIAL_OPERATING": CurrentStatePARTIAL_OPERATING, "OPERATING": CurrentStateOPERATING, }
Functions ¶
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)
Types ¶
type CurrentState ¶
type CurrentState int8
const ( CurrentStateINIT CurrentState = 0 CurrentStateSTOP CurrentState = 1 CurrentStateRUN CurrentState = 2 CurrentStateERROR CurrentState = 3 CurrentStateSYSERROR CurrentState = 4 CurrentStateSHUTDOWN CurrentState = 5 CurrentStateWARNING CurrentState = 6 CurrentStateSERVICE CurrentState = 7 CurrentStateSETUP CurrentState = 8 CurrentStatePARTIAL_OPERATING CurrentState = 9 CurrentStateOPERATING CurrentState = 10 )
func (CurrentState) String ¶
func (v CurrentState) String() string
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) MutateState ¶
func (rcv *State) MutateState(n CurrentState) bool
func (*State) State ¶
func (rcv *State) State() CurrentState
func (*State) Table ¶
func (rcv *State) Table() flatbuffers.Table
type StateT ¶ added in v1.1.0
type StateT struct {
State CurrentState
}
func (*StateT) Pack ¶ added in v1.1.0
func (t *StateT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Click to show internal directories.
Click to hide internal directories.