QScxmlInvokableService露

The QScxmlInvokableService class is the base class for services called from state machines. More鈥�

Inheritance diagram of PySide2.QtScxml.QScxmlInvokableService

Synopsis露

Functions露

Virtual functions露

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 PySide2.QtScxml.QScxmlInvokableService(parentStateMachine, parent)露
Parameters:
PySide2.QtScxml.QScxmlInvokableService.id()露
Return type:

str

This property holds The ID of the invokable service..

The ID is specified by the id attribute of the <invoke> element.

PySide2.QtScxml.QScxmlInvokableService.name()露
Return type:

str

This property holds The name of the service being invoked..

PySide2.QtScxml.QScxmlInvokableService.parentStateMachine()露
Return type:

PySide2.QtScxml.QScxmlStateMachine

This property holds The SCXML state machine that invoked the service..

PySide2.QtScxml.QScxmlInvokableService.postEvent(event)露
Parameters:

event 鈥� PySide2.QtScxml.QScxmlEvent

Sends an event to the service.

PySide2.QtScxml.QScxmlInvokableService.start()露
Return type:

bool

Starts the invokable service. Returns true on success, or false if the invocation fails.