Mercurial > hg > orthanc-stone
diff Framework/Layers/ILayerSource.h @ 395:5f13809f3f76
rename ILayerSource::ImageReadyMessage to OrthancFrameLayerSource::FrameReadyMessage
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 10 Nov 2018 09:14:12 +0100 |
parents | 19bd222283ae |
children |
line wrap: on
line diff
--- a/Framework/Layers/ILayerSource.h Sat Nov 10 08:44:18 2018 +0100 +++ b/Framework/Layers/ILayerSource.h Sat Nov 10 09:14:12 2018 +0100 @@ -116,43 +116,6 @@ }; - // TODO: Rename "ImageReadyMessage" as "SliceReadyMessage" - class ImageReadyMessage : public OriginMessage<MessageType_LayerSource_ImageReady, ILayerSource> - { - private: - const Orthanc::ImageAccessor& image_; - SliceImageQuality imageQuality_; - const Slice& slice_; - - public: - ImageReadyMessage(ILayerSource& origin, - const Orthanc::ImageAccessor& image, - SliceImageQuality imageQuality, - const Slice& slice) : - OriginMessage(origin), - image_(image), - imageQuality_(imageQuality), - slice_(slice) - { - } - - const Orthanc::ImageAccessor& GetImage() const - { - return image_; - } - - SliceImageQuality GetImageQuality() const - { - return imageQuality_; - } - - const Slice& GetSlice() const - { - return slice_; - } - }; - - ILayerSource(MessageBroker& broker) : IObservable(broker) {