peoSeqTransform.h

00001 // "peoSeqTransform.h"
00002 
00003 // (c) OPAC Team, LIFL, August 2005
00004 
00005 /* 
00006    Contact: paradiseo-help@lists.gforge.inria.fr
00007 */
00008 
00009 #ifndef __peoSeqTransform_h
00010 #define __peoSeqTransform_h
00011 
00012 #include "peoTransform.h"
00013 
00014 
00016 
00020 template< class EOT > class peoSeqTransform : public peoTransform< EOT > {
00021 
00022 public:
00023 
00027         peoSeqTransform( eoTransform< EOT >& __trans );
00028         
00032         void operator()( eoPop< EOT >& __pop );
00033         
00035         virtual void packData() { }
00036 
00038         virtual void unpackData() { }
00039         
00041         virtual void execute() { }
00042         
00044         virtual void packResult() { }
00045 
00047         virtual void unpackResult() { }
00048 
00049 private:
00050 
00051         eoTransform< EOT >& trans;
00052 };
00053 
00054 
00055 template< class EOT > peoSeqTransform< EOT > :: peoSeqTransform( eoTransform< EOT >& __trans ) : trans( __trans ) {
00056 
00057 }
00058 
00059 
00060 template< class EOT > void peoSeqTransform< EOT > :: operator()( eoPop< EOT >& __pop ) {
00061 
00062         trans( __pop );
00063 }
00064 
00065 
00066 #endif

Generated on Thu Jul 5 13:43:30 2007 for ParadisEO-PEO by  doxygen 1.4.7