QScxmlInvokableServiceclass is the base class for services called from state machines. 更多 …
The services are called from state machines via the mechanism described in SCXML Specification - 6.4 . This class represents an actual instance of an invoked service.
QScxmlInvokableService
(
parentStateMachine
,
parent
)
¶
parent
–
QScxmlInvokableServiceFactory
parentStateMachine
–
QScxmlStateMachine
PySide2.QtScxml.QScxmlInvokableService.
id
(
)
¶
unicode
PySide2.QtScxml.QScxmlInvokableService.
name
(
)
¶
unicode
PySide2.QtScxml.QScxmlInvokableService.
parentStateMachine
(
)
¶
PySide2.QtScxml.QScxmlInvokableService.
postEvent
(
event
)
¶
event
–
QScxmlEvent
Sends an
event
to the service.
PySide2.QtScxml.QScxmlInvokableService.
start
(
)
¶
bool
Starts the invokable service. Returns
true
on success, or
false
if the invocation fails.