orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
snapshotloggerfactory.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 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_SNAPSHOT_LOGGER_FACTORY_H 00012 #define ORCA_LOGGER_SNAPSHOT_LOGGER_FACTORY_H 00013 00014 #include <orcalog/factory.h> 00015 #include <orcalog/snapshotlogger.h> 00016 #include <orcalog/logwriterinfo.h> 00017 00018 namespace orcalog 00019 { 00020 00022 class SnapshotLoggerFactory : public Factory 00023 { 00024 public: 00025 virtual ~SnapshotLoggerFactory() {}; 00026 00029 virtual SnapshotLogger* create( const std::string &interfaceType )=0; 00030 }; 00031 00032 } // namespace 00033 00034 00035 // Function for instantiating plug-in factories. 00036 // A plug-in library must have a function like so: 00037 // extern "C" { 00038 // orcalog::SnapshotLoggerFactory *createSnapshotLoggerFactory(); 00039 // } 00040 typedef orcalog::SnapshotLoggerFactory *SnapshotLoggerFactoryMakerFunc(); 00041 00042 00043 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)