]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Parameters.cxx
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/cpPlugins
[cpPlugins.git] / lib / cpPlugins / Interface / Parameters.cxx
index b02168b43c60ad92be24bbdc6e03831a975a3474..af641e0e6f1dbb29dabbec35f217ab61d0c59d0e 100644 (file)
@@ -1,7 +1,32 @@
 #include <cpPlugins/Interface/Parameters.h>
+#include <cpPlugins/Interface/ProcessObject.h>
 
 #include <sstream>
 
+// -------------------------------------------------------------------------
+const cpPlugins::Interface::
+ProcessObject* cpPlugins::Interface::Parameters::
+GetProcessObject( ) const
+{
+  return( this->m_Process );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::Parameters::
+SetProcessObject( ProcessObject* v )
+{
+  this->m_Process = v;
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::Parameters::
+Modified( ) const
+{
+  this->Superclass::Modified( );
+  if( this->m_Process != NULL )
+    this->m_Process->Modified( );
+}
+
 // -------------------------------------------------------------------------
 void cpPlugins::Interface::Parameters::
 Clear( )
@@ -416,7 +441,8 @@ SetSelectedChoice( const TString& name, const TString& choice )
 // -------------------------------------------------------------------------
 cpPlugins::Interface::Parameters::
 Parameters( )
-  : Superclass( )
+  : Superclass( ),
+    m_Process( NULL )
 {
   this->Clear( );
 }