LogService
libdadi: utility tools for distributed applications
|
00001 /****************************************************************************/ 00002 /* defines a list that holds all information on componentes connected to */ 00003 /* the new Logservice */ 00004 /* */ 00005 /* Author(s): */ 00006 /* - Georg Hoesch (hoesch@in.tum.de) */ 00007 /* - Cyrille Pontvieux (cyrille.pontvieux@edu.univ-fcomte.fr) */ 00008 /* */ 00009 /* This file is part of DIET . */ 00010 /* */ 00011 /* Copyright (C) 2000-2003 ENS Lyon, LIFC, INSA, INRIA and SysFera (2000) */ 00012 /* */ 00013 /* - Frederic.Desprez@ens-lyon.fr (Project Manager) */ 00014 /* - Eddy.Caron@ens-lyon.fr (Technical Manager) */ 00015 /* - Tech@sysfera.com (Maintainer and Technical Support) */ 00016 /* */ 00017 /* This software is a computer program whose purpose is to provide an */ 00018 /* distributed logging services. */ 00019 /* */ 00020 /* */ 00021 /* This software is governed by the CeCILL license under French law and */ 00022 /* abiding by the rules of distribution of free software. You can use, */ 00023 /* modify and/ or redistribute the software under the terms of the CeCILL */ 00024 /* license as circulated by CEA, CNRS and INRIA at the following URL */ 00025 /* "http://www.cecill.info". */ 00026 /* */ 00027 /* As a counterpart to the access to the source code and rights to copy, */ 00028 /* modify and redistribute granted by the license, users are provided */ 00029 /* only with a limited warranty and the software's author, the holder */ 00030 /* of the economic rights, and the successive licensors have only */ 00031 /* limited liability. */ 00032 /* */ 00033 /* In this respect, the user's attention is drawn to the risks */ 00034 /* associated with loading, using, modifying and/or developing or */ 00035 /* reproducing the software by the user in light of its specific status */ 00036 /* of free software, that may mean that it is complicated to */ 00037 /* manipulate, and that also therefore means that it is reserved for */ 00038 /* developers and experienced professionals having in-depth computer */ 00039 /* knowledge. Users are therefore encouraged to load and test the */ 00040 /* software's suitability as regards their requirements in conditions */ 00041 /* enabling the security of their systems and/or data to be ensured and, */ 00042 /* more generally, to use and operate it in the same conditions as */ 00043 /* regards security. */ 00044 /* */ 00045 /* The fact that you are presently reading this means that you have had */ 00046 /* knowledge of the CeCILL license and that you accept its terms. */ 00047 /* */ 00048 /****************************************************************************/ 00049 /* $Id$ 00050 * $Log$ 00051 * Revision 1.3 2007/09/03 06:33:24 bdepardo 00052 * Removed IOR, it was useless. 00053 * 00054 * Revision 1.2 2007/08/31 16:41:17 bdepardo 00055 * When trying to add a new component, we check if the name of the component exists and if the component is reachable 00056 * - it the name already exists: 00057 * - if the component is reachable, then we do not connect the new component 00058 * - else we consider that the component is lost, and we delete the old component ant add the new one 00059 * - else add the component 00060 * 00061 * Revision 1.1 2004/01/09 11:07:12 ghoesch 00062 * Restructured the whole LogService source tree. 00063 * Added autotools make process. Cleaned up code. 00064 * Removed some testers. Ready to release. 00065 * 00066 ****************************************************************************/ 00067 00068 #ifndef _COMPONENTLIST_HH_ 00069 #define _COMPONENTLIST_HH_ 00070 00071 #include "FullLinkedList.hh" 00072 #include "LogComponent.hh" 00073 00078 struct ComponentElement { 00079 ComponentConfigurator_var componentConfigurator; 00080 CORBA::String_var componentName; 00081 }; 00082 00089 typedef FullLinkedList<ComponentElement> ComponentList; 00090 00091 // Eventually define a function that takes an iterator 00092 // and a componentName as input and sets the iterators 00093 // currentElement to the component with the given name ? 00094 00095 #endif