Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

algorithmComposite.h

Go to the documentation of this file.
00001 #ifndef algorithmComposite_H
00002 #define algorithmComposite_H
00003 
00004 #include "Event/algorithmVI.h"
00005 #include "Event/serverVI.h"
00006 
00007 //---------------------------------------------
00009 /*! 
00010 \e algorithmComposite is an algorithmVI.<br>
00011 \e algorithmComposite is a composite of algorithms. <br>
00012 <ul>
00013         <li> The \c run() method runs all the \c run() methods of all the algorithms. <br>
00014         <li> It uses the serverVI <algorithmVI> class to create the composite.
00015 </ul>
00016 */
00017 //----------------------------------------------
00018 //             J.A Hernando, Santa Cruz 02/29/00
00019 //----------------------------------------------
00020 
00021 //###########################
00022 class algorithmComposite : public algorithmVI , public serverVI<algorithmVI>
00023 //###########################
00024 {
00025 public:
00026 
00027 
00029         algorithmComposite(){}
00031         virtual ~algorithmComposite() {};  
00032 
00034         virtual void initialize()  {serverVI<algorithmVI>::command("initialize");}
00036         virtual void execute()     {serverVI<algorithmVI>::command("execute");}
00038         virtual void finalize()    {serverVI<algorithmVI>::command("finalize");}
00040         virtual void run()         {serverVI<algorithmVI>::command("run");}
00041 };
00042 #endif

Generated at Fri Aug 18 12:57:37 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000