Urbi SDK Remote for C++  2.7.5
urbi Namespace Reference

Global definition of the starterlist. More...

Namespaces

namespace  compatibility
namespace  impl
 

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


Classes

class  CustomUVar
 UVar wrapper with a custom data field. More...
class  Exit
class  InputPort
 An InputPort is a slot that can be connected to other UVars from urbiscript. More...
class  UObjectSocket
 Use this class instead of libport::Socket when you need an UObject which is also a Socket. More...
class  UCallbackInfo
class  LockableOstream
class  UAbstractClient
 Interface for an Urbi wrapper object. More...
class  UCallbackWrapper
 Wrapper around a callback function. Use callback() to create them. More...
class  UCallbackWrapperF
class  UCallbackWrapperCF
class  UCallbackWrapper0
class  UCallbackWrapper1
class  UCallbackWrapper2
class  UCallbackWrapper3
class  UCallbackWrapper4
class  BinaryData
class  UBinary
 Binary data of known or unknown type. More...
class  UGenericCallback
 Function and Event storage mechanism This heavily overloaded class is the only way in C++ to make life easy from the the interface user point's of view. More...
class  UCallback0
class  UFCallback0
class  UCallback1
class  UFCallback1
class  UCallback2
class  UFCallback2
class  UCallback3
class  UFCallback3
class  UCallback4
class  UFCallback4
class  UCallback5
class  UFCallback5
class  UCallback6
class  UFCallback6
class  UCallback7
class  UFCallback7
class  UCallback8
class  UFCallback8
class  UCallback9
class  UFCallback9
class  UCallback10
class  UFCallback10
class  UCallback11
class  UFCallback11
class  UCallback12
class  UFCallback12
class  UCallback13
class  UFCallback13
class  UCallback14
class  UFCallback14
class  UCallback15
class  UFCallback15
class  UCallback16
class  UFCallback16
class  UBoostFunctionCallback0
class  UBoostFunctionCallback1
class  UBoostFunctionCallback2
class  UBoostFunctionCallback3
class  UBoostFunctionCallback4
class  UBoostFunctionCallback5
class  UBoostFunctionCallback6
class  UBoostFunctionCallback7
class  UBoostFunctionCallback8
class  UBoostFunctionCallback9
class  UBoostFunctionCallback10
class  UClient
 Linux implementation of UAbstractClient. More...
class  UAutoValue
 UValue with implicit constructors. More...
class  UContext
 Methods available in both UObject and UVar Wrapper around UContextImpl to enable access through inheritance. More...
struct  wavheader
class  UEvent
 UEvent class definition. More...
class  UImage
 Class encapsulating an image. More...
class  UMessage
 Class containing all informations related to an URBI message. More...
class  UObjectHub
 Main UObjectHub class definition. More...
class  LockSpec
 Extended locking model specifications. More...
class  UObject
 Main UObject class definition Each UObject instance corresponds to an URBI object. More...
struct  uvalue_caster< UObject * >
struct  uvalue_caster< T * >
class  UProp
 Provides easy access to variable properties. More...
class  USound
 Class encapsulating sound information. More...
class  baseURBIStarter
class  URBIStarter
 This is the class containing URBI starters. More...
class  baseURBIStarterHub
 URBIStarter base class used to store heterogeneous template class objects in starterlist. More...
class  URBIStarterHub
 This is the class containing URBI starters. More...
class  USyncClient
 UClient linux implementation with support for synchronous extra functions. More...
struct  UTable
struct  UVarTable
class  UTimerCallback
 Timer mechanism. More...
class  UTimerCallbackobj
class  UList
 Class storing URBI List type. More...
class  UNamedValue
class  UValue
 Container for a value that handles all types known to URBI. More...
struct  uvalue_caster
struct  uvar_ref_traits
struct  uvar_ref_traits< UVar >
struct  uvalue_cast_return_type
struct  uvalue_cast_return_type< const UValue & >
struct  uvalue_caster< UVar >
struct  uvalue_caster< UBinary >
struct  uvalue_caster< UList >
struct  uvalue_caster< UDictionary >
struct  uvalue_caster< const char * >
struct  uvalue_caster< boost::unordered_map< std::string, V > >
struct  uvalue_caster< UPackedData< T > >
class  UVar
 UVar class definition. More...
class  VersionChecker

Typedefs

typedef std::vector< std::string > files_type
typedef std::list< UObject * > UObjectList
typedef boost::shared_ptr
< std::string > 
TimerHandle
typedef unsigned int UCallbackID
typedef UCallbackAction(* UCallback )(const UMessage &msg)
 Callback prototypes.
typedef UCallbackAction(* UCustomCallback )(void *callbackData, const UMessage &msg)
typedef std::list< BinaryDatabinaries_type
 List of the binaries.
typedef unsigned char byte
typedef int UReturn
typedef std::list
< UTimerCallback * > 
UTimerTable
typedef boost::unordered_map
< std::string, UValue
UDictionary

Enumerations

enum  UCallbackAction { URBI_CONTINUE = 0, URBI_REMOVE }
 Return values for the callcack functions. More...
enum  { URBI_MAX_TAG_LENGTH = 64 }
 Maximum length of an URBI tag. More...
enum  UBinaryType { BINARY_NONE, BINARY_UNKNOWN, BINARY_IMAGE, BINARY_SOUND }
enum  UBlendType {
  UMIX, UADD, UDISCARD, UQUEUE,
  UCANCEL, UNORMAL
}
 Possible blending mode for an UVar. More...
enum  UObjectMode { MODE_PLUGIN = 1, MODE_REMOTE }
 Possible UObject running modes. More...
enum  USystemExternalMessage {
  UEM_EVALFUNCTION, UEM_ASSIGNVALUE, UEM_EMITEVENT, UEM_ENDEVENT,
  UEM_NEW, UEM_DELETE, UEM_INIT, UEM_TIMER,
  UEM_NORTP, UEM_SETRTP, UEM_REPLY, UEM_EVAL,
  UEM_SETLOCAL
}
enum  UImageFormat {
  IMAGE_UNKNOWN = 0, IMAGE_RGB = 1, IMAGE_YCbCr = 2, IMAGE_YUV = 2,
  IMAGE_JPEG = 3, IMAGE_PPM = 4, IMAGE_YUV422 = 5, IMAGE_GREY8 = 6,
  IMAGE_GREY4 = 7, IMAGE_YUV411_PLANAR = 8, IMAGE_NV12 = 9, IMAGE_YUV420_PLANAR = 10
}
enum  UMessageType { MESSAGE_SYSTEM, MESSAGE_ERROR, MESSAGE_DATA }
enum  LockMode {
  LOCK_NONE, LOCK_FUNCTION, LOCK_INSTANCE, LOCK_CLASS,
  LOCK_MODULE
}
 Locking model. More...
enum  UProperty {
  PROP_RANGEMIN, PROP_RANGEMAX, PROP_SPEEDMIN, PROP_SPEEDMAX,
  PROP_BLEND, PROP_DELTA, PROP_CONSTANT
}
 URBI properties associated to a variable. More...
