]> Creatis software - bbtk.git/commitdiff
Fix typo
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 20 Feb 2008 16:05:38 +0000 (16:05 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 20 Feb 2008 16:05:38 +0000 (16:05 +0000)
kernel/src/bbtkAny.h
kernel/src/bbtkAtomicBlackBox.h
kernel/src/bbtkBlackBox.cxx
kernel/src/bbtkBlackBox.h
kernel/src/bbtkConnection.h

index 45ed57640f596d4d61d605ee232ae84fb5a89a1c..d5ae85f10b91756ad6b1e3dfb6b8c2222012d776 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAny.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 15:02:00 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/20 16:05:38 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -113,18 +113,18 @@ namespace bbtk
   class anyholder<ValueType*> : public anyplaceholder
   {
   public: // structors
-    
+
     anyholder(ValueType* const & value)
       : held(value)
     { }
-    
+
   public: // queries
-    
+
     virtual const std::type_info & type() const
     {
       return typeid(ValueType*);
     }
-    
+
     virtual bool is_pointer() const { return true; }
     virtual const std::type_info & pointed_type() const { return typeid(ValueType); }
     virtual void* get_pointer() const { 
@@ -136,11 +136,11 @@ namespace bbtk
     }
 
     virtual anyplaceholder * clone() const { return new anyholder(held); }
-    
+
   public: // representation
-    
+
     ValueType* held;
-    
+
   };
   //=========================================================
 
@@ -174,13 +174,13 @@ namespace bbtk
   public:
     typedef any< TypeTraits > self;
     // structors
-  
+
     /// Default constructor
     any()
       : content(0)
     {
     }
-  
+
     /// Constructor with a value of template type
     template<typename ValueType>
     any(const ValueType & value)
@@ -223,7 +223,7 @@ namespace bbtk
     {
       delete content;
     }
-  
+
 
     /// Swaps the content of this with another any
     any & swap(any & rhs)
index a0102bb31a98d411aed104571d12f72ed39daac5..4422063beb4717db2932c9313e2ee85fee76b2c4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAtomicBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/02/07 11:06:37 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/20 16:05:38 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -82,7 +82,7 @@ namespace bbtk
     ///
     /// First checks that re-processing is needed (either Status==MODIFIED or InputProcessMode==Always)
     /// then : 
-    /// - updates its inputs by calling bbUpdateInputs (which recursively calls bbBackwardUpdate on amont boxes)
+    /// - updates its inputs by calling bbUpdateInputs (which recursively calls bbBackwardUpdate on upstream boxes)
     /// - calls bbProcess which here simply calls the user callback bbUserProcess which does the actual processing. 
     ///    bbProcess is overloaded in WxBlackBox to handle widget creation and show
     IOStatus bbBackwardUpdate(Connection* caller);
index 1c980b724347e203b128f68531361b2f0ec09f6d..7955ccfc4ab4a0b1b77f13ae4246c6675c870d3c 100644 (file)
@@ -3,8 +3,8 @@
 Program:   bbtk
 Module:    $RCSfile: bbtkBlackBox.cxx,v $
 Language:  C++
-Date:      $Date: 2008/02/18 10:41:02 $
-Version:   $Revision: 1.4 $
+Date:      $Date: 2008/02/20 16:05:38 $
+Version:   $Revision: 1.5 $
                                                                                 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
 l'Image). All rights reserved. See doc/license.txt or
@@ -465,10 +465,10 @@ namespace bbtk
       }
   if (reaction) bbGlobalProcessExecutionList();
 
-    bbtkDebugMessageDec("Process",5,
-                       "<= BlackBox::bbSignalOutputModification("
-                       <<output<<") ["
-                       <<bbGetFullName()<<"]"<<std::endl);
+  bbtkDebugMessageDec("Process",5,
+                      "<= BlackBox::bbSignalOutputModification("
+                      <<output<<") ["
+                      <<bbGetFullName()<<"]"<<std::endl);
 
   }  
   //=========================================================================   
@@ -520,7 +520,7 @@ namespace bbtk
                        <<std::endl);   
 
     IOStatus s = UPTODATE;
