Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/DicomMoveScuJob.h @ 4205:d962a2996637
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 17:58:19 +0200 |
parents | 05b8fd21089c |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4204:318c16cfccab | 4205:d962a2996637 |
---|---|
57 std::unique_ptr<DicomControlUserConnection> connection_; | 57 std::unique_ptr<DicomControlUserConnection> connection_; |
58 | 58 |
59 void Retrieve(const DicomMap& findAnswer); | 59 void Retrieve(const DicomMap& findAnswer); |
60 | 60 |
61 public: | 61 public: |
62 DicomMoveScuJob(ServerContext& context) : | 62 explicit DicomMoveScuJob(ServerContext& context) : |
63 context_(context), | 63 context_(context), |
64 query_(Json::arrayValue) | 64 query_(Json::arrayValue) |
65 { | 65 { |
66 } | 66 } |
67 | 67 |
89 return targetAet_; | 89 return targetAet_; |
90 } | 90 } |
91 | 91 |
92 void SetTargetAet(const std::string& aet); | 92 void SetTargetAet(const std::string& aet); |
93 | 93 |
94 virtual void Stop(JobStopReason reason); | 94 virtual void Stop(JobStopReason reason) ORTHANC_OVERRIDE; |
95 | 95 |
96 virtual void GetJobType(std::string& target) | 96 virtual void GetJobType(std::string& target) ORTHANC_OVERRIDE |
97 { | 97 { |
98 target = "DicomMoveScu"; | 98 target = "DicomMoveScu"; |
99 } | 99 } |
100 | 100 |
101 virtual void GetPublicContent(Json::Value& value); | 101 virtual void GetPublicContent(Json::Value& value) ORTHANC_OVERRIDE; |
102 | 102 |
103 virtual bool Serialize(Json::Value& target); | 103 virtual bool Serialize(Json::Value& target) ORTHANC_OVERRIDE; |
104 }; | 104 }; |
105 } | 105 } |