enum  USoundFormat {
  SOUND_RAW = 0, SOUND_WAV = 1, SOUND_MP3 = 2, SOUND_OGG = 3,
  SOUND_UNKNOWN = 4
}
enum  USoundSampleFormat { SAMPLE_SIGNED = 1, SAMPLE_UNSIGNED = 2, SAMPLE_FLOAT = 3 }
enum  UTransmitFormat { URBI_TRANSMIT_JPEG, URBI_TRANSMIT_YCbCr }
enum  UDataType {
  DATA_BINARY = 0, DATA_DOUBLE = 2, DATA_LIST = 3, DATA_STRING = 5,
  DATA_SLOTNAME = 6, DATA_VOID = 7
}
 Possible value types a UValue can contain. More...

Functions

static void noop (impl::UContextImpl *)
impl::UContextImplgetCurrentContext ()
 Will be used if no context is explicitly passed.
void setCurrentContext (impl::UContextImpl *impl)
void setThreadLimit (size_t nThreads)
 Set maximum number of threads to use for threaded calls (0=unlimited).
void echo (const char *format,...)
 echo method
std::string getFilteredHostname ()
 Return current hostname mangled to fit into an urbiscript variable name.
int main (int argc, const char *argv[], UrbiRoot &root, bool block=true, bool errors=false)
 Initialisation method using C style arguments.
std::ostream & operator<< (std::ostream &o, const urbi::UVar &u)
 Report u on o for debugging.
static UCallbackAction debug (const UMessage &msg)
static UCallbackAction endProgram (const UMessage &msg)
static void usage ()
static void version ()
int initialize (const std::string &host, int port, size_t buflen, bool exitOnDisconnect, bool server, const files_type &files, bool useSyncClient)
URBI_SDK_API int main (const libport::cli_args_type &args, UrbiRoot &root, bool block=true, bool errors=false)
 Initialization method.
UObjectMode running_mode ()
int kernelMajor ()
int kernelMinor ()
const std::string & kernelVersion ()
std::ostream & default_stream ()
 Return a stream for error, preferrably the one the defaultClient.
bool matching_tag (const UMessage &msg, const char *tag)
static UCallbackAction sendSound_ (void *cb, const UMessage &msg)
std::string getClientConnectionID (const UAbstractClient *cli)
UClientgetDefaultClient ()
 Return the first UClient created by the program.
UClientget_default_client ()
 Same as getDefaultClient(), but as a reference.
void setDefaultClient (UClient *cl)
 Redefine the default client.
std::ostream & unarmorAndSend (const char *str, UAbstractClient *c=(UAbstractClient *) getDefaultClient())
 Send a possibly armored string to the default client.
void execute (void)
 Must be called at the last line of your main() function.
void exit (int code)
 Terminate your Urbi program.
UClientconnect (const std::string &host)
 Create a new UClient object.
void disconnect (UClient &client)
 Destroy an UClient object Be careful: don't use client after called this function.
int convertRGBtoYCbCr (const byte *source, size_t sourcelen, byte *dest)
 Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destinationImage, which will contain a YCbCr (YUV) image.
int convertYCrCbtoYCbCr (const byte *source, size_t sourcelen, byte *dest)
 Image format conversion functions.
int convertYCbCrtoRGB (const byte *source, size_t sourcelen, byte *dest)
 Convert a buffer in, which contains an YCrCb, image to a buffer for the out, which will contain a RGB image.
static int convert_jpeg_to (const byte *source, size_t sourcelen, UImageFormat dest_format, byte **dest, size_t &size, size_t &w, size_t &h)
 Convert a buffer source, which contains a JPEG image, to a buffer for the dest, which will contain a RGB/YCrCb image (depending on dest_format).
int convertJPEGtoYCrCb (const byte *source, size_t sourcelen, byte **dest, size_t &size, size_t &w, size_t &h)
int convertJPEGtoRGB (const byte *source, size_t sourcelen, byte **dest, size_t &size, size_t &w, size_t &h)
int convertRGBtoJPEG (const byte *source, size_t w, size_t h, byte *dest, size_t &size, int quality)
 Convert a buffer source, which contains an RGB image, to a buffer for the dest, which will contain a JPEG image.
int convertYCrCbtoJPEG (const byte *source, size_t w, size_t h, byte *dest, size_t &size, int quality)
 Convert a buffer source, which contains an YCrCb image, to a buffer for the dest, which will contain a JPEG image.
int convertRGBtoGrey8_601 (const byte *in, size_t bufferSize, byte *out)
 Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destination Image, which will contain a Grey8 image with the formula defined in recommendation 601.
 urbi_jpeg_error_exit (j_common_ptr cinfo)
static void init_destination (j_compress_ptr)
static boolean empty_output_buffer (j_compress_ptr)
static void term_destination (j_compress_ptr)
int convert (const UImage &source, UImage &destination)
 Convert the image src to the image dest.
static void dup (unsigned short *dst, const unsigned short *src, size_t count)
static void dup (byte *dst, const byte *src, size_t count)
template<typename D >
void pud (D *dst, const D *src, int count)
template<class S , class D >
void copy (const S *src, D *dst, int sc, int dc, int sr, int dr, size_t count, bool sf, bool df)
int convert (const USound &source, USound &destination)
 Conversion between various sound formats.
 UCLIENT_OPTION_IMPL (USyncClient, bool, startCallbackThread)
 UCLIENT_OPTION_IMPL (USyncClient, USyncClient::connect_callback_type, connectCallback)
static void destroySocket (libport::Socket *s)
const libport::PackageInfo & package_info ()
 Package information about liburbi and UObjects.
std::ostream & operator<< (std::ostream &o, const UBinary &t)
const char * format_string (UImageFormat f)
UImageFormat parse_image_format (const std::string &s)
const char * format_string (USoundFormat f)
 Conversion to string.
USoundFormat parse_sound_format (const std::string &)
 Parse a sound format string.
std::istream & operator>> (std::istream &is, USoundSampleFormat &f)
static std::ostream & operator<< (std::ostream &o, USoundSampleFormat f)
std::ostream & operator<< (std::ostream &o, const USound &s)
int & kernelMajor (std::ostream &o)
 If a kernel version was associated to this stream, its value.
 UVALUE_STRING (const void *,(libport::format("%%ptr_%x", v))) UVALUE_OPERATORS(const UDictionary &d
new UDictionary (d))
std::ostream & operator<< (std::ostream &o, const UList &t)
std::ostream & operator<< (std::ostream &s, const urbi::UDictionary &d)
std::string syncline_push (const std::string &srcdir, std::string file, unsigned line)
 Issue a syncline.
bool is_blendtype (int i)
const char * name (UBlendType u)
UBlendType ublendtype (const char *cp)
template<typename T >
uvar_ref_traits< typename
uvalue_cast_return_type< T >
::type >::type 
uvar_uvalue_cast (UValue &v)
template<>
UVaruvar_uvalue_cast< UVar & > (UValue &v)
template<class R >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(), const std::string &funname, impl::UContextImpl *ctx)
 INSTANTIATE (__)
 INSTANTIATE (const)
template<class R , class P1 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 , class P15 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15), const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 , class P15 , class P16 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, R(*fun)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16), const std::string &funname, impl::UContextImpl *ctx)
template<class R >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function0< R > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function1< R, P1 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function2< R, P1, P2 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function3< R, P1, P2, P3 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function4< R, P1, P2, P3, P4 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function5< R, P1, P2, P3, P4, P5 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function6< R, P1, P2, P3, P4, P5, P6 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function7< R, P1, P2, P3, P4, P5, P6, P7 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function8< R, P1, P2, P3, P4, P5, P6, P7, P8 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function9< R, P1, P2, P3, P4, P5, P6, P7, P8, P9 > fun, const std::string &funname, impl::UContextImpl *ctx)
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
UGenericCallbackcreateUCallback (UObject &owner, UVar *target, const std::string &type, boost::function10< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 > fun, const std::string &funname, impl::UContextImpl *ctx)
UObjectHubgetUObjectHub (const std::string &n)
UObjectgetUObject (const std::string &n)
void uobject_unarmorAndSend (const char *str)
 Send Urbi code (ghost connection in plugin mode, default connection in remote mode).
