INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
autologgerfactory.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCA_LOGGER_AUTO_LOGGER_FACTORY_H 00012 #define ORCA_LOGGER_AUTO_LOGGER_FACTORY_H 00013 00014 #include <orcalog/factory.h> 00015 #include <orcalog/autologger.h> 00016 #include <orcalog/logwriterinfo.h> 00017 #include <orcaice/context.h> 00018 00019 namespace orcalog 00020 { 00021 00023 class AutoLoggerFactory : public Factory 00024 { 00025 public: 00026 virtual ~AutoLoggerFactory() {}; 00027 00030 virtual AutoLogger* create( const std::string &interfaceType, const orcaice::Context& context )=0; 00031 }; 00032 00033 } // namespace 00034 00035 00036 // Function for instantiating plug-in factories. 00037 // A plug-in library must have a function like so: 00038 // extern "C" { 00039 // orcalog::AutoLoggerFactory *createAutoLoggerFactory(); 00040 // } 00041 typedef orcalog::AutoLoggerFactory *AutoLoggerFactoryMakerFunc(); 00042 00043 00044 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)