-    
+
     InputConnectorMapType::iterator i;
     for ( i = bbGetInputConnectorMap().begin(); 
          i!= bbGetInputConnectorMap().end(); ++i) 
index 1c809634ca804e83c65fb75ad934a48115a03c2d..abe50e062a42c5c6a59e45fc63ef5a6ffb3f914f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 15:02:00 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/20 16:05:38 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -286,7 +286,7 @@ bool reaction = true);
     ///
     /// First checks that re-processing is needed (either Status==MODIFIED or InputProcessMode==Always)
     /// then : 
-    /// - updates its inputs by calling bbUpdateInputs (which recursively calls bbBackwardUpdate on amont boxes)
+    /// - updates its inputs by calling bbUpdateInputs (which recursively calls bbBackwardUpdate on upstream boxes)
     /// - calls bbCreateWidget
     /// - calls bbProcess which is the user callback which does the actual processing
     /// - calls bbUpdateChildren
@@ -312,12 +312,12 @@ bool reaction = true);
     //==================================================================
     /// Updates the BlackBox inputs and returns the final status of the inputs 
     /// (==UPTODATE iff all inputs are UPTODATE)  
-    // If excludeParent == true then excludes the amont box connected to input 'Parent' from recursive update
+    // If excludeParent == true then excludes the upstream box connected to input 'Parent' from recursive update
     IOStatus bbUpdateInputs(bool excludeParent=false);
     //==================================================================
 
     //==================================================================
-    /// Updates the pipeline in amont-aval direction along the "Child"-"Parent" connections only.
+    /// Updates the pipeline in upstream-downstream direction along the "Child"-"Parent" connections only.
     /// Does nothing here. Overloaded in WxContainerBlackbox
     //virtual void bbUpdateChildren( Connection* caller ) { }
     //==================================================================
index 09a5d7f0bf3f7589459823d28b15911ef77c834b..4a7996844034dea487967bf1664fa49849fc9b6d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConnection.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/22 15:02:00 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/20 16:05:38 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -41,16 +41,11 @@ namespace bbtk
   const int UPTODATE = 1;
   /// 
   const int UPDATING = 2;
-
-
 
   class BlackBox;
   class BlackBoxInputConnector;
   class BlackBoxOutputConnector;
 
-
-
   class BBTK_EXPORT Connection
   {
   public:
@@ -61,16 +56,15 @@ namespace bbtk
     ~Connection();
 
     /// Amont direction pipeline processing
-    /// 1) call bbBackwardUpdate(this) on the amont box
-    /// 2) copies the amont box output to the aval box input adapting it if needed
+    /// 1) call bbBackwardUpdate(this) on the upstream box
+    /// 2) copies the upstream box output to the downstream box input adapting it if needed
     virtual IOStatus BackwardUpdate();
 
     /// Aval direction pipeline processing :
-    /// 1) copies the amont box output to the aval box input adapting it if needed
-    /// 2) call bbForwardUpdate(this) on the aval box
+    /// 1) copies the upstream box output to the downstream box input adapting it if needed
+    /// 2) call bbForwardUpdate(this) on the downstream box
     //    virtual void ForwardUpdate();
 
-
     virtual void SetModifiedStatus();
     std::string GetFullName() const; 
 
@@ -83,8 +77,6 @@ namespace bbtk
     /// Returns the input of the final black box of the connection
     const std::string& GetBlackBoxToInput() const { return mInput; }
 
-    
-
   protected:
     /// Black box origin of the connection
     BlackBox* mFrom;
@@ -111,7 +103,6 @@ namespace bbtk
     /// Have to do dynamic_cast ?
     bool mDoDynamicCast;
 
-  
     /// Ctor with the black box from and to and their input and output
     /// and a dummy int to differentiate from the public constructor.
     /// Sets the members but does not test compatibility (used by bbtk::AdaptiveConnection)
@@ -121,10 +112,7 @@ namespace bbtk
     void TransferData(); 
   };
 
-
 }// namespace bbtk
 
-
-
 #endif