diff OrthancStone/Sources/Oracle/IOracleCommand.h @ 1831:a03260db8835

Added SetCallerName to IOracleCommand to ease debugging and logging
author Benjamin Golinvaux <bgo@osimis.io>
date Thu, 03 Jun 2021 09:14:07 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
line wrap: on
line diff
--- a/OrthancStone/Sources/Oracle/IOracleCommand.h	Sat May 29 11:14:20 2021 +0200
+++ b/OrthancStone/Sources/Oracle/IOracleCommand.h	Thu Jun 03 09:14:07 2021 +0200
@@ -47,6 +47,8 @@
 
     virtual Type GetType() const = 0;
 
+    virtual std::string GetCallerName() const = 0;
+
     // This only clones the command, *not* its possibly associated payload
     virtual IOracleCommand* Clone() const = 0;
   };