Pipeline : add the following method :
template < typename TWriterAdapter >
  void AddWriterFilter( std::string FileName ) ;

Now to write a mesh file using the OpenMesh writer adapter, simply do :
typedef Adapters::OpenMesh_WriterAdapter WriterAdapterType ;
  p.AddWriterFilter<WriterAdapterType>( "aircraft_smoothed.off" ) ;

or

p.AddWriterFilter<dapters::OpenMesh_WriterAdapter>( "aircraft_smoothed.off" ) ;