comparison Framework/Loaders/LoaderStateMachine.h @ 1128:8e3763d1736a broker

removing CustomOracleCommand
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Nov 2019 22:39:25 +0100
parents af4b9cba905f
children
comparison
equal deleted inserted replaced
1127:3308ef083297 1128:8e3763d1736a
58 State(const State& currentState) : 58 State(const State& currentState) :
59 that_(currentState.that_) 59 that_(currentState.that_)
60 { 60 {
61 } 61 }
62 62
63 void Schedule(OracleCommandWithPayload* command) const 63 void Schedule(OracleCommandBase* command) const
64 { 64 {
65 that_.Schedule(command); 65 that_.Schedule(command);
66 } 66 }
67 67
68 template <typename T> 68 template <typename T>
76 virtual void Handle(const GetOrthancImageCommand::SuccessMessage& message); 76 virtual void Handle(const GetOrthancImageCommand::SuccessMessage& message);
77 77
78 virtual void Handle(const GetOrthancWebViewerJpegCommand::SuccessMessage& message); 78 virtual void Handle(const GetOrthancWebViewerJpegCommand::SuccessMessage& message);
79 }; 79 };
80 80
81 void Schedule(OracleCommandWithPayload* command); 81 void Schedule(OracleCommandBase* command);
82 82
83 void Start(); 83 void Start();
84 84
85 private: 85 private:
86 void Step(); 86 void Step();