#include <cpPlugins/Interface/Parameters.h>
+#include <cpPlugins/Interface/ProcessObject.h>
#include <sstream>
+// -------------------------------------------------------------------------
+cpPlugins::Interface::
+ProcessObject* cpPlugins::Interface::Parameters::
+GetProcessObject( )
+{
+ return( this->m_Process );
+}
+
+// -------------------------------------------------------------------------
+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( )
void cpPlugins::Interface::Parameters::
ConfigureAsString( const TString& name, const TString& v )
{
- this->m_Parameters[ name ] = TParameter( Self::String, TValues( v, v ) );
+ this->m_Parameters[ name ] =
+ TParameter( Self::String, TValues( v, v ) );
this->Modified( );
}
cpPlugins_Parameters_List_Configure( Real );
cpPlugins_Parameters_List_Configure( Index );
cpPlugins_Parameters_List_Configure( Point );
+cpPlugins_Parameters_List_Configure( Vector );
// -------------------------------------------------------------------------
void cpPlugins::Interface::Parameters::
cpPlugins_Parameters_Has( Real );
cpPlugins_Parameters_Has( Index );
cpPlugins_Parameters_Has( Point );
+cpPlugins_Parameters_Has( Vector );
cpPlugins_Parameters_Has( StringList );
cpPlugins_Parameters_Has( BoolList );
cpPlugins_Parameters_Has( IntList );
cpPlugins_Parameters_Has( RealList );
cpPlugins_Parameters_Has( IndexList );
cpPlugins_Parameters_Has( PointList );
+cpPlugins_Parameters_Has( VectorList );
cpPlugins_Parameters_Has( Choices );
// -------------------------------------------------------------------------
cpPlugins_Parameters_Clear( Real );
cpPlugins_Parameters_Clear( Index );
cpPlugins_Parameters_Clear( Point );
+cpPlugins_Parameters_Clear( Vector );
// -------------------------------------------------------------------------
bool cpPlugins::Interface::Parameters::
// -------------------------------------------------------------------------
cpPlugins::Interface::Parameters::
Parameters( )
- : Superclass( )
+ : Superclass( ),
+ m_Process( NULL )
{
this->Clear( );
}