Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

loggingACSLog_i.h

Go to the documentation of this file.
00001 #ifndef logging_acs_log_i_H 00002 #define logging_acs_log_i_H 00003 00004 /******************************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * (c) European Southern Observatory, 2002 00007 * Copyright by ESO (in the framework of the ALMA collaboration) 00008 * and Cosylab 2002, All rights reserved 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 * 00024 * "@(#) $Id: loggingACSLog_i.h,v 1.5 2008/09/29 08:36:42 cparedes Exp $" 00025 * 00026 * who when what 00027 * -------- ---------- ---------------------------------------------- 00028 */ 00029 00030 #ifndef __cplusplus 00031 #error This is a C++ include file and cannot be used from plain C 00032 #endif 00033 00034 #include <acsutil.h> 00035 00036 #include <orbsvcs/Log/BasicLog_i.h> 00037 00038 #include "loggingACSStructuredPushSupplier.h" 00039 00040 #define LOG_BIN_TYPE 0 00041 #define LOG_XML_TYPE 1 00042 00045 class ACSLog_i : public TAO_BasicLog_i 00046 { 00047 00048 public: 00049 00053 ACSLog_i (CORBA::ORB_ptr orb, 00054 PortableServer::POA_ptr poa, 00055 TAO_LogMgr_i &logmgr_i, 00056 DsLogAdmin::LogMgr_ptr factory, 00057 DsLogAdmin::LogId id); 00058 00062 ~ACSLog_i(); 00063 00067 void 00068 set_logging_supplier(ACSStructuredPushSupplier* supplier) 00069 { 00070 m_logging_supplier = supplier; 00071 } 00072 00080 void 00081 write_recordlist (const DsLogAdmin::RecordList & list); 00082 00083 protected: 00084 00085 bool m_logBin; 00087 ACSStructuredPushSupplier* m_logging_supplier; 00088 }; 00089 00090 #endif /* logging_acs_log_i_H */

Generated on Thu Apr 30 02:30:51 2009 for ACS C++ API by doxygen 1.3.8