void send (const char *str)
void send (const std::string &str)
void send (const void *buf, size_t size)
 Send buf to the connection hosting the UObject.
UObjectMode getRunningMode ()
bool isPluginMode ()
bool isRemoteMode ()
URBI_SDK_API int initialize (const std::string &host, int port, size_t buflen, bool exitOnDisconnect, bool server=false, const std::vector< std::string > &files=std::vector< std::string >(), bool useSyncClient=true)
 Initialisation method, for remote mode only, that returns.
std::ostream & operator<< (std::ostream &s, const UMessage &m)
 For debugging purpose.
template<typename T >
int getValue (UMessage *m, T &val)
 Set val to the value of m.
template<>
int getValue< ufloat > (UMessage *m, ufloat &val)
template<>
int getValue< std::string > (UMessage *m, std::string &val)
UValueoperator, (UValue &a, const UObject *b)
bool is_propertytype (int i)
const char * name (UProperty u)
UProperty uproperty (const char *cp)
template<class Archive >
void saveUValue (Archive &ar, const urbi::UValue &v, std::ostream &os)
template<class Archive >
void loadUValue (Archive &ar, urbi::UValue &v, std::istream &is)
std::ostream & operator<< (std::ostream &s, const UValue &v)
template<typename Type >
uvar_ref_traits< typename
uvalue_cast_return_type< Type >
::type >::type 
uvalue_cast (UValue &v)
 UVALUE_CASTER_DEFINE (std::string)
 UVALUE_CASTER_DEFINE (bool)
 UVALUE_CASTER_DEFINE (UImage)
 UVALUE_CASTER_DEFINE (USound)
 UVALUE_CASTER_DEFINE (const UValue &)
 UVALUE_CASTER_DEFINE (UValue &)
 UVALUE_CASTER_DEFINE (const UValue)
 UVALUE_CONTAINER_CASTER_DECLARE (std::list)
 UVALUE_CONTAINER_CASTER_DECLARE (std::vector)
template<typename V >
UValueoperator, (UValue &v, const boost::unordered_map< std::string, V > &d)
template<typename T >
void uvalue_cast_bounce (T &t, UValue &v)
 Bounce to uvalue_cast().
