diff Framework/Layers/LayerSourceBase.h @ 86:02c3a7a4938f wasm

removing of the Start() mechanism
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 May 2017 13:42:50 +0200
parents f5f54ed8d307
children 4a541cd4fa83
line wrap: on
line diff
--- a/Framework/Layers/LayerSourceBase.h	Fri May 26 12:20:26 2017 +0200
+++ b/Framework/Layers/LayerSourceBase.h	Fri May 26 13:42:50 2017 +0200
@@ -29,14 +29,8 @@
   {
   private:
     IObserver*  observer_;
-    bool        started_;
 
   protected:
-    bool IsStarted()
-    {
-      return started_;
-    }
-
     void NotifyGeometryReady();
     
     void NotifyGeometryError();
@@ -51,17 +45,12 @@
     
     void NotifyLayerError(const SliceGeometry& slice);
 
-    virtual void StartInternal() = 0;
-
   public:
     LayerSourceBase() :
-      observer_(NULL),
-      started_(false)
+      observer_(NULL)
     {
     }
     
     virtual void SetObserver(IObserver& observer);
-
-    virtual void Start();
   };
 }