Equalizer
1.13.0
Parallel Rendering Framework
|
Parameters for running a configuration. More...
#include <configParams.h>
Public Types | |
enum | Flags { FLAG_NONE = LB_BIT_NONE, FLAG_MULTIPROCESS = LB_BIT1, FLAG_MULTIPROCESS_DB = LB_BIT2, FLAG_NETWORK_ETHERNET = LB_BIT3, FLAG_NETWORK_INFINIBAND = LB_BIT4, FLAG_LOAD_EQ_HORIZONTAL = LB_BIT5, FLAG_LOAD_EQ_VERTICAL = LB_BIT6, FLAG_LOAD_EQ_2D = LB_BIT7, FLAG_LOAD_EQ_ALL, FLAG_NETWORK_ALL = FLAG_NETWORK_ETHERNET | FLAG_NETWORK_INFINIBAND } |
Public Member Functions | |
EQFABRIC_API | ConfigParams () |
Construct new configuration parameters. More... | |
EQFABRIC_API | ~ConfigParams () |
Destruct this configuration parameters. More... | |
EQFABRIC_API | ConfigParams (const ConfigParams &rhs) |
EQFABRIC_API ConfigParams & | operator= (const ConfigParams &rhs) |
EQFABRIC_API void | serialize (co::DataOStream &os) const |
EQFABRIC_API void | deserialize (co::DataIStream &is) |
Data Access. | |
EQFABRIC_API void | setName (const std::string &name) |
Set the name of the configuration. More... | |
EQFABRIC_API const std::string & | getName () const |
EQFABRIC_API void | setRenderClient (const std::string &renderClient) |
Set the name of the render client executable. More... | |
EQFABRIC_API const std::string & | getRenderClient () const |
EQFABRIC_API void | setRenderClientArgs (const Strings &args) |
Set the command line arguments for the render client executable. More... | |
EQFABRIC_API const Strings & | getRenderClientArgs () const |
EQFABRIC_API void | setRenderClientEnvPrefixes (const Strings &prefixes) |
Set the prefixes of the environmental variables to pass on clients. More... | |
EQFABRIC_API const Strings & | getRenderClientEnvPrefixes () const |
EQFABRIC_API void | setWorkDir (const std::string &workDir) |
Set the directory from which to launch the render client. More... | |
EQFABRIC_API const std::string & | getWorkDir () const |
EQFABRIC_API void | setFlags (const uint32_t flags) |
EQFABRIC_API uint32_t | getFlags () const |
EQFABRIC_API const Equalizer & | getEqualizer () const |
EQFABRIC_API Equalizer & | getEqualizer () |
EQFABRIC_API void | setPrefixes (const Strings &prefixes) |
Set a list of network prefixes in CIDR notation for autoconfig network interface filtering. More... | |
EQFABRIC_API const Strings & | getPrefixes () const |
EQFABRIC_API void | setGPUFilter (const std::string ®ex) |
Set a regex filter matching to 'nodename:display.port'. | |
EQFABRIC_API const std::string & | getGPUFilter () const |
Parameters for running a configuration.
Definition at line 34 of file configParams.h.
Definition at line 42 of file configParams.h.
EQFABRIC_API eq::fabric::ConfigParams::ConfigParams | ( | ) |
Construct new configuration parameters.
EQFABRIC_API eq::fabric::ConfigParams::~ConfigParams | ( | ) |
Destruct this configuration parameters.
EQFABRIC_API const Equalizer& eq::fabric::ConfigParams::getEqualizer | ( | ) | const |
EQFABRIC_API Equalizer& eq::fabric::ConfigParams::getEqualizer | ( | ) |
EQFABRIC_API uint32_t eq::fabric::ConfigParams::getFlags | ( | ) | const |
EQFABRIC_API const std::string& eq::fabric::ConfigParams::getGPUFilter | ( | ) | const |
EQFABRIC_API const std::string& eq::fabric::ConfigParams::getName | ( | ) | const |
EQFABRIC_API const Strings& eq::fabric::ConfigParams::getPrefixes | ( | ) | const |
EQFABRIC_API const std::string& eq::fabric::ConfigParams::getRenderClient | ( | ) | const |
EQFABRIC_API const Strings& eq::fabric::ConfigParams::getRenderClientArgs | ( | ) | const |
EQFABRIC_API const Strings& eq::fabric::ConfigParams::getRenderClientEnvPrefixes | ( | ) | const |
EQFABRIC_API const std::string& eq::fabric::ConfigParams::getWorkDir | ( | ) | const |
EQFABRIC_API void eq::fabric::ConfigParams::setFlags | ( | const uint32_t | flags | ) |
EQFABRIC_API void eq::fabric::ConfigParams::setName | ( | const std::string & | name | ) |
Set the name of the configuration.
EQFABRIC_API void eq::fabric::ConfigParams::setPrefixes | ( | const Strings & | prefixes | ) |
Set a list of network prefixes in CIDR notation for autoconfig network interface filtering.
EQFABRIC_API void eq::fabric::ConfigParams::setRenderClient | ( | const std::string & | renderClient | ) |
Set the name of the render client executable.
If no render client is provided, eq::Server::chooseConfig() uses the program name retrieved from eq::Global::getProgramName(), i.e., the filename part of argv[0].
EQFABRIC_API void eq::fabric::ConfigParams::setRenderClientArgs | ( | const Strings & | args | ) |
Set the command line arguments for the render client executable.
If no arguments are provided, eq::Server::chooseConfig() uses co::LocalNode::getCommandLine().
EQFABRIC_API void eq::fabric::ConfigParams::setRenderClientEnvPrefixes | ( | const Strings & | prefixes | ) |
Set the prefixes of the environmental variables to pass on clients.
EQFABRIC_API void eq::fabric::ConfigParams::setWorkDir | ( | const std::string & | workDir | ) |
Set the directory from which to launch the render client.
If no working directory is provided, eq::Server::chooseConfig() uses eq::Global::getWorkDir(), i.e., the current working directory.