Equalizer
1.4.1
|
Parameters for running a configuration. More...
#include <configParams.h>
Public Member Functions | |
ConfigParams () | |
Construct new configuration parameters. | |
~ConfigParams () | |
Destruct this configuration parameters. | |
Data Access. | |
void | setRenderClient (const std::string &renderClient) |
Set the name of the render client executable. | |
const std::string & | getRenderClient () const |
void | setWorkDir (const std::string &workDir) |
Set the directory from which to launch the render client. | |
const std::string & | getWorkDir () const |
void | setFlags (const uint32_t flags) |
uint32_t | getFlags () const |
Public Types | |
enum | Flags { FLAG_NONE = LB_BIT_NONE, FLAG_MULTIPROCESS = LB_BIT1, FLAG_MULTIPROCESS_DB = LB_BIT2 } |
Parameters for running a configuration.
Definition at line 30 of file configParams.h.
FLAG_NONE |
Unset all flags. |
FLAG_MULTIPROCESS |
Auto-config: one node per pipe. |
FLAG_MULTIPROCESS_DB |
one node per DB decomposition |
Definition at line 38 of file configParams.h.
Construct new configuration parameters.
Destruct this configuration parameters.
uint32_t eq::ConfigParams::getFlags | ( | ) | const |
const std::string& eq::ConfigParams::getRenderClient | ( | ) | const |
const std::string& eq::ConfigParams::getWorkDir | ( | ) | const |
void eq::ConfigParams::setFlags | ( | const uint32_t | flags | ) |
void eq::ConfigParams::setRenderClient | ( | const std::string & | renderClient | ) |
Set the name of the render client executable.
The default value is the program name retrieved from co::Global::getProgramName(), i.e., the filename part of argv[0].
void eq::ConfigParams::setWorkDir | ( | const std::string & | workDir | ) |
Set the directory from which to launch the render client.
The default value is the program directory retrieved from co::Global::getWorkDir(), i.e., the directory part of the render client executable.