PCMApplication_impl.h
Go to the documentation of this file.00001 00002 // 00003 // This source file is a part of ParCompMark 00004 // Parallel Compositing Benchmark Framework 00005 // 00006 // for latest info see http://parcompmark.sourceforge.net 00007 00008 // 00009 // Copyright (C) 2006 IT2 ParCompMark Dev. Team 00010 // 00011 // This program is free software; you can redistribute it and/or 00012 // modify it under the terms of the GNU General Public License 00013 // as published by the Free Software Foundation; either version 2 00014 // of the License, or (at your option) any later version. 00015 // 00016 // This program is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 // GNU General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU General Public License 00022 // along with this program; if not, write to the Free Software 00023 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 00027 00028 // 00029 // Getters & setters 00030 // 00031 00032 inline const std::string & Application::getLibrarySearchPath() 00033 { 00034 return mLibrarySearchPath; 00035 } 00036 00037 /*-------------------------------------------------------------------------*/ 00038 00039 inline void Application::setLibrarySearchPath(const std::string & librarysearchpath) 00040 { 00041 mLibrarySearchPath = librarysearchpath; 00042 } 00043 00044 /*-------------------------------------------------------------------------*/ 00045 00046 inline HostInfo *Application::getHostInfo() const 00047 { 00048 return mHostInfo; 00049 } 00050 00051 /*-------------------------------------------------------------------------*/ 00052 00053 inline const bool & Application::getInitialized() const 00054 { 00055 return mInitialized; 00056 } 00057 00058 /*-------------------------------------------------------------------------*/ 00059 00060 inline const Application::PostCommand & Application::getPostCommand() const 00061 { 00062 return mPostCommand; 00063 } 00064 00065 /*-------------------------------------------------------------------------*/ 00066 00067 inline const bool & Application::getQuiting() const 00068 { 00069 return mQuiting; 00070 } 00071 00072 /*-------------------------------------------------------------------------*/ 00073 00074 inline const bool & Application::getOutputIsDone() const 00075 { 00076 return mOutputIsDone; 00077 } 00078 00079 /*-------------------------------------------------------------------------*/ 00080 00081 inline OutputNode::Pointer & Application::getOutputDocument() 00082 { 00083 return mOutputDocument; 00084 } 00085 00086 /*-------------------------------------------------------------------------*/ 00087 00088 inline OutputNode::Pointer & Application::getCurrentExecutionOutputDocument() 00089 { 00090 return mCurrentExecutionOutputDocument; 00091 } 00092 00093 /*-------------------------------------------------------------------------*/ 00094 00095 inline u32 & Application::getExecutionIndex() 00096 { 00097 return mExecutionIndex; 00098 } 00099 00100 /*-------------------------------------------------------------------------*/ 00101 00102 inline OutputNode::Pointer & Application::getCollectClusterDescription() 00103 { 00104 return mCollectClusterDescription; 00105 } 00106 00107 /*-------------------------------------------------------------------------*/ 00108 00109 inline ConfigOptions::Pointer & Application::getConfigOptions() 00110 { 00111 return mConfigOptions; 00112 } 00113 00114 /*-------------------------------------------------------------------------*/ 00115 00116 inline const std::string & Application::getLowLevelScript() const 00117 { 00118 return mLowLevelScript; 00119 } 00120 00121 /*-------------------------------------------------------------------------*/ 00122 00123 inline const std::string & Application::getDynamicScript() const 00124 { 00125 return mDynamicScript; 00126 } 00127 00128 /*-------------------------------------------------------------------------*/ 00129 00130 inline const std::string & Application::getScenarioScript() const 00131 { 00132 return mScenarioScript; 00133 } 00134 00135 /*-------------------------------------------------------------------------*/ 00136 00137 inline const std::list < std::string > &Application::getSquirrelCommandList() const 00138 { 00139 return mSquirrelCommandList; 00140 } 00141 00142 /*-------------------------------------------------------------------------*/ 00143 00144 inline bool & Application::getDynamicScriptCompiled() 00145 { 00146 return mDynamicScriptCompiled; 00147 } 00148 00149 /*-------------------------------------------------------------------------*/ 00150 00151 inline void Application::setDynamicScriptCompiled(const bool dynamicscriptcompiled) 00152 { 00153 mDynamicScriptCompiled = dynamicscriptcompiled; 00154 } 00155 00156 /*-------------------------------------------------------------------------*/ 00157 00158 inline NetServer *Application::getServer() const 00159 { 00160 return mServer; 00161 } 00162 00163 /*-------------------------------------------------------------------------*/ 00164 00165 inline NetClient *Application::getClient() const 00166 { 00167 return mClient; 00168 } 00169 00170 /*-------------------------------------------------------------------------*/ 00171 00172 inline const std::string & Application::getUsageString() 00173 { 00174 return mUsageString; 00175 } 00176 00177 /*-------------------------------------------------------------------------*/ 00178 00179 inline const bool & Application::getCommanderMode() 00180 { 00181 return mCommanderMode; 00182 } 00183 00184 /*-------------------------------------------------------------------------*/ 00185 00186 inline const bool & Application::getGUIMode() 00187 { 00188 return mGUIMode; 00189 } 00190 00191 /*-------------------------------------------------------------------------*/ 00192 00193 inline const bool & Application::getManualClusterDescription() 00194 { 00195 return mManualClusterDescription; 00196 } 00197 00198 /*-------------------------------------------------------------------------*/ 00199 00200 inline const std::string & Application::getClusterDescription() 00201 { 00202 return mClusterDescription; 00203 } 00204 00205 /*-------------------------------------------------------------------------*/ 00206 00207 inline const bool & Application::getLowLevelMode() 00208 { 00209 return mLowLevelMode; 00210 } 00211 00212 /*-------------------------------------------------------------------------*/ 00213 00214 inline const bool & Application::getInteractiveParameters() 00215 { 00216 return mInteractiveParameters; 00217 } 00218 00219 /*-------------------------------------------------------------------------*/ 00220 00221 inline const std::string & Application::getParameters() 00222 { 00223 return mParameters; 00224 } 00225 00226 /*-------------------------------------------------------------------------*/ 00227 00228 inline const std::string & Application::getInput() 00229 { 00230 return mInput; 00231 } 00232 00233 /*-------------------------------------------------------------------------*/ 00234 00235 inline const std::string & Application::getOutput() 00236 { 00237 return mOutput; 00238 } 00239 00240 /*-------------------------------------------------------------------------*/ 00241 00242 inline int &Application::getExpectedHostCount() 00243 { 00244 return mExpectedHostCount; 00245 } 00246 00247 /*-------------------------------------------------------------------------*/ 00248 00249 inline const Application::UserInterface & Application::getUserInterface() 00250 { 00251 return mUserInterface; 00252 } 00253 00254 /*-------------------------------------------------------------------------*/ 00255 00256 inline bool & Application::getCompRun() 00257 { 00258 return mCompRun; 00259 } 00260 00261 /*-------------------------------------------------------------------------*/