]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/ProcessObject.hxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.hxx
1 #ifndef __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
2 #define __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
3
4 // -------------------------------------------------------------------------
5 template< class O >
6 void cpPlugins::Interface::ProcessObject::
7 _MakeOutput( unsigned int idx )
8 {
9   if( idx >= this->m_Outputs.size( ) )
10     return;
11   this->m_Outputs[ idx ] = O::New( );
12   this->m_Outputs[ idx ]->SetSource( this );
13 }
14
15 #endif // __CPPLUGINS__INTERFACE__PROCESSOBJECT__HXX__
16
17 // eof - $RCSfile$