comparison Framework/Scene2DViewport/CreateLineMeasureTracker.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 28b9e3a54200
children ac88989817e3
comparison
equal deleted inserted replaced
817:68f888812af4 818:e42b491f1fb2
34 In turn, a container for these commands to store the actual measuring 34 In turn, a container for these commands to store the actual measuring
35 must be supplied, too 35 must be supplied, too
36 */ 36 */
37 CreateLineMeasureTracker( 37 CreateLineMeasureTracker(
38 MessageBroker& broker, 38 MessageBroker& broker,
39 ViewportControllerWPtr controllerW, 39 boost::weak_ptr<ViewportController> controllerW,
40 const PointerEvent& e); 40 const PointerEvent& e);
41 41
42 ~CreateLineMeasureTracker(); 42 ~CreateLineMeasureTracker();
43 43
44 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE; 44 virtual void PointerMove(const PointerEvent& e) ORTHANC_OVERRIDE;
45 virtual void PointerUp(const PointerEvent& e) ORTHANC_OVERRIDE; 45 virtual void PointerUp(const PointerEvent& e) ORTHANC_OVERRIDE;
46 virtual void PointerDown(const PointerEvent& e) ORTHANC_OVERRIDE; 46 virtual void PointerDown(const PointerEvent& e) ORTHANC_OVERRIDE;
47 47
48 private: 48 private:
49 CreateLineMeasureCommandPtr GetCommand(); 49 boost::shared_ptr<CreateLineMeasureCommand> GetCommand();
50 }; 50 };
51 } 51 }