view Resources/ImplementationNotes/JobsEngineStates.dot @ 3489:e7723a39adf8

Fixed alignment issue in Toolbox::DetectEndianness() + made the internal logger use an std::stringstream so that manipulators like "std::hex" are supported (when using ORTHANC_ENABLE_LOGGING_PLUGIN or ORTHANC_ENABLE_LOGGING_STDIO)
author Benjamin Golinvaux <bgo@osimis.io>
date Sat, 10 Aug 2019 13:40:08 +0200
parents 8da2cffc2378
children
line wrap: on
line source

// dot -Tpdf JobsEngineStates.dot -o JobsEngineStates.pdf

digraph G
{
  rankdir="LR";
  init [shape=point];
  failure, success [shape=doublecircle];

  // Internal transitions
  init -> pending;
  pending -> running;
  running -> success;
  running -> failure;
  running -> retry;
  retry -> pending [label="timeout"];

  // External actions
  failure -> pending  [label="Resubmit()" fontcolor="red"];
  paused -> pending  [label="Resume()" fontcolor="red"];
  pending -> paused  [label="Pause()" fontcolor="red"];
  retry -> paused  [label="Pause()" fontcolor="red"];
  running -> paused  [label="Pause()" fontcolor="red"];

  paused -> failure  [label="Cancel()" fontcolor="red"];
  pending -> failure  [label="Cancel()" fontcolor="red"];
  retry -> failure  [label="Cancel()" fontcolor="red"];
  running -> failure  [label="Cancel()" fontcolor="red"];
}