template<typename T >
UValueoperator, (UValue &v, const UPackedData< T > &d)
int check_sdk_version (std::string where="", std::string version_exp=URBI_SDK_VERSION, std::string revision_exp=URBI_SDK_REVISION)
 Check Urbi SDK versions (compiling vs.
void check_sdk_version_once (const std::string &where="", std::string version_exp=URBI_SDK_VERSION, std::string revision_exp=URBI_SDK_REVISION)
 Check sdk version, only once per module.
UCallbackWrappercallback (UCallback cb)
 Generate a callback wrapper used by UAbstractClient::setCallback().
UCallbackWrappercallback (UCustomCallback cb, void *data)
template<class C >
UCallbackWrappercallback (C &ref, UCallbackAction(C::*func)(const UMessage &))
template<class C , class P1 >
UCallbackWrappercallback (C &ref, UCallbackAction(C::*func)(P1, const UMessage &), P1 p1)
template<class C , class P1 , class P2 >
UCallbackWrappercallback (C &ref, UCallbackAction(C::*func)(P1, P2, const UMessage &), P1 p1, P2 p2)
template<class C , class P1 , class P2 , class P3 >
UCallbackWrappercallback (C &ref, UCallbackAction(C::*func)(P1, P2, P3, const UMessage &), P1 p1, P2 p2, P3 p3)
template<class C , class P1 , class P2 , class P3 , class P4 >
UCallbackWrappercallback (C &ref, UCallbackAction(C::*func)(P1, P2, P3, P4, const UMessage &), P1 p1, P2 p2, P3 p3, P4 p4)

Variables

static
boost::thread_specific_ptr
< impl::UContextImpl >
current_context & 
noop
static impl::UContextImpldefault_context = 0
static impl::RemoteUContextImpldefaultContext
const char * tag_error = "[error]"
 Fake tag to treat error message with tags.
const char * tag_wildcard = "[wildcard]"
 Fake tag to catch all the messages.
static UCallbackID nextId
UClientdefaultClient = 0
const char * connectionTimeoutTag = "connection_timeout"
const char * internalPongTag = "internal_pong"
static const char * formats []
 DATA_DICTIONARY = 1
 dictionary
static const char semicolon = ';'
static const char pipe = '|'
static const char parallel = '&'
static const char comma = ','
static const std::string externalModuleTag = "__ExternalMessage__"
static const LockSpec LOCK_FUNCTION_DROP = LockSpec(LOCK_FUNCTION, 1)
 LockSpec that prevents parallel calls to the function, and drops all subsequent calls while one is running.
static const LockSpec LOCK_FUNCTION_KEEP_ONE = LockSpec(LOCK_FUNCTION, 2)
 LockSpec that prevents parallel calls to the function, and drops all subsequent calls while one is running but one.

Detailed Description

Global definition of the starterlist.


Typedef Documentation

typedef std::list<BinaryData> urbi::binaries_type

List of the binaries.

Definition at line 44 of file ubinary.hh.

typedef unsigned char urbi::byte

Definition at line 22 of file uconversion.hh.

typedef std::vector<std::string> urbi::files_type

Definition at line 100 of file main.cc.

typedef boost::shared_ptr<std::string> urbi::TimerHandle

Definition at line 57 of file fwd.hh.

typedef UCallbackAction(* urbi::UCallback)(const UMessage &msg)

Callback prototypes.

Definition at line 69 of file uabstractclient.hh.

typedef unsigned int urbi::UCallbackID

Definition at line 64 of file uabstractclient.hh.

typedef UCallbackAction(* urbi::UCustomCallback)(void *callbackData, const UMessage &msg)

Definition at line 71 of file uabstractclient.hh.

typedef boost::unordered_map<std::string, UValue> urbi::UDictionary

Definition at line 148 of file uvalue.hh.

typedef std::list<UObject*> urbi::UObjectList

Definition at line 41 of file fwd.hh.

typedef int urbi::UReturn

Definition at line 292 of file uobject.hh.

typedef std::list<UTimerCallback*> urbi::UTimerTable

Definition at line 97 of file utable.hh.


Enumeration Type Documentation

anonymous enum

Maximum length of an URBI tag.

Enumerator:
URBI_MAX_TAG_LENGTH 

Definition at line 62 of file uabstractclient.hh.

Locking model.

This enum is used in UBindThreadedFunction to tell what locking model should be used.

Enumerator:
LOCK_NONE 

No locking is performed.

LOCK_FUNCTION 

Prevent parallel call to the same function.

For notifies, it prevent multiple parallel notifies on the same variable

LOCK_INSTANCE 

Prevent parallel call to any function of this object.

LOCK_CLASS 

Prevent parallel call to any function of this class.

LOCK_MODULE 

Prevent parallel call to any function of this module.

Definition at line 240 of file uobject.hh.

Enumerator:
BINARY_NONE 
BINARY_UNKNOWN 
BINARY_IMAGE 
BINARY_SOUND 

Definition at line 51 of file ubinary.hh.

Possible blending mode for an UVar.

Enumerator:
UMIX 
UADD 
UDISCARD 
UQUEUE 
UCANCEL 
UNORMAL 

Definition at line 26 of file ublend-type.hh.

Return values for the callcack functions.

Each callback function, when called, must return with either URBI_CONTINUE or URBI_REMOVE:

  • URBI_CONTINUE means that the client should continue to call this callbak function.
  • URBI_REMOVE means that the client should never call this callback again.
Enumerator:
URBI_CONTINUE 
URBI_REMOVE 

Definition at line 55 of file uabstractclient.hh.

Possible value types a UValue can contain.

Enumerator:
DATA_BINARY 
DATA_DOUBLE 
DATA_LIST 
DATA_STRING 
DATA_SLOTNAME 
DATA_VOID 

Definition at line 69 of file uvalue.hh.

Enumerator:
IMAGE_UNKNOWN 
IMAGE_RGB 

RGB 24 bit/pixel.

IMAGE_YCbCr 

YCbCr 24 bit/pixel.

IMAGE_YUV 

Alternate name for YCbCr.

IMAGE_JPEG 

JPEG.

IMAGE_PPM 

RGB with a PPM header.

IMAGE_YUV422 

a.k.a YUYV, 2Bytes / pixel, Interlaced (YUYVYUYV)

IMAGE_GREY8 

Grey image, 1 byte/pixel.

IMAGE_GREY4 

Grey image, two pixels per byte.

IMAGE_YUV411_PLANAR 

4y 1u1v planar

IMAGE_NV12 

planar y then interleaved uv subsampled 2x2.

IMAGE_YUV420_PLANAR 

4y 1u1v planar

Definition at line 25 of file uimage.hh.

Enumerator:
MESSAGE_SYSTEM 

Messages prefixed by ***.

MESSAGE_ERROR 

Messages prefixed by !!!.

MESSAGE_DATA 

All other messages.

Definition at line 27 of file umessage.hh.

Possible UObject running modes.

Enumerator:
MODE_PLUGIN 
MODE_REMOTE 

Definition at line 22 of file ucontext.hh.

URBI properties associated to a variable.

Enumerator:
PROP_RANGEMIN 
PROP_RANGEMAX 
PROP_SPEEDMIN 
PROP_SPEEDMAX 
PROP_BLEND 
PROP_DELTA 
PROP_CONSTANT 

Definition at line 23 of file uproperty.hh.

Enumerator:
SOUND_RAW 
SOUND_WAV 
SOUND_MP3 
SOUND_OGG 
SOUND_UNKNOWN 

Definition at line 25 of file usound.hh.

Enumerator:
SAMPLE_SIGNED 
SAMPLE_UNSIGNED 
SAMPLE_FLOAT 

Definition at line 44 of file usound.hh.

Enumerator:
UEM_EVALFUNCTION 
UEM_ASSIGNVALUE 
UEM_EMITEVENT 
UEM_ENDEVENT 
UEM_NEW 
UEM_DELETE 
UEM_INIT 
UEM_TIMER 
UEM_NORTP 
UEM_SETRTP 
UEM_REPLY 
UEM_EVAL 
UEM_SETLOCAL 

Definition at line 18 of file uexternal.hh.

Format in which image requested with syncGetSound are transmitted

Enumerator:
URBI_TRANSMIT_JPEG 

Transmit images compressed in JPEG.

URBI_TRANSMIT_YCbCr 

Transmit raw YCbCr images.

Definition at line 30 of file usyncclient.hh.


Function Documentation

UCallbackWrapper& urbi::callback ( UCallback  cb) [inline]

Generate a callback wrapper used by UAbstractClient::setCallback().

You can pass to this function:

  • A function pointer, with signature UCallbackAction(*)(const UMessage&)
     setCallback(callback(&myFunction), "tag"); 
    
  • A reference to a class instance and a pointer to a member function.
     setCallback(callback(*this, &MyClass::myMemberFunction)); 
    

Definition at line 677 of file uabstractclient.hh.

Referenced by connect_plugin(), initialize(), urbi::impl::RemoteUContextImpl::makeRTPLink(), and urbi::impl::RemoteUContextImpl::RemoteUContextImpl().

UCallbackWrapper& urbi::callback ( UCustomCallback  cb,
void *  data 
) [inline]

Definition at line 681 of file uabstractclient.hh.

template<class C >
UCallbackWrapper& urbi::callback ( C &  ref,
UCallbackAction(C::*)(const UMessage &)  func 
)

Definition at line 688 of file uabstractclient.hh.

template<class C , class P1 >
UCallbackWrapper& urbi::callback ( C &  ref,
UCallbackAction(C::*)(P1, const UMessage &)  func,
P1  p1 
)

Definition at line 694 of file uabstractclient.hh.

template<class C , class P1 , class P2 >
UCallbackWrapper& urbi::callback ( C &  ref,
UCallbackAction(C::*)(P1, P2, const UMessage &)  func,
P1  p1,
P2  p2 
)

Definition at line 700 of file uabstractclient.hh.

template<class C , class P1 , class P2 , class P3 >
UCallbackWrapper& urbi::callback ( C &  ref,
UCallbackAction(C::*)(P1, P2, P3, const UMessage &)  func,
P1  p1,
P2  p2,
P3  p3 
)

Definition at line 707 of file uabstractclient.hh.

template<class C , class P1 , class P2 , class P3 , class P4 >
UCallbackWrapper& urbi::callback ( C &  ref,
UCallbackAction(C::*)(P1, P2, P3, P4, const UMessage &)  func,
P1  p1,
P2  p2,
P3  p3,
P4  p4 
)

Definition at line 714 of file uabstractclient.hh.

int urbi::check_sdk_version ( std::string  where = "",
std::string  version_exp = URBI_SDK_VERSION,
std::string  revision_exp = URBI_SDK_REVISION 
) [inline]

Check Urbi SDK versions (compiling vs.

loading), throw if mismatch.

Parameters:
wherea string to name the module
version_expthe compiling version (e.g., "2.7.1")
revision_expthe compiling revision (e.g., "bd03972")

Definition at line 28 of file version-check.hh.

References GD_CATEGORY(), and package_info().

Referenced by check_sdk_version_once(), and urbi::VersionChecker::VersionChecker().

void urbi::check_sdk_version_once ( const std::string &  where = "",
std::string  version_exp = URBI_SDK_VERSION,
std::string  revision_exp = URBI_SDK_REVISION 
) [inline]

Check sdk version, only once per module.

Definition at line 72 of file version-check.hh.

References check_sdk_version().

URBI_SDK_API UClient & urbi::connect ( const std::string &  host)

Create a new UClient object.

Definition at line 322 of file uclient.cc.

References urbi::UClient::UClient().

Referenced by urbi::UClient::connect_().

URBI_SDK_API int urbi::convert ( const UImage &  source,
UImage &  destination 
)

Convert the image src to the image dest.

The image format of the destination has to be initialized. If other fields are empty, they are supposed to be identical to the source image.

The destination image can only have one of the following type rgb, ppm, YCbCr or jpeg.

JPEG compression not implemented.

Definition at line 455 of file uconversion.cc.

References convertJPEGtoRGB(), convertJPEGtoYCrCb(), convertRGBtoGrey8_601(), convertRGBtoJPEG(), convertRGBtoYCbCr(), convertYCbCrtoRGB(), convertYCrCbtoJPEG(), IMAGE_GREY4, IMAGE_GREY8, IMAGE_JPEG, IMAGE_NV12, IMAGE_PPM, IMAGE_RGB, IMAGE_UNKNOWN, IMAGE_YCbCr, IMAGE_YUV411_PLANAR, IMAGE_YUV420_PLANAR, and IMAGE_YUV422.

Referenced by urbi::USyncClient::syncGetSound().

URBI_SDK_API int urbi::convert ( const USound &  source,
USound &  destination 
)

Conversion between various sound formats.

Supported sound formats are RAW format and WAV format. The dest sound must have its sound format defined and any other zero properties (channel, sampleSize, rate, sampleFormat) are copied from the source sound.

The function handles memory reallocation of the destination data if the size is to small to contains the converted sound.

Definition at line 893 of file uconversion.cc.

References urbi::wavheader::bitperchannel, urbi::wavheader::bytesperechant, urbi::wavheader::bytespersec, urbi::USound::channels, urbi::wavheader::channels, copy(), urbi::USound::data, urbi::wavheader::data, urbi::wavheader::datalength, dup(), urbi::wavheader::fmt, urbi::wavheader::freqechant, urbi::wavheader::length, urbi::wavheader::lnginfo, urbi::wavheader::one, pud(), urbi::USound::rate, urbi::wavheader::riff, SAMPLE_SIGNED, SAMPLE_UNSIGNED, urbi::USound::sampleFormat, urbi::USound::sampleSize, urbi::USound::size, SOUND_RAW, SOUND_WAV, urbi::USound::soundFormat, and urbi::wavheader::wave.

static int urbi::convert_jpeg_to ( const byte *  source,
size_t  sourcelen,
UImageFormat  dest_format,
byte **  dest,
size_t &  size,
size_t &  w,
size_t &  h 
) [static]

Convert a buffer source, which contains a JPEG image, to a buffer for the dest, which will contain a RGB/YCrCb image (depending on dest_format).

The source buffer is expected to be a pointer to a valid memory area of size equal to sourcelen.

If dest buffer pointer is nul, then it will be changed to target the allocated RGB/YCrCb image of size size. Otherwise a part of the RGB/YCrCb image will be copied in the buffer in the limit of the size argument.

The property w and h respectively correspond to the width and the height that are retrieved during the convertion of the convertion of the data.

Returns:
1 on success.

Definition at line 144 of file uconversion.cc.

References IMAGE_RGB, and IMAGE_YCbCr.

Referenced by convertJPEGtoRGB(), and convertJPEGtoYCrCb().

URBI_SDK_API int urbi::convertJPEGtoRGB ( const byte *  source,
size_t  sourcelen,
byte **  dest,
size_t &  size,
size_t &  w,
size_t &  h 
)

Definition at line 183 of file uconversion.cc.

References convert_jpeg_to(), and IMAGE_RGB.

Referenced by convert(), and urbi::USyncClient::syncGetImage().

URBI_SDK_API int urbi::convertJPEGtoYCrCb ( const byte *  source,
size_t  sourcelen,
byte **  dest,
size_t &  size,
size_t &  w,
size_t &  h 
)

Definition at line 175 of file uconversion.cc.

References convert_jpeg_to(), and IMAGE_YCbCr.

Referenced by convert(), and urbi::USyncClient::syncGetImage().

URBI_SDK_API int urbi::convertRGBtoGrey8_601 ( const byte *  in,
size_t  bufferSize,
byte *  out 
)

Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destination Image, which will contain a Grey8 image with the formula defined in recommendation 601.

( see http://fr.wikipedia.org/wiki/Niveau_de_gris )

The sourceImage and destinationImage are expected to be pointers to a valid memory area of size equal to bufferSize for the input image and equal to the third for the output image.

Definition at line 209 of file uconversion.cc.

Referenced by convert().

URBI_SDK_API int urbi::convertRGBtoJPEG ( const byte *  source,
size_t  w,
size_t  h,
byte *  dest,
size_t &  size,
int  quality 
)

Convert a buffer source, which contains an RGB image, to a buffer for the dest, which will contain a JPEG image.

The source and dest are expected to be pointers to a valid memory area of size equal to size. The size argument is modified to represent the size of the JPEG data inside the dest buffer.

Arguments w, h and quality are used to respectively define the width, the height and the quality of the compressed image.

Definition at line 192 of file uconversion.cc.

Referenced by convert().

URBI_SDK_API int urbi::convertRGBtoYCbCr ( const byte *  source,
size_t  sourcelen,
byte *  dest 
)

Convert a buffer in containing a source image, (an RGB image), to a buffer out for the destinationImage, which will contain a YCbCr (YUV) image.

The sourceImage and destinationImage are expected to be pointers to a valid memory area of size equal to bufferSize.

Definition at line 60 of file uconversion.cc.

Referenced by convert().

URBI_SDK_API int urbi::convertYCbCrtoRGB ( const byte *  source,
size_t  sourcelen,
byte *  dest 
)

Convert a buffer in, which contains an YCrCb, image to a buffer for the out, which will contain a RGB image.

The in and out are expected to be pointers to a valid memory area of size equal to bufferSize.

Definition at line 97 of file uconversion.cc.

Referenced by convert(), and urbi::USyncClient::syncGetImage().

URBI_SDK_API int urbi::convertYCrCbtoJPEG ( const byte *  source,
size_t  w,
size_t  h,
byte *  dest,
size_t &  size,
int  quality 
)

Convert a buffer source, which contains an YCrCb image, to a buffer for the dest, which will contain a JPEG image.

The source and dest are expected to be pointers to a valid memory area of size equal to size. The size argument is modified to represent the size of the JPEG data inside the dest buffer.

Arguments w, h and quality are used to respectively define the width, the height and the quality of the compressed image.

Definition at line 201 of file uconversion.cc.

Referenced by convert().

URBI_SDK_API int urbi::convertYCrCbtoYCbCr ( const byte *  source,
size_t  sourcelen,
byte *  dest 
)

Image format conversion functions.

Convert a buffer in, which contains an YCrCb, image to a buffer for the out, which will contain a YCbCr image. This function is its own reverse operation and can be used to convert YCbCr image into YCrCb.

The in and out are expected to be pointers to a valid memory area of size equal to bufferSize.

Definition at line 81 of file uconversion.cc.

template<class S , class D >
void urbi::copy ( const S *  src,
D *  dst,
int  sc,
int  dc,
int  sr,
int  dr,
size_t  count,
bool  sf,
bool  df 
)

Definition at line 817 of file uconversion.cc.

Referenced by convert().

template<class R >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)()  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 246 of file ucallbacks.hh.

Referenced by urbi::impl::RemoteUObjectImpl::initialize().

template<class R , class P1 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 364 of file ucallbacks.hh.

template<class R , class P1 , class P2 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 482 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 600 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 718 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 836 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 954 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1072 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1190 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1308 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1426 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1544 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1662 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1780 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 1898 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 , class P15 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2016 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 , class P12 , class P13 , class P14 , class P15 , class P16 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
R(*)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16)  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2134 of file ucallbacks.hh.

