Represents a token running through a (sub)process.
More...
The Token class is used to represent tokens running through the execution flow of a (sub)process. The execution logic is documented in section Execution logic.
- Note
- All tokens can be WITHDRAWN at any time, e.g., when the respective state machine terminates.
-
It is assumed that XML::bpmn::tCompensateEventDefinition::waitForCompletion is
true.
-
It is assumed that XML::bpmn::tAdHocSubProcess::ordering is
Sequential.
Definition at line 35 of file Token.h.
#include <Token.h>
|
| enum class | State {
CREATED
, READY
, ENTERED
, BUSY
,
COMPLETED
, EXITING
, DEPARTED
, ARRIVED
,
WAITING
, DONE
, FAILED
, FAILING
,
WITHDRAWN
} |
| |
| enum class | Type {
Token
, Message
, SequentialPerformerUpdate
, Event
,
DataUpdate
, EntryRequest
, ChoiceRequest
, ExitRequest
,
MessageDeliveryRequest
, Count
} |
| |
|
| static std::string | stateName [] = { "CREATED", "READY", "ENTERED", "BUSY", "COMPLETED", "EXITING", "DEPARTED", "ARRIVED", "WAITING", "DONE", "FAILED", "FAILING", "WITHDRAWN" } |
| |
◆ State
| Enumerator |
|---|
| CREATED | |
| READY | |
| ENTERED | |
| BUSY | |
| COMPLETED | |
| EXITING | |
| DEPARTED | |
| ARRIVED | |
| WAITING | |
| DONE | |
| FAILED | |
| FAILING | |
| WITHDRAWN | |
Definition at line 48 of file Token.h.
◆ Token() [1/3]
◆ Token() [2/3]
| Token::Token |
( |
const Token * | other | ) |
|
◆ Token() [3/3]
| Token::Token |
( |
const std::vector< Token * > & | others | ) |
|
◆ ~Token()
◆ arrived()
| bool BPMNOS::Execution::Token::arrived |
( |
| ) |
const |
|
inline |
◆ busy()
| bool BPMNOS::Execution::Token::busy |
( |
| ) |
const |
|
inline |
◆ completed()
| bool BPMNOS::Execution::Token::completed |
( |
| ) |
const |
|
inline |
◆ done()
| bool BPMNOS::Execution::Token::done |
( |
| ) |
const |
|
inline |
◆ entered()
| bool BPMNOS::Execution::Token::entered |
( |
| ) |
const |
|
inline |
◆ failed()
| bool BPMNOS::Execution::Token::failed |
( |
| ) |
const |
|
inline |
◆ getAttributeRegistry()
◆ getObservableType()
| Type BPMNOS::Execution::Token::getObservableType |
( |
| ) |
const |
|
inlineconstexproverridevirtual |
◆ jsonify()
| nlohmann::ordered_json Token::jsonify |
( |
| ) |
const |
◆ ready()
| bool BPMNOS::Execution::Token::ready |
( |
| ) |
const |
|
inline |
◆ setStatus()
◆ waiting()
| bool BPMNOS::Execution::Token::waiting |
( |
| ) |
const |
|
inline |
◆ ConditionalEventObserver
◆ Engine
◆ StateMachine
◆ SystemState
◆ data
◆ decisionRequest
◆ globals
| Values& BPMNOS::Execution::Token::globals |
◆ node
◆ owned
| std::shared_ptr<StateMachine> BPMNOS::Execution::Token::owned |
◆ owner
◆ pendingSequentialEntries
| auto_list< std::weak_ptr<Token> > BPMNOS::Execution::Token::pendingSequentialEntries |
◆ performing
| Token* BPMNOS::Execution::Token::performing |
◆ sequenceFlow
◆ state
| State BPMNOS::Execution::Token::state |
◆ stateName
| std::string BPMNOS::Execution::Token::stateName[] = { "CREATED", "READY", "ENTERED", "BUSY", "COMPLETED", "EXITING", "DEPARTED", "ARRIVED", "WAITING", "DONE", "FAILED", "FAILING", "WITHDRAWN" } |
|
inlinestatic |
◆ status
| Values BPMNOS::Execution::Token::status |
The documentation for this class was generated from the following files: