Mercurial > hg > orthanc-stone
diff Framework/Oracle/SleepOracleCommand.h @ 1135:a0a33e5ea5bb broker
IOracleCommand::Clone()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Nov 2019 17:34:58 +0100 |
parents | 8e3763d1736a |
children | 0ca50d275b9a |
line wrap: on
line diff
--- a/Framework/Oracle/SleepOracleCommand.h Wed Nov 06 15:16:45 2019 +0100 +++ b/Framework/Oracle/SleepOracleCommand.h Wed Nov 06 17:34:58 2019 +0100 @@ -44,6 +44,11 @@ return Type_Sleep; } + virtual IOracleCommand* Clone() const + { + return new SleepOracleCommand(milliseconds_); + } + unsigned int GetDelay() const { return milliseconds_;