Mercurial > hg > orthanc-stone
comparison Framework/Layers/LayerSourceBase.h @ 77:f5f54ed8d307 wasm
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 24 May 2017 21:13:29 +0200 |
parents | 298f375dcb68 |
children | 02c3a7a4938f |
comparison
equal
deleted
inserted
replaced
76:0aef120d7e1c | 77:f5f54ed8d307 |
---|---|
37 return started_; | 37 return started_; |
38 } | 38 } |
39 | 39 |
40 void NotifyGeometryReady(); | 40 void NotifyGeometryReady(); |
41 | 41 |
42 void NotifyGeometryError(); | |
43 | |
42 void NotifySourceChange(); | 44 void NotifySourceChange(); |
43 | 45 |
44 void NotifySliceChange(const SliceGeometry& slice); | 46 void NotifySliceChange(const Slice& slice); |
45 | 47 |
46 // Takes ownership of "layer" (that cannot be "NULL") | 48 // Takes ownership of "layer" (that cannot be "NULL") |
47 void NotifyLayerReady(ILayerRenderer* layer, | 49 void NotifyLayerReady(ILayerRenderer* layer, |
48 const SliceGeometry& viewportSlice); | 50 const Slice& slice); |
49 | 51 |
50 void NotifyLayerError(const SliceGeometry& viewportSlice); | 52 void NotifyLayerError(const SliceGeometry& slice); |
51 | 53 |
52 virtual void StartInternal() = 0; | 54 virtual void StartInternal() = 0; |
53 | 55 |
54 public: | 56 public: |
55 LayerSourceBase() : | 57 LayerSourceBase() : |