Mercurial > hg > orthanc-stone
comparison Platforms/Generic/DelayedCallCommand.h @ 1308:adf234ecaa00 broker
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 10:21:54 +0100 |
parents | 257f2c9a02ac |
children |
comparison
equal
deleted
inserted
replaced
1307:8a28a9bf8876 | 1308:adf234ecaa00 |
---|---|
33 namespace Deprecated | 33 namespace Deprecated |
34 { | 34 { |
35 class DelayedCallCommand : public IOracleCommand, OrthancStone::IObservable | 35 class DelayedCallCommand : public IOracleCommand, OrthancStone::IObservable |
36 { | 36 { |
37 protected: | 37 protected: |
38 std::auto_ptr<MessageHandler<IDelayedCallExecutor::TimeoutMessage> > callback_; | 38 std::unique_ptr<MessageHandler<IDelayedCallExecutor::TimeoutMessage> > callback_; |
39 std::auto_ptr<Orthanc::IDynamicObject> payload_; | 39 std::unique_ptr<Orthanc::IDynamicObject> payload_; |
40 OrthancStone::NativeStoneApplicationContext& context_; | 40 OrthancStone::NativeStoneApplicationContext& context_; |
41 boost::posix_time::ptime expirationTimePoint_; | 41 boost::posix_time::ptime expirationTimePoint_; |
42 unsigned int timeoutInMs_; | 42 unsigned int timeoutInMs_; |
43 | 43 |
44 public: | 44 public: |