1 #ifndef __CPPLUGINS__INTERFACE__PROCESSOBJECT__H__
2 #define __CPPLUGINS__INTERFACE__PROCESSOBJECT__H__
6 #include <cpPlugins/Interface/Object.h>
20 typedef ProcessObject Self;
21 typedef Object Superclass;
23 typedef std::pair< std::string, std::string > TParameter;
24 typedef std::map< std::string, TParameter > TParameters;
28 virtual ~ProcessObject( );
30 virtual std::string GetClassName( ) const;
31 virtual const TParameters& GetDefaultParameters( ) const;
32 virtual void SetParameters( const TParameters& params );
34 virtual unsigned int GetNumberOfInputs( ) const;
35 virtual unsigned int GetNumberOfOutputs( ) const;
37 virtual void SetInput( unsigned int idx, const DataObject* dobj );
38 virtual DataObject* GetOutput( unsigned int idx ) const;
40 virtual std::string Update( );
43 virtual std::string _GenerateData( ) = 0;
46 TParameters m_DefaultParameters;
47 TParameters m_Parameters;
49 std::vector< const DataObject* > m_Inputs;
50 std::vector< DataObject* > m_Outputs;
57 #endif // __CPPLUGINS__INTERFACE__PROCESSOBJECT__H__