Urbi SDK Remote for C++  2.7.5
uobject.cc File Reference
#include <iostream>
#include <sstream>
#include <list>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <libport/containers.hh>
#include <libport/debug.hh>
#include <libport/escape.hh>
#include <libport/foreach.hh>
#include <libport/io-stream.hh>
#include <libport/lexical-cast.hh>
#include <libport/unistd.h>
#include <libport/format.hh>
#include <liburbi/compatibility.hh>
#include <urbi/uexternal.hh>
#include <urbi/umessage.hh>
#include <urbi/uobject.hh>
#include <urbi/ustarter.hh>
#include <urbi/usyncclient.hh>
#include <urbi/uvalue-serialize.hh>
#include <urbi/uvar.hh>
#include <urbi/ucontext-factory.hh>
#include <libuobject/remote-ucontext-impl.hh>
Include dependency graph for uobject.cc:

Go to the source code of this file.

Namespaces

namespace  urbi
 

Global definition of the starterlist.


namespace  urbi::impl
 

The interfaces UContextImpl, UVarImpl, UObjectImpl and UGenericCallbackImpl are what must be implemented to make an UObject backend.


Defines

#define REQUIRE(Cond,...)
#define CHECK(v)   if (n == #v) return v##map##_
#define CHECK(v)   if (v.type != DATA_VOID) s << v << ","
#define CHECK(v)   if (v.type != DATA_VOID) s << v << ","

Typedefs

typedef boost::unordered_map
< std::string,
impl::UContextImpl * > 
urbi::impl::contexts_type

Functions

 GD_CATEGORY (Urbi.LibUObject)
UObjectMode urbi::running_mode ()
impl::UContextImpl * urbi::impl::makeRemoteContext (const std::string &host, const std::string &port)
 A new remote context. Implemented in remote library only.
impl::UContextImpl * urbi::impl::getRemoteContext (const std::string &host, const std::string &port)
 A remote context, only creates one context per host:port pair.
static void urbi::impl::call_result (RemoteUContextImpl *ctx, std::string var, const UValue &retval, const std::exception *e)

Variables

static contexts_type urbi::impl::contexts

Detailed Description

Definition in file uobject.cc.


Define Documentation

#define CHECK (   v)    if (n == #v) return v##map##_
#define CHECK (   v)    if (v.type != DATA_VOID) s << v << ","
#define CHECK (   v)    if (v.type != DATA_VOID) s << v << ","
#define REQUIRE (   Cond,
  ... 
)
Value:
do {                                                  \
    if (!(Cond))                                        \
    {                                                   \
      msg.client.printf(__VA_ARGS__);                   \
      GD_FERROR("Message content: %s", *msg.value);     \
      return URBI_CONTINUE;                             \
    }                                                   \
  } while (false)

Definition at line 45 of file uobject.cc.

Referenced by urbi::impl::RemoteUContextImpl::dispatcher().


Function Documentation

GD_CATEGORY ( Urbi.  LibUObject)