Equalizer  1.4.1
configParams.h
00001 
00002 /* Copyright (c) 2005-2012, Stefan Eilemann <eile@equalizergraphics.com> 
00003  *
00004  * This library is free software; you can redistribute it and/or modify it under
00005  * the terms of the GNU Lesser General Public License version 2.1 as published
00006  * by the Free Software Foundation.
00007  *  
00008  * This library is distributed in the hope that it will be useful, but WITHOUT
00009  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00010  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00011  * details.
00012  * 
00013  * You should have received a copy of the GNU Lesser General Public License
00014  * along with this library; if not, write to the Free Software Foundation, Inc.,
00015  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00016  */
00017 
00018 #ifndef EQ_CONFIG_PARAMS_H
00019 #define EQ_CONFIG_PARAMS_H
00020 
00021 #include <eq/client/api.h>
00022 #include <lunchbox/types.h>
00023 #include <string>
00024 
00025 namespace eq
00026 {
00027 namespace detail { class ConfigParams; }
00028 
00030     class ConfigParams
00031     {
00032     public:
00038         enum Flags
00039         {
00040             FLAG_NONE = LB_BIT_NONE, 
00041             FLAG_MULTIPROCESS = LB_BIT1, 
00042             FLAG_MULTIPROCESS_DB = LB_BIT2, 
00043         };
00044 
00046         EQ_API ConfigParams();
00047 
00049         EQ_API ~ConfigParams();
00050         
00060         EQ_API void setRenderClient( const std::string& renderClient );
00061 
00063         EQ_API const std::string& getRenderClient() const;
00064 
00073         EQ_API void setWorkDir( const std::string& workDir );
00074 
00079         EQ_API const std::string& getWorkDir() const;
00080 
00085         EQ_API void setFlags( const uint32_t flags );
00086 
00091         EQ_API uint32_t getFlags() const;
00093 
00094     private:
00095         detail::ConfigParams* const _impl;
00096     };
00097 }
00098 
00099 #endif // EQ_CONFIG_PARAMS_H
00100 
Generated on Mon Nov 26 2012 14:41:48 for Equalizer 1.4.1 by  doxygen 1.7.6.1