template<class R >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function0< R >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2198 of file ucallbacks.hh.

template<class R , class P1 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function1< R, P1 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2254 of file ucallbacks.hh.

template<class R , class P1 , class P2 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function2< R, P1, P2 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2310 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function3< R, P1, P2, P3 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2366 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function4< R, P1, P2, P3, P4 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2422 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function5< R, P1, P2, P3, P4, P5 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2478 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function6< R, P1, P2, P3, P4, P5, P6 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2534 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function7< R, P1, P2, P3, P4, P5, P6, P7 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2590 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function8< R, P1, P2, P3, P4, P5, P6, P7, P8 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2646 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function9< R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2702 of file ucallbacks.hh.

template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 >
UGenericCallback* urbi::createUCallback ( UObject &  owner,
UVar *  target,
const std::string &  type,
boost::function10< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >  fun,
const std::string &  funname,
impl::UContextImpl *  ctx 
)

Definition at line 2758 of file ucallbacks.hh.

static UCallbackAction urbi::debug ( const UMessage &  msg) [static]

Definition at line 49 of file main.cc.

References URBI_CONTINUE.

Referenced by initialize().

URBI_SDK_API std::ostream & urbi::default_stream ( )

Return a stream for error, preferrably the one the defaultClient.

Definition at line 54 of file uabstractclient.cc.

