Urbi SDK Remote for C++  2.7.5
all.cc File Reference
#include <iostream>
#include <libport/cmath>
#include <libport/compiler.hh>
#include <libport/containers.hh>
#include <libport/debug.hh>
#include <libport/ufloat.hh>
#include <libport/unistd.h>
#include <sstream>
#include <stdexcept>
#include <urbi/uclient.hh>
#include <urbi/uobject.hh>
#include <urbi/input-port.hh>
Include dependency graph for all.cc:

Go to the source code of this file.

Defines

#define APPEND(Value)   res.array.push_back(new urbi::UValue(Value))
#define APPEND_UFLOAT(Prop)   APPEND(static_cast<ufloat>(v.Prop))
#define CASE(Num,...)   case Num: call(obj, func, ## __VA_ARGS__); break;
#define CHECK

Functions

 GD_CATEGORY (Test.All)
static void * memdup (const void *data, size_t size)
 Same as strdup, but without the \0 limitation.
 URBI_REGISTER_STRUCT (Point, x, y)
 URBI_REGISTER_STRUCT (Rect, a, b)
 URBI_REGISTER_STRUCT (PointOfInterest, sectorName, subSectors, byName)

Variables

::urbi::URBIStarter< all > starter1 (urbi::isPluginMode()?"all":"remall")
::urbi::URBIStarter< all > starter2 (urbi::isPluginMode()?"all2":"remall2")

Define Documentation

#define APPEND (   Value)    res.array.push_back(new urbi::UValue(Value))
#define APPEND_UFLOAT (   Prop)    APPEND(static_cast<ufloat>(v.Prop))
#define CASE (   Num,
  ... 
)    case Num: call(obj, func, ## __VA_ARGS__); break;
#define CHECK
Value:
if (d.size() !=2 || d[0] != 1 || d[1] != 2)       \
      throw std::runtime_error("vector is not what we expect")

Function Documentation

GD_CATEGORY ( Test.  All)
static void* memdup ( const void *  data,
size_t  size 
) [static]

Same as strdup, but without the \0 limitation.

Definition at line 30 of file all.cc.

URBI_REGISTER_STRUCT ( Point  ,
,
 
)
URBI_REGISTER_STRUCT ( Rect  ,
,
 
)
URBI_REGISTER_STRUCT ( PointOfInterest  ,
sectorName  ,
subSectors  ,
byName   
)

Variable Documentation

::urbi::URBIStarter<all> starter1(urbi::isPluginMode()?"all":"remall")
::urbi::URBIStarter<all> starter2(urbi::isPluginMode()?"all2":"remall2")