spinal
.
lib
.
fsm
StateMachine
Related Doc:
package fsm
class
StateMachine
extends
Area
with
StateMachineAccessor
with
ScalaLocated
Linear Supertypes
StateMachineAccessor
,
Area
,
ScalaLocated
,
ContextUser
,
GlobalDataUser
,
Nameable
,
OwnableRef
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
StateMachine
StateMachineAccessor
Area
ScalaLocated
ContextUser
GlobalDataUser
Nameable
OwnableRef
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
StateMachine
()
Type Members
abstract
type
RefOwnerType
Definition Classes
OwnableRef
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
add
(
stateMachine:
StateMachineAccessor
)
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
add
(
state:
State
)
:
Int
Definition Classes
StateMachine
→
StateMachineAccessor
def
always
(
doThat: ⇒
Unit
)
:
StateMachine
.this.type
val
alwaysTasks
:
ArrayBuffer
[() ⇒
Unit
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
autoStart
:
Boolean
def
build
()
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
val
cache
:
HashMap
[
Any
,
Any
]
def
cacheGet
(
key:
Any
)
:
Option
[
Any
]
Definition Classes
StateMachine
→
StateMachineAccessor
def
cacheGetOrElseUpdate
(
key:
Any
,
op: ⇒
Any
)
:
Any
Definition Classes
StateMachineAccessor
def
cachePut
(
key:
Any
,
value:
Any
)
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
checkState
(
state:
State
)
:
Unit
val
childStateMachines
:
Set
[
StateMachineAccessor
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
component
:
Component
Definition Classes
ContextUser
def
disableAutoStart
()
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
var
entryState
:
State
val
enumDefinition
:
StateMachineEnum
def
enumOf
(
state:
State
)
:
SpinalEnumElement
[
enumDefinition
.type]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
exitFsm
()
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
forEachNameables
(
doThat: (
Any
) ⇒
Unit
)
:
Unit
Definition Classes
Nameable
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getDisplayName
()
:
String
Definition Classes
Nameable
def
getEntry
()
:
State
Definition Classes
StateMachine
→
StateMachineAccessor
def
getInstanceCounter
:
Int
Definition Classes
ContextUser
def
getName
(
default:
String
)
:
String
Definition Classes
Nameable
def
getName
()
:
String
Definition Classes
Nameable
def
getRefOwnersChain
()
:
List
[
Any
]
Definition Classes
OwnableRef
def
getScalaLocationLong
:
String
Definition Classes
ScalaLocated
def
getScalaLocationShort
:
String
Definition Classes
ScalaLocated
val
globalData
:
GlobalData
Definition Classes
GlobalDataUser
def
goto
(
state:
State
)
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
implicit
val
implicitFsm
:
StateMachine
var
inGeneration
:
Boolean
def
isActive
(
state:
State
)
:
Bool
Definition Classes
StateMachine
→
StateMachineAccessor
def
isEntering
(
state:
State
)
:
Bool
Definition Classes
StateMachine
→
StateMachineAccessor
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isNamed
:
Boolean
Definition Classes
Nameable
def
isStateNextBoot
()
:
Bool
Definition Classes
StateMachine
→
StateMachineAccessor
def
isStateRegBoot
()
:
Bool
Definition Classes
StateMachine
→
StateMachineAccessor
def
isUnnamed
:
Boolean
Definition Classes
Nameable
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
parentStateMachine
:
StateMachineAccessor
val
postBuildTasks
:
ArrayBuffer
[() ⇒
Unit
]
var
refOwner
:
RefOwnerType
Definition Classes
OwnableRef
def
reflectNames
()
:
Unit
Definition Classes
Area
def
setCompositeName
(
nameable:
Nameable
,
postfix:
String
,
weak:
Boolean
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setCompositeName
(
nameable:
Nameable
,
postfix:
String
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setCompositeName
(
nameable:
Nameable
,
weak:
Boolean
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setCompositeName
(
nameable:
Nameable
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setEncoding
(
encoding:
SpinalEnumEncoding
)
:
Unit
def
setEntry
(
state:
State
)
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
setName
(
name:
String
,
weak:
Boolean
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setParentStateMachine
(
parent:
StateMachineAccessor
)
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
def
setPartialName
(
name:
String
,
weak:
Boolean
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setPartialName
(
owner:
Nameable
,
name:
String
,
weak:
Boolean
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setPartialName
(
name:
String
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setPartialName
(
owner:
Nameable
,
name:
String
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
setRefOwner
(
that:
Any
)
:
Unit
Definition Classes
OwnableRef
def
setWeakName
(
name:
String
)
:
StateMachine
.this.type
Definition Classes
Nameable
def
startFsm
()
:
Unit
Definition Classes
StateMachine
→
StateMachineAccessor
var
stateBoot
:
State
var
stateNext
:
StateMachineEnum.C
var
stateReg
:
StateMachineEnum.C
val
stateToEnumElement
:
HashMap
[
State
,
SpinalEnumElement
[
enumDefinition
.type]]
val
states
:
ArrayBuffer
[
State
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
Area → Nameable → AnyRef → Any
def
unsetName
()
:
Unit
Definition Classes
Nameable
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
wantExit
:
Bool
Definition Classes
StateMachine
→
StateMachineAccessor
Inherited from
StateMachineAccessor
Inherited from
Area
Inherited from
ScalaLocated
Inherited from
ContextUser
Inherited from
GlobalDataUser
Inherited from
Nameable
Inherited from
OwnableRef
Inherited from
AnyRef
Inherited from
Any
Ungrouped