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

removing CustomOracleCommand
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Nov 2019 22:39:25 +0100
parents 81b29bc7c3d4
children 87fbeb823375
comparison
equal deleted inserted replaced
1127:3308ef083297 1128:8e3763d1736a
41 { 41 {
42 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); 42 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented);
43 } 43 }
44 44
45 45
46 void LoaderStateMachine::Schedule(OracleCommandWithPayload* command) 46 void LoaderStateMachine::Schedule(OracleCommandBase* command)
47 { 47 {
48 LOG(TRACE) << "LoaderStateMachine(" << std::hex << this << std::dec << ")::Schedule()"; 48 LOG(TRACE) << "LoaderStateMachine(" << std::hex << this << std::dec << ")::Schedule()";
49 49
50 std::auto_ptr<OracleCommandWithPayload> protection(command); 50 std::auto_ptr<OracleCommandBase> protection(command);
51 51
52 if (command == NULL) 52 if (command == NULL)
53 { 53 {
54 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); 54 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer);
55 } 55 }