References getDefaultClient().

static void urbi::destroySocket ( libport::Socket *  s) [static]

Definition at line 590 of file usyncclient.cc.

Referenced by urbi::USyncClient::listen().

URBI_SDK_API void urbi::disconnect ( UClient &  client)

Destroy an UClient object Be careful: don't use client after called this function.

Definition at line 327 of file uclient.cc.

static void urbi::dup ( unsigned short *  dst,
const unsigned short *  src,
size_t  count 
) [static]

Definition at line 781 of file uconversion.cc.

Referenced by convert().

static void urbi::dup ( byte *  dst,
const byte *  src,
size_t  count 
) [static]

Definition at line 795 of file uconversion.cc.

ATTRIBUTE_DEPRECATED URBI_SDK_API void urbi::echo ( const char *  format,
  ... 
)

echo method

Definition at line 404 of file uobject-common.cc.

static boolean urbi::empty_output_buffer ( j_compress_ptr  ) [static]

Definition at line 294 of file uconversion.cc.

static UCallbackAction urbi::endProgram ( const UMessage &  msg) [static]

Definition at line 58 of file main.cc.

References exit(), and URBI_CONTINUE.

Referenced by initialize().

URBI_SDK_API void urbi::execute ( )

Must be called at the last line of your main() function.

Definition at line 310 of file uclient.cc.

URBI_SDK_API void urbi::exit ( int  code)
URBI_SDK_API const char * urbi::format_string ( USoundFormat  f)

Conversion to string.

Definition at line 42 of file usound.cc.

References cardinality_of, formats, and SOUND_UNKNOWN.

URBI_SDK_API const char * urbi::format_string ( UImageFormat  f)

Definition at line 44 of file uimage.cc.

References cardinality_of, formats, and IMAGE_UNKNOWN.

URBI_SDK_API UClient & urbi::get_default_client ( )

Same as getDefaultClient(), but as a reference.

Definition at line 1114 of file uabstractclient.cc.

References getDefaultClient().

URBI_SDK_API std::string urbi::getClientConnectionID ( const UAbstractClient *  cli)

Definition at line 1095 of file uabstractclient.cc.

References urbi::UAbstractClient::connectionID().

URBI_SDK_API UClient * urbi::getDefaultClient ( )
URBI_SDK_API std::string urbi::getFilteredHostname ( )

Return current hostname mangled to fit into an urbiscript variable name.

Definition at line 450 of file uobject-common.cc.

Referenced by fusion_id(), urbi::impl::RemoteUObjectImpl::initialize(), urbi::impl::RemoteUContextImpl::RemoteUContextImpl(), urbi::impl::rtp_id(), and rtp_id().

UObjectMode urbi::getRunningMode ( ) [inline]

Definition at line 147 of file ucontext.hxx.

References getCurrentContext(), and running_mode().

Referenced by isPluginMode(), and isRemoteMode().

UObject * urbi::getUObject ( const std::string &  n) [inline]
UObjectHub * urbi::getUObjectHub ( const std::string &  n) [inline]

Definition at line 58 of file ucontext.hxx.

References getCurrentContext(), and urbi::impl::UContextImpl::getUObjectHub().

template<typename T >
int urbi::getValue ( UMessage *  m,
T &  val 
) [inline]

Set val to the value of m.

Returns:
1 on success, 0 on failure. An error message is printed on error.

Definition at line 21 of file umessage.hxx.

References MESSAGE_DATA, urbi::UMessage::type, and urbi::UMessage::value.

Referenced by urbi::USyncClient::syncGetDevice(), urbi::USyncClient::syncGetNormalizedDevice(), urbi::USyncClient::syncGetResult(), and urbi::USyncClient::syncGetValue().

template<>
int urbi::getValue< std::string > ( UMessage *  m,
std::string &  val 
) [inline]

Definition at line 45 of file umessage.hxx.

References DATA_STRING, and MESSAGE_DATA.

template<>
int urbi::getValue< ufloat > ( UMessage *  m,
ufloat &  val 
) [inline]

Definition at line 33 of file umessage.hxx.

References DATA_DOUBLE, and MESSAGE_DATA.

static void urbi::init_destination ( j_compress_ptr  ) [static]

Definition at line 290 of file uconversion.cc.

URBI_SDK_API int urbi::initialize ( const std::string &  host,
int  port,
size_t  buflen,
bool  exitOnDisconnect,
bool  server = false,
const std::vector< std::string > &  files = std::vector< std::string >(),
bool  useSyncClient = true 
)

Initialisation method, for remote mode only, that returns.

Parameters:
hostthe host to connect to.
portthe port number to connect to (you can use the constant UAbstractClient::URBI_PORT).
buflenreceive and send buffer size (you can use the constant UAbstractClient::URBI_BUFLEN).
exitOnDisconnectcall exit() if we get disconnected from server.
serverwhether listens instead of connecting.
filesFiles to send when connected.
useSyncClientuse a UClient instead of USyncClient if false.
Returns:
0 if no error occured.
int urbi::initialize ( const std::string &  host,
int  port,
size_t  buflen,
bool  exitOnDisconnect,
bool  server,
const files_type &  files,
bool  useSyncClient 
)
urbi::INSTANTIATE ( __  )
urbi::INSTANTIATE ( const  )
bool urbi::is_blendtype ( int  i) [inline]

Definition at line 52 of file ublend-type.hh.

References UMIX, and UNORMAL.

Referenced by ublendtype().

bool urbi::is_propertytype ( int  i) [inline]

Definition at line 51 of file uproperty.hh.

References PROP_CONSTANT, and PROP_RANGEMAX.

Referenced by uproperty().

bool urbi::isPluginMode ( ) [inline]

Definition at line 164 of file ucontext.hxx.

References getRunningMode(), and MODE_PLUGIN.

bool urbi::isRemoteMode ( ) [inline]

Definition at line 177 of file ucontext.hxx.

References getRunningMode(), and MODE_REMOTE.

URBI_SDK_API int urbi::kernelMajor ( )

Definition at line 22 of file kernel-version.cc.

References getDefaultClient(), and urbi::UAbstractClient::kernelMajor().

Referenced by operator<<().

URBI_SDK_API int & urbi::kernelMajor ( std::ostream &  o)

If a kernel version was associated to this stream, its value.

Definition at line 39 of file uvalue-common.cc.

References version().

URBI_SDK_API int urbi::kernelMinor ( )

Definition at line 29 of file kernel-version.cc.

References getDefaultClient(), and urbi::UAbstractClient::kernelMinor().

URBI_SDK_API const std::string & urbi::kernelVersion ( )

Definition at line 36 of file kernel-version.cc.

References getDefaultClient(), and urbi::UAbstractClient::kernelVersion().

URBI_SDK_API int urbi::main ( int  argc,
const char *  argv[],
UrbiRoot urbi_root,
bool  block,
bool  errors 
)

Initialisation method using C style arguments.

Definition at line 41 of file urbi-main.cc.

Referenced by urbi_main(), and urbi_main_args().

URBI_SDK_API int urbi::main ( const libport::cli_args_type &  args,
UrbiRoot root,
bool  block = true,
bool  errors = false 
)

Initialization method.

Both plugin and remote libraries include a main function whose only effect is to call urbi::main. If you need to write your own main, call urbi::main(argc, argv) after your work is done. This function returns if block is set to false.

Definition at line 182 of file main.cc.

References urbi::UAbstractClient::default_host(), exit(), initialize(), urbi::baseURBIStarter::list(), urbi::baseURBIStarterHub::list(), urbi::baseURBIStarter::name, urbi::baseURBIStarterHub::name, urbi::UAbstractClient::URBI_BUFLEN, urbi::UAbstractClient::URBI_PORT, usage(), and version().

bool urbi::matching_tag ( const UMessage &  msg,
const char *  tag 
) [inline]
const char* urbi::name ( UProperty  u) [inline]

Definition at line 60 of file uproperty.hh.

static void urbi::noop ( impl::UContextImpl *  ) [static]

Definition at line 44 of file uobject-common.cc.

template<typename V >
UValue& urbi::operator, ( UValue &  v,
const boost::unordered_map< std::string, V > &  d 
) [inline]
template<typename T >
UValue& urbi::operator, ( UValue &  v,
const UPackedData< T > &  d 
) [inline]
UValue & urbi::operator, ( UValue &  a,
const UObject *  b 
) [inline]

Definition at line 136 of file uobject.hxx.

References urbi::UObject::__name, DATA_SLOTNAME, and urbi::UValue::type.

static std::ostream& urbi::operator<< ( std::ostream &  o,
USoundSampleFormat  f 
) [static]

Definition at line 78 of file usound.cc.

References SAMPLE_SIGNED, and SAMPLE_UNSIGNED.

std::ostream & urbi::operator<< ( std::ostream &  s,
const UMessage &  m 
) [inline]

For debugging purpose.

Definition at line 62 of file umessage.hxx.

References urbi::UMessage::print().

URBI_SDK_API std::ostream & urbi::operator<< ( std::ostream &  o,
const UVar &  u 
)

Report u on o for debugging.

Definition at line 140 of file uvar-common.cc.

References urbi::UVar::val().

std::ostream & urbi::operator<< ( std::ostream &  o,
const USound &  s 
)

Definition at line 148 of file usound.cc.

References urbi::USound::dump().

std::ostream & urbi::operator<< ( std::ostream &  s,
const UValue &  v 
) [inline]

Definition at line 209 of file uvalue.hxx.

References urbi::UValue::print().

URBI_SDK_API std::ostream & urbi::operator<< ( std::ostream &  o,
const UBinary &  t 
)

Definition at line 328 of file ubinary.cc.

References kernelMajor(), and urbi::UBinary::print().

URBI_SDK_API std::ostream & urbi::operator<< ( std::ostream &  o,
const UList &  t 
)

Definition at line 650 of file uvalue-common.cc.

References urbi::UList::print().

URBI_SDK_API std::ostream & urbi::operator<< ( std::ostream &  s,
const urbi::UDictionary d 
)

Definition at line 656 of file uvalue-common.cc.

std::istream & urbi::operator>> ( std::istream &  is,
USoundSampleFormat &  f 
)

Definition at line 68 of file usound.cc.

URBI_SDK_API const libport::PackageInfo & urbi::package_info ( )

Package information about liburbi and UObjects.

Definition at line 22 of file package-info.cc.

Referenced by check_sdk_version(), initialize(), version(), and version().

URBI_SDK_API UImageFormat urbi::parse_image_format ( const std::string &  s)

Definition at line 55 of file uimage.cc.

References cardinality_of, formats, and IMAGE_UNKNOWN.

Referenced by urbi::UBinary::parse().

URBI_SDK_API USoundFormat urbi::parse_sound_format ( const std::string &  s)

Parse a sound format string.

Definition at line 53 of file usound.cc.

References cardinality_of, formats, and SOUND_UNKNOWN.

Referenced by urbi::UBinary::parse().

template<typename D >
void urbi::pud ( D *  dst,
const D *  src,
int  count 
)

Definition at line 810 of file uconversion.cc.

Referenced by convert().

URBI_SDK_API UObjectMode urbi::running_mode ( )

Definition at line 70 of file uobject.cc.

References MODE_REMOTE.

Referenced by getRunningMode().

void urbi::send ( const char *  str) [inline]
void urbi::send ( const std::string &  str) [inline]

Definition at line 108 of file ucontext.hxx.

References getCurrentContext(), and urbi::impl::UContextImpl::send().

void urbi::send ( const void *  buf,
size_t  size 
) [inline]

Send buf to the connection hosting the UObject.

Definition at line 121 of file ucontext.hxx.

References getCurrentContext(), and urbi::impl::UContextImpl::send().

static UCallbackAction urbi::sendSound_ ( void *  cb,
const UMessage &  msg 
) [static]

TODO: make this constant modifiable

Definition at line 460 of file uabstractclient.cc.

References urbi::wavheader::datalength, urbi::wavheader::length, SOUND_WAV, urbi::UMessage::tag, URBI_CONTINUE, and URBI_REMOVE.

Referenced by urbi::UAbstractClient::sendSound().

URBI_SDK_API void urbi::setDefaultClient ( UClient *  cl)

Redefine the default client.

Definition at line 1119 of file uabstractclient.cc.

References defaultClient.

Referenced by initialize(), and urbi::UAbstractClient::~UAbstractClient().

URBI_SDK_API void urbi::setThreadLimit ( size_t  nThreads)

Set maximum number of threads to use for threaded calls (0=unlimited).

Definition at line 193 of file uobject-common.cc.

References urbi::UGenericCallback::threadPool().

URBI_SDK_API std::string urbi::syncline_push ( const std::string &  srcdir,
std::string  file,
unsigned  line 
)

Issue a syncline.

Parameters:
srcdirthe path from here to the top-srcdir. Will be removed from file.
file__FILE__
line__LINE__

Definition at line 680 of file uvalue-common.cc.

static void urbi::term_destination ( j_compress_ptr  ) [static]

Definition at line 299 of file uconversion.cc.

UBlendType urbi::ublendtype ( const char *  cp) [inline]

Definition at line 67 of file ublend-type.hh.

References is_blendtype().

urbi::UCLIENT_OPTION_IMPL ( USyncClient  ,
bool  ,
startCallbackThread   
)
urbi::UCLIENT_OPTION_IMPL ( USyncClient  ,
USyncClient::connect_callback_type  ,
connectCallback   
)
new urbi::UDictionary ( )
URBI_SDK_API std::ostream & urbi::unarmorAndSend ( const char *  a,
UAbstractClient *  where 
)

Send a possibly armored string to the default client.

Definition at line 1126 of file uabstractclient.cc.

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

