Equalizer
1.2.1
|
Global parameter handling for the Equalizer client library. More...
#include <global.h>
Static Public Member Functions | |
static NodeFactory * | getNodeFactory () |
static void | setConfigFile (const std::string &configFile) |
Set the config file for the app-local server. | |
static const std::string & | getConfigFile () |
static void | enterCarbon () |
Global lock for all non-thread-safe Carbon API calls. | |
static void | leaveCarbon () |
Global unlock for non-thread-safe Carbon API calls. | |
Friends | |
bool | eq::_init (const int argc, char **argv, NodeFactory *nodeFactory) |
bool | eq::exit () |
Global parameter handling for the Equalizer client library.
Definition at line 32 of file eq/client/global.h.
static void eq::Global::enterCarbon | ( | ) | [static] |
Global lock for all non-thread-safe Carbon API calls.
Note: this is a nop on non-AGL builds. Do not use unless you know the side effects, i.e., ask on the eq-dev mailing list.
static const std::string& eq::Global::getConfigFile | ( | ) | [static] |
static NodeFactory* eq::Global::getNodeFactory | ( | ) | [inline, static] |
static void eq::Global::leaveCarbon | ( | ) | [static] |
Global unlock for non-thread-safe Carbon API calls.
static void eq::Global::setConfigFile | ( | const std::string & | configFile | ) | [static] |
Set the config file for the app-local server.
When started without specifying an explicit server connection, Equalizer will create an server instance in an application thread using this config file.
configFile | the default configFile. |