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

loggingACSLogFactory_i.h

Go to the documentation of this file.
00001 #ifndef logging_ACS_LOG_FACTORY_I_H 00002 #define logging_ACS_LOG_FACTORY_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: loggingACSLogFactory_i.h,v 1.3 2006/08/08 11:14:04 bjeram 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/BasicLogFactory_i.h> 00037 00038 #include "loggingACSStructuredPushSupplier.h" 00039 00043 class ACSLogFactory_i : public TAO_BasicLogFactory_i 00044 { 00045 00046 public: 00047 00051 ACSLogFactory_i(); 00052 00056 ~ACSLogFactory_i(); 00057 00061 void 00062 set_logging_supplier(ACSStructuredPushSupplier* supplier) 00063 { 00064 m_logging_supplier = supplier; 00065 } 00066 00067 PortableServer::ServantBase* create_log_servant(DsLogAdmin::LogId id); 00068 00072 /* DsLogAdmin::BasicLog_ptr 00073 create_with_id (DsLogAdmin::LogId id, 00074 DsLogAdmin::LogFullActionType full_action, 00075 CORBA::ULongLong max_size) 00076 throw (CORBA::SystemException, 00077 DsLogAdmin::LogIdAlreadyExists, 00078 DsLogAdmin::InvalidLogFullAction); 00079 */ 00080 protected: 00081 00083 ACSStructuredPushSupplier* m_logging_supplier; 00084 00085 }; 00086 00087 #endif // logging_ACS_LOG_FACTORY_I_H

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