]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/flipflop.hxx
Cleanup, no functional change
[flightgear.git] / src / Autopilot / flipflop.hxx
index dfdb38252d031c82033b2510f37aa9a3618800e9..343020e75adcc2215f0210f63524bc059f2cb29d 100644 (file)
@@ -36,8 +36,12 @@ protected:
   *        as childs under configNode and calls configure of the derived class for each child.
   * @param configNode the property node containing the configuration 
   */
-  virtual bool configure( const std::string & nodeName, SGPropertyNode_ptr configNode ) { return false; }
+  virtual bool configure( SGPropertyNode& cfg_node,
+                          const std::string& cfg_name,
+                          SGPropertyNode& prop_root )
+  { return false; }
 public:
+  virtual ~FlipFlopImplementation() {}
   /**
    * @brief evaluates the output state from the input lines
    * @param dt the elapsed time in seconds from since the last call
@@ -52,7 +56,8 @@ public:
   *        as childs under configNode and calls configure of the derived class for each child.
   * @param configNode the property node containing the configuration 
   */
-  bool configure( SGPropertyNode_ptr configNode );
+  bool configure( SGPropertyNode& prop_root,
+                  SGPropertyNode& cfg );
 };
 
 /**
@@ -68,7 +73,9 @@ protected:
      * @param aNode
      * @return true if the node was handled, false otherwise.
      */
-    virtual bool configure( const std::string & nodeName, SGPropertyNode_ptr configNode );
+    virtual bool configure( SGPropertyNode& cfg_node,
+                            const std::string& cfg_name,
+                            SGPropertyNode& prop_root );
 
    /** 
     * @brief Implementation of the pure virtual function of the Component class. Gets called from