Stacker classes/interface/exceptions (FiFoStacker is not completed, will follow soon...
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 0b14dcbb66f1ab787f54b2bc69189a6487c96ec2..10b67239db4697fbe098c0e904462f7f92241f7f 100644 (file)
@@ -98,6 +98,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $imageInstance = null;
 
+       /**
+        * Instance of the stacker
+        */
+       private $stackerInstance = null;
+
        /**
         * The real class name
         */
@@ -1253,6 +1258,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        public final function getImageInstance () {
                return $this->imageInstance;
        }
+
+       /**
+        * Setter for stacker instanxe
+        *
+        * @param       $stackerInstance        An instance of an stacker
+        * @return      void
+        */
+       public final function setStackerInstance (Stackable $stackerInstance) {
+               $this->stackerInstance = $stackerInstance;
+       }
+
+       /**
+        * Getter for stacker instanxe
+        *
+        * @return      $stackerInstance        An instance of an stacker
+        */
+       public final function getStackerInstance () {
+               return $this->stackerInstance;
+       }
 }
 
 // [EOF]