comparison 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
comparison
equal deleted inserted replaced
1134:87fbeb823375 1135:a0a33e5ea5bb
42 virtual Type GetType() const 42 virtual Type GetType() const
43 { 43 {
44 return Type_Sleep; 44 return Type_Sleep;
45 } 45 }
46 46
47 virtual IOracleCommand* Clone() const
48 {
49 return new SleepOracleCommand(milliseconds_);
50 }
51
47 unsigned int GetDelay() const 52 unsigned int GetDelay() const
48 { 53 {
49 return milliseconds_; 54 return milliseconds_;
50 } 55 }
51 }; 56 };