void urbi::uobject_unarmorAndSend ( const char *  str) [inline]

Send Urbi code (ghost connection in plugin mode, default connection in remote mode).

Definition at line 83 of file ucontext.hxx.

References getCurrentContext(), and urbi::impl::UContextImpl::uobject_unarmorAndSend().

UProperty urbi::uproperty ( const char *  cp) [inline]

Definition at line 67 of file uproperty.hh.

References is_propertytype().

urbi::urbi_jpeg_error_exit ( j_common_ptr  cinfo)

Definition at line 271 of file uconversion.cc.

static void urbi::usage ( ) [static]
template<typename T >
void urbi::uvalue_cast_bounce ( T &  t,
UValue &  v 
) [inline]

Bounce to uvalue_cast().

Useful when the type of the argument is not directly available.

Definition at line 395 of file uvalue.hxx.

References uvalue_cast().

urbi::UVALUE_CASTER_DEFINE ( std::string  )
urbi::UVALUE_CASTER_DEFINE ( bool  )
urbi::UVALUE_CASTER_DEFINE ( UImage  )
urbi::UVALUE_CASTER_DEFINE ( USound  )
urbi::UVALUE_CASTER_DEFINE ( const UValue &  )
urbi::UVALUE_CASTER_DEFINE ( UValue &  )
urbi::UVALUE_CASTER_DEFINE ( const UValue  )
urbi::UVALUE_CONTAINER_CASTER_DECLARE ( std::list  )
urbi::UVALUE_CONTAINER_CASTER_DECLARE ( std::vector  )
urbi::UVALUE_STRING ( const void *  ,
(libport::format("%%ptr_%x", v))   
) const
template<typename T >
uvar_ref_traits<typename uvalue_cast_return_type<T>::type>::type urbi::uvar_uvalue_cast ( UValue &  v) [inline]

Definition at line 134 of file ucallbacks.hh.

References DATA_VOID, urbi::UValue::storage, urbi::UValue::type, uvalue_cast(), and urbi::UVar::val().

Referenced by urbi::UCallback1< OBJ, R, P1 >::__evalcall(), urbi::UFCallback1< R, P1 >::__evalcall(), urbi::UCallback2< OBJ, R, P1, P2 >::__evalcall(), urbi::UFCallback2< R, P1, P2 >::__evalcall(), urbi::UCallback3< OBJ, R, P1, P2, P3 >::__evalcall(), urbi::UFCallback3< R, P1, P2, P3 >::__evalcall(), urbi::UCallback4< OBJ, R, P1, P2, P3, P4 >::__evalcall(), urbi::UFCallback4< R, P1, P2, P3, P4 >::__evalcall(), urbi::UCallback5< OBJ, R, P1, P2, P3, P4, P5 >::__evalcall(), urbi::UFCallback5< R, P1, P2, P3, P4, P5 >::__evalcall(), urbi::UCallback6< OBJ, R, P1, P2, P3, P4, P5, P6 >::__evalcall(), urbi::UFCallback6< R, P1, P2, P3, P4, P5, P6 >::__evalcall(), urbi::UCallback7< OBJ, R, P1, P2, P3, P4, P5, P6, P7 >::__evalcall(), urbi::UFCallback7< R, P1, P2, P3, P4, P5, P6, P7 >::__evalcall(), urbi::UCallback8< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8 >::__evalcall(), urbi::UFCallback8< R, P1, P2, P3, P4, P5, P6, P7, P8 >::__evalcall(), urbi::UCallback9< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::__evalcall(), urbi::UFCallback9< R, P1, P2, P3, P4, P5, P6, P7, P8, P9 >::__evalcall(), urbi::UCallback10< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >::__evalcall(), urbi::UFCallback10< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10 >::__evalcall(), urbi::UCallback11< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::__evalcall(), urbi::UFCallback11< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11 >::__evalcall(), urbi::UCallback12< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >::__evalcall(), urbi::UFCallback12< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12 >::__evalcall(), urbi::UCallback13< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >::__evalcall(), urbi::UFCallback13< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 >::__evalcall(), urbi::UCallback14< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >::__evalcall(), urbi::UFCallback14< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14 >::__evalcall(), urbi::UCallback15< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >::__evalcall(), urbi::UFCallback15< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15 >::__evalcall(), urbi::UCallback16< OBJ, R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16 >::__evalcall(), and urbi::UFCallback16< R, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16 >::__evalcall().

template<>
UVar& urbi::uvar_uvalue_cast< UVar & > ( UValue &  v) [inline]

Definition at line 148 of file ucallbacks.hh.

References uvalue_cast().

static void urbi::version ( ) [static]

Definition at line 94 of file main.cc.

References exit(), and package_info().

Referenced by kernelMajor(), and main().


Variable Documentation

const char urbi::comma = ',' [static]

Definition at line 800 of file uabstractclient.hh.

const char * urbi::connectionTimeoutTag = "connection_timeout"

Definition at line 16 of file utag.cc.

Referenced by urbi::UClient::pongTimeout().

Definition at line 49 of file uobject-common.cc.

Referenced by getCurrentContext(), and setCurrentContext().

Definition at line 45 of file main.cc.

Referenced by initialize().

Definition at line 409 of file uvalue-common.cc.

static const char * urbi::formats [static]
Initial value:
  {
    "image_unknown",
    "rgb",
    "YCbCr",
    "jpeg",
    "ppm",
    "YUV422",
    "grey8",
    "grey4",
    "yuv411_planar",
    "nv12",
    "yuv420_planar"
  }

Definition at line 28 of file uimage.cc.

Referenced by format_string(), urbi::UValue::format_string(), parse_image_format(), and parse_sound_format().

const char * urbi::internalPongTag = "internal_pong"

Definition at line 17 of file utag.cc.

Referenced by urbi::UClient::onConnect(), and urbi::UClient::sendPing().

const LockSpec urbi::LOCK_FUNCTION_DROP = LockSpec(LOCK_FUNCTION, 1) [static]

LockSpec that prevents parallel calls to the function, and drops all subsequent calls while one is running.

Definition at line 269 of file uobject.hh.

const LockSpec urbi::LOCK_FUNCTION_KEEP_ONE = LockSpec(LOCK_FUNCTION, 2) [static]

LockSpec that prevents parallel calls to the function, and drops all subsequent calls while one is running but one.

This mode will ensure maximum CPU usage.

Definition at line 275 of file uobject.hh.

Definition at line 66 of file uabstractclient.cc.

Referenced by urbi::UAbstractClient::addCallback().

boost::thread_specific_ptr<impl::UContextImpl> current_context& urbi::noop [static]

Definition at line 48 of file uobject-common.cc.

const char urbi::parallel = '&' [static]

Definition at line 799 of file uabstractclient.hh.

const char urbi::pipe = '|' [static]

Definition at line 798 of file uabstractclient.hh.

const char urbi::semicolon = ';' [static]

Definition at line 797 of file uabstractclient.hh.

const char* urbi::tag_error = "[error]"

Fake tag to treat error message with tags.

Definition at line 49 of file uabstractclient.cc.

Referenced by matching_tag(), urbi::UAbstractClient::process_recv_buffer_text_(), and urbi::UAbstractClient::setErrorCallback().

const char* urbi::tag_wildcard = "[wildcard]"

Fake tag to catch all the messages.

Definition at line 51 of file uabstractclient.cc.

Referenced by matching_tag(), and urbi::UAbstractClient::setWildcardCallback().