# Coriolis Core (CRL) Documentation

ToolEngines.h
1
2
3 // This file is part of the Coriolis Project.
4 // Copyright (C) Laboratoire LIP6 - Departement ASIM
5 // Universite Pierre et Marie Curie
6 //
7 // Main contributors :
8 // Christophe Alexandre <Christophe.Alexandre@lip6.fr>
9 // Sophie Belloeil <Sophie.Belloeil@lip6.fr>
10 // Hugo Clément <Hugo.Clement@lip6.fr>
11 // Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
12 // Damien Dupuis <Damien.Dupuis@lip6.fr>
13 // Christian Masson <Christian.Masson@lip6.fr>
14 // Marek Sroka <Marek.Sroka@lip6.fr>
15 //
16 // The Coriolis Project is free software; you can redistribute it
17 // and/or modify it under the terms of the GNU General Public License
18 // as published by the Free Software Foundation; either version 2 of
19 // the License, or (at your option) any later version.
20 //
21 // The Coriolis Project is distributed in the hope that it will be
22 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
23 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 // GNU General Public License for more details.
25 //
26 // You should have received a copy of the GNU General Public License
27 // along with the Coriolis Project; if not, write to the Free Software
28 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
29 // USA
30 //
31 // License-Tag
32 // Authors-Tag
33 // ===================================================================
34
35
36 # ifndef __CRL_TOOL_ENGINES_H__
37 # define __CRL_TOOL_ENGINES_H__
38
39 # include "hurricane/Collection.h"
40
41
42 namespace CRL {
43
44
45 using Hurricane::GenericCollection;
46 using Hurricane::GenericLocator;
47 using Hurricane::GenericFilter;
48
49
50 class ToolEngine;
51
52
53 typedef GenericCollection<ToolEngine*> ToolEngines;
54 typedef GenericLocator<ToolEngine*> ToolEngineLocator;
55 typedef GenericFilter<ToolEngine*> ToolEngineFilter;
56
57 # define for_each_toolengine(toolEngine, toolEngines) { \
58 ToolEngineLocator _locator = toolEngines.getLocator(); \
59 while ( _locator.isValid() ) { \
60 ToolEngine* toolEngine = _locator.getElement(); \
61 _locator.progress();
62
63 }
64
65
66 #endif // __CENGINES_H
Hurricane::GenericLocator
Hurricane::GenericFilter
Hurricane::GenericCollection
CRL::ToolEngine
Base Class of all Coriolis Tools.
Definition: ToolEngine.h:48
CRL::ToolEngineLocator
GenericLocator< ToolEngine * > ToolEngineLocator
Definition: ToolEngines.h:54
CRL::ToolEngineFilter
GenericFilter< ToolEngine * > ToolEngineFilter
Definition: ToolEngines.h:55
CRL::ToolEngines
GenericCollection< ToolEngine * > ToolEngines
Definition: ToolEngines.h:50
CRL
The namespace of Coriolis Core.
Definition: Environment.h:26

Generated by doxygen 1.8.14 on Mon Apr 27 2020 | Return to top of page

Coriolis Core (CRL) | Copyright © 2008-2016 UPMC All rights reserved