forest-net
an overlay networks for large-scale virtual worlds
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Router.cpp File Reference
#include "Router.h"
Include dependency graph for Router.cpp:

Go to the source code of this file.

Namespaces

 forest
 The CtlPkt class is used to pack and unpack forest control messages.
 

Constant Groups

 forest
 The CtlPkt class is used to pack and unpack forest control messages.
 

Functions

bool processArgs (int argc, char *argv[], RouterInfo &args)
 Process command line arguments for starting a forest router. More...
 
int main (int argc, char *argv[])
 Main program for starting a forest router.
 

Detailed Description

Author
Jon Turner
Date
2011 This is open source software licensed under the Apache 2.0 license. See http://www.apache.org/licenses/LICENSE-2.0 for details.

Definition in file Router.cpp.

Function Documentation

bool processArgs ( int  argc,
char *  argv[],
RouterInfo args 
)

Process command line arguments for starting a forest router.

All arguments are strings of the form "name=value".

Parameters
argcis the number of arguments (including the command name)
argvcontains the command line arguments as C-style strings
isa reference to a RouterInfo structure; on return, it will contain all the values that were specified on the command line; unspecified numeric values are set to 0 and unspecified string values are set to the empty string
Returns
true on success, false on failure

Definition at line 23 of file Router.cpp.

Here is the call graph for this function: