LogService
libdadi: utility tools for distributed applications
 All Classes Functions Variables
ToolList.hh
00001 /****************************************************************************/
00002 /* defines a list that holds all information an tools connected to the      */
00003 /* 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.1  2004/01/09 11:07:12  ghoesch
00052  * Restructured the whole LogService source tree.
00053  * Added autotools make process. Cleaned up code.
00054  * Removed some testers. Ready to release.
00055  *
00056  ***************************************************************************/
00057 
00058 #ifndef _TOOLLIST_HH_
00059 #define _TOOLLIST_HH_
00060 
00061 #include "FullLinkedList.hh"
00062 #include "LogTool.hh"
00063 
00064 typedef FullLinkedList<log_msg_t> OutBuffer;
00065 typedef FullLinkedList<filter_t> FilterList;
00066 
00071 struct ToolElement {
00072   ToolMsgReceiver_var msgReceiver;
00073   OutBuffer outBuffer;
00074   FilterList filterList;
00075   CORBA::String_var toolName;
00076 };
00077 
00091 typedef FullLinkedList<ToolElement> ToolList;
00092 
00093 #endif