QScxmlInvokableService¶
The
QScxmlInvokableService
class is the base class for services called from state machines. More…

Synopsis¶
Functions¶
def
parentStateMachine
()
Detailed Description¶
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.
-
class
QScxmlInvokableService
(parentStateMachine, parent)¶ - Parameters
parent –
QScxmlInvokableServiceFactory
parentStateMachine –
QScxmlStateMachine
-
PySide2.QtScxml.QScxmlInvokableService.
id
()¶ - Return type
unicode
-
PySide2.QtScxml.QScxmlInvokableService.
name
()¶ - Return type
unicode
-
PySide2.QtScxml.QScxmlInvokableService.
parentStateMachine
()¶ - Return type
-
PySide2.QtScxml.QScxmlInvokableService.
postEvent
(event)¶ - Parameters
event –
QScxmlEvent
Sends an
event
to the service.
-
PySide2.QtScxml.QScxmlInvokableService.
start
()¶ - Return type
bool
Starts the invokable service. Returns
true
on success, orfalse
if the invocation fails.