orca-robotics INTRODUCTION Overview Download and Install Documentation REPOSITORY Interfaces Drivers Libraries Utilities Software Map DEVELOPER Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
dll.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 distribution is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef HYDRO_DYNAMICLOAD_DLL_H 00012 #define HYDRO_DYNAMICLOAD_DLL_H 00013 00014 #include <string> 00015 00016 namespace hydrodll 00017 { 00018 00026 class DynamicallyLoadedLibrary 00027 { 00028 public: 00029 00031 DynamicallyLoadedLibrary( const std::string &libName ); 00032 ~DynamicallyLoadedLibrary(); 00033 00035 const std::string &name() const { return libName_; } 00036 00038 void *handle() { return libHandle_; } 00039 00040 private: 00041 00042 void *libHandle_; 00043 std::string libName_; 00044 }; 00045 00046 } // namespace 00047 00048 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)