00001
00002
00003
00004
00005 #include "configParams.h"
00006
00007 #include <eq/net/global.h>
00008
00009 using namespace std;
00010
00011 namespace eq
00012 {
00013 ConfigParams::ConfigParams()
00014 {
00015 _renderClient = net::Global::getProgramName();
00016 _workDir = net::Global::getWorkDir();
00017
00018
00019
00020
00021
00022
00023 }
00024
00025 ConfigParams& ConfigParams::operator = ( const ConfigParams& rhs )
00026 {
00027 if( this == &rhs )
00028 return *this;
00029
00030 _renderClient = rhs._renderClient;
00031 _workDir = rhs._workDir;
00032
00033 return *this;
00034 }
00035
00036
00037 void ConfigParams::setRenderClient( const std::string& renderClient )
00038 {
00039 _renderClient = renderClient;
00040 }
00041
00042 const std::string& ConfigParams::getRenderClient() const
00043 {
00044 return _renderClient;
00045 }
00046
00047 void ConfigParams::setWorkDir( const std::string& workDir )
00048 {
00049 _workDir = workDir;
00050 }
00051
00052 const std::string& ConfigParams::getWorkDir() const
00053 {
00054 return _workDir;
00055 }
00056
00057 }