eq::net::Global Class Reference

#include <global.h>

List of all members.


Detailed Description

Global parameter handling for the Equalizer network implementation.

Definition at line 20 of file net/global.h.


Static Public Member Functions

static void setProgramName (const std::string &programName)
 Sets the name of the program.
static const std::string & getProgramName ()
static void setWorkDir (const std::string &workDir)
 Sets the working directory of the program.
static const std::string & getWorkDir ()
static void setDefaultPort (const uint16_t port)
 Sets the default listening port.
static uint16_t getDefaultPort ()

Member Function Documentation

void eq::net::Global::setProgramName ( const std::string &  programName  )  [static]

Sets the name of the program.

Parameters:
programName the program name.

Definition at line 16 of file net/global.cpp.

Referenced by eq::net::init().

Here is the caller graph for this function:

static const std::string& eq::net::Global::getProgramName (  )  [inline, static]

Returns:
the program name.

Definition at line 31 of file net/global.h.

Referenced by eq::net::init().

Here is the caller graph for this function:

void eq::net::Global::setWorkDir ( const std::string &  workDir  )  [static]

Sets the working directory of the program.

Parameters:
workDir the working directory.

Definition at line 20 of file net/global.cpp.

Referenced by eq::net::init(), and eq::net::Node::runClient().

Here is the caller graph for this function:

static const std::string& eq::net::Global::getWorkDir (  )  [inline, static]

Returns:
the working directory of the program.

Definition at line 41 of file net/global.h.

Referenced by eq::net::init().

Here is the caller graph for this function:

static void eq::net::Global::setDefaultPort ( const uint16_t  port  )  [inline, static]

Sets the default listening port.

Parameters:
port the default port.

Definition at line 49 of file net/global.h.

static uint16_t eq::net::Global::getDefaultPort (  )  [inline, static]

Returns:
the default listening port.

Definition at line 53 of file net/global.h.

Referenced by eq::net::Node::initLocal().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Dec 6 12:01:51 2008 for Equalizer 0.6 by  doxygen 1.5.5