Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/MeasureTrackers.h @ 818:e42b491f1fb2
Removed typedefs to shared_ptr by making them explicit. Removed using namespace
directives to make usage more explicit, too.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 10:51:28 +0200 |
parents | 66ac7a2d1e3a |
children | c71ef52602a0 |
comparison
equal
deleted
inserted
replaced
817:68f888812af4 | 818:e42b491f1fb2 |
---|---|
35 { | 35 { |
36 public: | 36 public: |
37 virtual void Cancel() ORTHANC_OVERRIDE; | 37 virtual void Cancel() ORTHANC_OVERRIDE; |
38 virtual bool IsAlive() const ORTHANC_OVERRIDE; | 38 virtual bool IsAlive() const ORTHANC_OVERRIDE; |
39 protected: | 39 protected: |
40 CreateMeasureTracker(ViewportControllerWPtr controllerW); | 40 CreateMeasureTracker(boost::weak_ptr<ViewportController> controllerW); |
41 | 41 |
42 ~CreateMeasureTracker(); | 42 ~CreateMeasureTracker(); |
43 | 43 |
44 protected: | 44 protected: |
45 CreateMeasureCommandPtr command_; | 45 boost::shared_ptr<CreateMeasureCommand> command_; |
46 ViewportControllerWPtr controllerW_; | 46 boost::weak_ptr<ViewportController> controllerW_; |
47 bool alive_; | 47 bool alive_; |
48 Scene2DPtr GetScene(); | 48 boost::shared_ptr<Scene2D> GetScene(); |
49 | 49 |
50 private: | 50 private: |
51 bool commitResult_; | 51 bool commitResult_; |
52 }; | 52 }; |
53 } | 53 } |