Urbi SDK Remote for C++  2.7.5
liburbi/urbi-launch.cc File Reference
#include <string>
#include <libport/cassert>
#include <cstdarg>
#include <libport/cstdlib>
#include <iostream>
#include <stdexcept>
#include <boost/assign/list_of.hpp>
#include <libport/cli.hh>
#include <libport/containers.hh>
#include <libport/debug.hh>
#include <libport/file-system.hh>
#include <libport/foreach.hh>
#include <libport/path.hh>
#include <libport/package-info.hh>
#include <libport/program-name.hh>
#include <libport/sysexits.hh>
#include <libport/unistd.h>
#include <libport/windows.hh>
#include <libport/option-parser.hh>
#include <libport/xltdl.hh>
#include <urbi/exit.hh>
#include <urbi/package-info.hh>
#include <urbi/uclient.hh>
#include <urbi/urbi-root.hh>
Include dependency graph for liburbi/urbi-launch.cc:

Go to the source code of this file.

Functions

 GD_CATEGORY (Urbi.UrbiLaunch)
static UCallbackAction onError (const UMessage &msg)
static UCallbackAction onDone (const UMessage &)
static int connect_plugin (const std::string &host, int port, const libport::cli_args_type &modules)
static void usage (libport::OptionParser &parser)
static void version ()
static int urbi_launch_ (int argc, const char *argv[], UrbiRoot &urbi_root)
int URBI_SDK_API urbi_launch (int argc, const char *argv[], UrbiRoot &root)

Function Documentation

static int connect_plugin ( const std::string &  host,
int  port,
const libport::cli_args_type &  modules 
) [static]
GD_CATEGORY ( Urbi.  UrbiLaunch)
static UCallbackAction onDone ( const UMessage ) [static]
static UCallbackAction onError ( const UMessage msg) [static]

Definition at line 46 of file liburbi/urbi-launch.cc.

References urbi::UMessage::message, and urbi::URBI_CONTINUE.

Referenced by connect_plugin().

int URBI_SDK_API urbi_launch ( int  argc,
const char *  argv[],
UrbiRoot root 
)

Definition at line 235 of file liburbi/urbi-launch.cc.

References urbi_launch_().

static int urbi_launch_ ( int  argc,
const char *  argv[],
UrbiRoot urbi_root 
) [static]

Start a new engine and plug the module

Load the module in a running engine as a plugin

Connect the module to a running engine (remote uobject)

Server host name.

Server port.

Definition at line 109 of file liburbi/urbi-launch.cc.

References connect_plugin(), debug(), urbi::exit(), UrbiRoot::load_custom(), UrbiRoot::load_plugin(), UrbiRoot::load_remote(), urbi::MODE_REMOTE, UrbiRoot::root(), UrbiRoot::uobjects_path(), UrbiRoot::urbi_main(), urbi::UAbstractClient::URBI_PORT, usage(), and version().

Referenced by urbi_launch().

static void usage ( libport::OptionParser &  parser) [static]

Definition at line 78 of file liburbi/urbi-launch.cc.

References urbi::exit().

Referenced by urbi_launch_().

static void version ( ) [static]

Definition at line 100 of file liburbi/urbi-launch.cc.

References urbi::exit(), and urbi::package_info().

Referenced by urbi_launch_().