Mercurial > hg > orthanc-stone
view Applications/Samples/StoneSampleCommands.yml @ 973:38409549db43 toa2019082903
Log with addresses + added fingerprint mechanism to avoid calling zombie objects
where:
- a message is sent with a receiver
- the receiver dies
- another receiver with the SAME address is created
- the message reply is executed --> execution on the wrong object!
(since their "identity" is their address. The fix is to identify them with
an UUID stored at creation time)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Thu, 29 Aug 2019 18:07:55 +0200 |
parents | b1377625e4ba |
children |
line wrap: on
line source
# # 1 2 3 4 5 6 7 8 # 345678901234567890123456789012345678901234567890123456789012345678901234567890 # rootName: StoneSampleCommands # +---------------------------------+ # | Messages from TypeScript to C++ | # +---------------------------------+ enum Tool: - LineMeasure - CircleMeasure - Crop - Windowing - Zoom - Pan - Move - Rotate - Resize - Mask struct SelectTool: __handler: cpp tool: Tool enum ActionType: - UndoCrop - Rotate - Invert struct Action: __handler: cpp type: ActionType