Equalizer 1.0

co/base/global.h

00001 
00002 /* Copyright (c) 2010, Cedric Stalder <cedric.stalder@gmail.com> 
00003  *               2010-2011, Stefan Eilemann <eile@eyescale.ch>
00004  *
00005  * This library is free software; you can redistribute it and/or modify it under
00006  * the terms of the GNU Lesser General Public License version 2.1 as published
00007  * by the Free Software Foundation.
00008  *  
00009  * This library is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00012  * details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this library; if not, write to the Free Software Foundation, Inc.,
00016  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef COBASE_GLOBAL_H
00020 #define COBASE_GLOBAL_H
00021 
00022 #include <co/base/api.h>
00023 #include <co/base/lock.h> // member
00024 #include <co/base/types.h>
00025 #include <string>
00026 
00027 namespace co
00028 {
00029 namespace base
00030 {
00032     class Global
00033     {
00034     public:
00036         COBASE_API static PluginRegistry& getPluginRegistry();
00037 
00039         COBASE_API static ErrorRegistry& getErrorRegistry();
00040 
00041     private:
00042         friend COBASE_API bool init( const int argc, char** argv );
00043         friend COBASE_API bool exit();
00044     };
00045 }
00046 }
00047 
00048 #endif // EQ_GLOBAL_H
00049 
Generated on Sun May 8 2011 19:11:06 for Equalizer 1.0 by  doxygen 1.7.3