|
Urbi SDK Remote for C++
2.7.5
|
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< BinaryData > | binaries_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::UContextImpl * | getCurrentContext () |
| 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) |
| UClient * | getDefaultClient () |
| Return the first UClient created by the program. | |
| UClient & | get_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. | |
| UClient & | connect (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<> | |
| UVar & | uvar_uvalue_cast< UVar & > (UValue &v) |
| template<class R > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (UObject &owner, UVar *target, const std::string &type, boost::function0< R > fun, const std::string &funname, impl::UContextImpl *ctx) |
| template<class R , class P1 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | createUCallback (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 > | |
| UGenericCallback * | 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) |
| template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
| UGenericCallback * | 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) |
| template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
| UGenericCallback * | 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) |
| template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
| UGenericCallback * | 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) |
| template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 > | |
| UGenericCallback * | 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) |
| template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 > | |
| UGenericCallback * | 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) |
| UObjectHub * | getUObjectHub (const std::string &n) |
| UObject * | getUObject (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) |
| UValue & | operator, (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 > | |
| UValue & | operator, (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 > | |
| UValue & | operator, (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. | |
| UCallbackWrapper & | callback (UCallback cb) |
| Generate a callback wrapper used by UAbstractClient::setCallback(). | |
| UCallbackWrapper & | callback (UCustomCallback cb, void *data) |
| template<class C > | |
| UCallbackWrapper & | callback (C &ref, UCallbackAction(C::*func)(const UMessage &)) |
| template<class C , class P1 > | |
| UCallbackWrapper & | callback (C &ref, UCallbackAction(C::*func)(P1, const UMessage &), P1 p1) |
| template<class C , class P1 , class P2 > | |
| UCallbackWrapper & | callback (C &ref, UCallbackAction(C::*func)(P1, P2, const UMessage &), P1 p1, P2 p2) |
| template<class C , class P1 , class P2 , class P3 > | |
| UCallbackWrapper & | callback (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 > | |
| UCallbackWrapper & | callback (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::UContextImpl * | default_context = 0 |
| static impl::RemoteUContextImpl * | defaultContext |
| 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 |
| UClient * | defaultClient = 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. | |
Global definition of the starterlist.
| 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 |
| typedef boost::shared_ptr<std::string> urbi::TimerHandle |
| 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 |
| typedef std::list<UObject*> urbi::UObjectList |
| typedef int urbi::UReturn |
Definition at line 292 of file uobject.hh.
| typedef std::list<UTimerCallback*> urbi::UTimerTable |
| anonymous enum |
Maximum length of an URBI tag.
Definition at line 62 of file uabstractclient.hh.
| enum urbi::LockMode |
Locking model.
This enum is used in UBindThreadedFunction to tell what locking model should be used.
Definition at line 240 of file uobject.hh.
| enum urbi::UBinaryType |
Definition at line 51 of file ubinary.hh.
| enum urbi::UBlendType |
Possible blending mode for an UVar.
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:
Definition at line 55 of file uabstractclient.hh.
| enum urbi::UDataType |
| enum urbi::UImageFormat |
| enum urbi::UMessageType |
| MESSAGE_SYSTEM |
Messages prefixed by ***. |
| MESSAGE_ERROR |
Messages prefixed by !!!. |
| MESSAGE_DATA |
All other messages. |
Definition at line 27 of file umessage.hh.
| enum urbi::UObjectMode |
Possible UObject running modes.
Definition at line 22 of file ucontext.hh.
| enum urbi::UProperty |
URBI properties associated to a variable.
| PROP_RANGEMIN | |
| PROP_RANGEMAX | |
| PROP_SPEEDMIN | |
| PROP_SPEEDMAX | |
| PROP_BLEND | |
| PROP_DELTA | |
| PROP_CONSTANT |
Definition at line 23 of file uproperty.hh.
| enum urbi::USoundFormat |
| 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
| URBI_TRANSMIT_JPEG |
Transmit images compressed in JPEG. |
| URBI_TRANSMIT_YCbCr |
Transmit raw YCbCr images. |
Definition at line 30 of file usyncclient.hh.
| UCallbackWrapper& urbi::callback | ( | UCallback | cb | ) | [inline] |
Generate a callback wrapper used by UAbstractClient::setCallback().
You can pass to this function:
setCallback(callback(&myFunction), "tag");
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.
| UCallbackWrapper& urbi::callback | ( | C & | ref, |
| UCallbackAction(C::*)(const UMessage &) | func | ||
| ) |
Definition at line 688 of file uabstractclient.hh.
| UCallbackWrapper& urbi::callback | ( | C & | ref, |
| UCallbackAction(C::*)(P1, const UMessage &) | func, | ||
| P1 | p1 | ||
| ) |
Definition at line 694 of file uabstractclient.hh.
| UCallbackWrapper& urbi::callback | ( | C & | ref, |
| UCallbackAction(C::*)(P1, P2, const UMessage &) | func, | ||
| P1 | p1, | ||
| P2 | p2 | ||
| ) |
Definition at line 700 of file uabstractclient.hh.
| 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.
| 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.
| where | a string to name the module |
| version_exp | the compiling version (e.g., "2.7.1") |
| revision_exp | the 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.
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.
| 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().
| 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().
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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] |
| 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 | ) |
Terminate your Urbi program.
Definition at line 316 of file uclient.cc.
Referenced by connect_plugin(), urbi::impl::RemoteUContextImpl::dispatcher(), endProgram(), initialize(), main(), onDone(), urbi_launch_(), usage(), usage(), version(), and version().
| 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 impl::UContextImpl * urbi::getCurrentContext | ( | ) |
Will be used if no context is explicitly passed.
Definition at line 50 of file uobject-common.cc.
References default_context.
Referenced by urbi::UGenericCallback::fetchContext(), getRunningMode(), getUObject(), getUObjectHub(), urbi::UEvent::init(), urbi::UVar::init(), urbi::uvalue_caster< UVar >::operator()(), send(), uobject_unarmorAndSend(), and urbi::UObjectSocket::~UObjectSocket().
| URBI_SDK_API UClient * urbi::getDefaultClient | ( | ) |
Return the first UClient created by the program.
Definition at line 1109 of file uabstractclient.cc.
References defaultClient.
Referenced by default_stream(), get_default_client(), initialize(), kernelMajor(), kernelMinor(), kernelVersion(), transmitRemoteWrite(), and urbi::UAbstractClient::~UAbstractClient().
| 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] |
Definition at line 69 of file ucontext.hxx.
References getCurrentContext(), and urbi::impl::UContextImpl::getUObject().
Referenced by urbi::uvalue_caster< UObject * >::operator()(), and urbi::impl::RemoteUVarImpl::transmit().
| UObjectHub * urbi::getUObjectHub | ( | const std::string & | n | ) | [inline] |
Definition at line 58 of file ucontext.hxx.
References getCurrentContext(), and urbi::impl::UContextImpl::getUObjectHub().
| int urbi::getValue | ( | UMessage * | m, |
| T & | val | ||
| ) | [inline] |
Set val to the value of m.
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().
| 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.
| 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.
| host | the host to connect to. |
| port | the port number to connect to (you can use the constant UAbstractClient::URBI_PORT). |
| buflen | receive and send buffer size (you can use the constant UAbstractClient::URBI_BUFLEN). |
| exitOnDisconnect | call exit() if we get disconnected from server. |
| server | whether listens instead of connecting. |
| files | Files to send when connected. |
| useSyncClient | use a UClient instead of USyncClient if false. |
| int urbi::initialize | ( | const std::string & | host, |
| int | port, | ||
| size_t | buflen, | ||
| bool | exitOnDisconnect, | ||
| bool | server, | ||
| const files_type & | files, | ||
| bool | useSyncClient | ||
| ) |
Definition at line 102 of file main.cc.
References callback(), debug(), defaultContext, endProgram(), exit(), externalModuleTag, getDefaultClient(), urbi::UAbstractClient::notifyCallbacks(), package_info(), urbi::UAbstractClient::sendFile(), urbi::UAbstractClient::setClientErrorCallback(), setDefaultClient(), urbi::UAbstractClient::setErrorCallback(), urbi::UAbstractClient::setWildcardCallback(), and UEM_INIT.
Referenced by main().
| urbi::INSTANTIATE | ( | __ | ) |
| urbi::INSTANTIATE | ( | const | ) |
| bool urbi::is_blendtype | ( | int | i | ) | [inline] |
Definition at line 52 of file ublend-type.hh.
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().
| void urbi::loadUValue | ( | Archive & | ar, |
| urbi::UValue & | v, | ||
| std::istream & | is | ||
| ) |
Definition at line 122 of file uvalue-serialize.hh.
References urbi::UBinary::allocated_, urbi::UList::array, urbi::UValue::binary, urbi::UValue::clear(), DATA_BINARY, DATA_DICTIONARY, DATA_DOUBLE, DATA_LIST, DATA_SLOTNAME, DATA_STRING, DATA_VOID, urbi::UValue::dictionary, urbi::UValue::list, urbi::UBinary::parse(), and urbi::UValue::type.
Referenced by libport::serialize::BinaryISerializer::Impl< urbi::UValue >::get().
| 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] |
Definition at line 147 of file uabstractclient.cc.
References MESSAGE_ERROR, urbi::UMessage::tag, tag_error, TAG_PRIVATE_PREFIX, tag_wildcard, and urbi::UMessage::type.
Referenced by urbi::UAbstractClient::notifyCallbacks().
| const char* urbi::name | ( | UBlendType | u | ) | [inline] |
Definition at line 60 of file ublend-type.hh.
Referenced by urbi::impl::RemoteUContextImpl::dispatcher(), urbi::UEvent::emit(), urbi::impl::RemoteUContextImpl::evalFunctionMessage(), urbi::UObjectHub::get_name(), urbi::UGenericCallback::getName(), urbi::impl::RemoteUVarImpl::getProp(), urbi::UEvent::init(), urbi::UVar::init(), urbi::impl::RemoteUVarImpl::initialize(), urbi::URBIStarter< T >::instanciate(), urbi::URBIStarterHub< T >::instanciate(), urbi::UVar::invariant(), urbi::impl::RemoteUContextImpl::localCall(), urbi::UProp::operator std::string(), operator,(), urbi::impl::RemoteUVarImpl::request(), urbi::impl::RemoteUVarImpl::setInputPort(), urbi::impl::RemoteUVarImpl::setProp(), urbi::impl::RemoteUVarImpl::sync(), urbi::impl::RemoteUVarImpl::transmit(), urbi::impl::RemoteUVarImpl::unnotify(), urbi::impl::RemoteUVarImpl::useRTP(), and urbi::UVar::~UVar().
| 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.
| UValue& urbi::operator, | ( | UValue & | v, |
| const boost::unordered_map< std::string, V > & | d | ||
| ) | [inline] |
Definition at line 347 of file uvalue.hxx.
References urbi::UValue::clear(), DATA_DICTIONARY, urbi::UValue::dictionary, and urbi::UValue::type.
| UValue& urbi::operator, | ( | UValue & | v, |
| const UPackedData< T > & | d | ||
| ) | [inline] |
Definition at line 418 of file uvalue.hxx.
References urbi::UValue::binary, urbi::UBinary::common, urbi::UBinary::message, and name().
| 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 | ||
| ) |
| 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().
| 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 | ( | ) |
| void urbi::saveUValue | ( | Archive & | ar, |
| const urbi::UValue & | v, | ||
| std::ostream & | os | ||
| ) |
Definition at line 71 of file uvalue-serialize.hh.
References urbi::UList::array, urbi::UValue::binary, urbi::UBinary::common, DATA_BINARY, DATA_DICTIONARY, DATA_DOUBLE, DATA_LIST, DATA_SLOTNAME, DATA_STRING, DATA_VOID, urbi::UValue::dictionary, urbi::UBinary::getMessage(), urbi::UValue::list, urbi::UList::size(), urbi::UValue::stringValue, urbi::UValue::type, and urbi::UValue::val.
Referenced by libport::serialize::BinaryOSerializer::Impl< urbi::UValue >::put(), and libport::serialize::BinaryOSerializer::Impl< const urbi::UValue >::put().
| void urbi::send | ( | const char * | str | ) | [inline] |
Definition at line 95 of file ucontext.hxx.
References getCurrentContext(), and urbi::impl::UContextImpl::send().
Referenced by urbi::impl::RemoteUContextImpl::send().
| 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::setCurrentContext | ( | impl::UContextImpl * | impl | ) |
Definition at line 56 of file uobject-common.cc.
References default_context.
Referenced by urbi::impl::RemoteUContextImpl::dispatcher(), urbi::impl::UContextImpl::init(), urbi::URBIStarter< T >::instanciate(), urbi::URBIStarterHub< T >::instanciate(), and urbi::impl::RemoteUContextImpl::RemoteUContextImpl().
| 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.
| srcdir | the 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 | ( | d | ) |
| 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] |
Definition at line 68 of file main.cc.
References urbi::UAbstractClient::default_host(), exit(), urbi::UAbstractClient::URBI_BUFLEN, and urbi::UAbstractClient::URBI_PORT.
Referenced by main().
| uvar_ref_traits< typename uvalue_cast_return_type< Type >::type >::type urbi::uvalue_cast | ( | UValue & | v | ) | [inline] |
Definition at line 228 of file uvalue.hxx.
Referenced by urbi::UVar::as(), urbi::UVar::fill(), urbi::uvalue_caster< boost::unordered_map< std::string, V > >::operator()(), urbi::UVar::operator==(), uvalue_cast_bounce(), uvar_uvalue_cast(), and uvar_uvalue_cast< UVar & >().
| 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 |
| 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().
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().
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 409 of file uvalue-common.cc.
Referenced by urbi::UValue::clear(), loadUValue(), urbi::UValue::operator UDictionary(), urbi::UValue::operator ufloat(), urbi::uvalue_caster< UDictionary >::operator()(), urbi::uvalue_caster< boost::unordered_map< std::string, V > >::operator()(), operator,(), urbi::UValue::parse(), urbi::UValue::print(), saveUValue(), urbi::UAbstractClient::send(), and urbi::UValue::set().
impl::UContextImpl* urbi::default_context = 0 [static] |
Definition at line 49 of file uobject-common.cc.
Referenced by getCurrentContext(), and setCurrentContext().
| URBI_SDK_API UClient * urbi::defaultClient = 0 |
Definition at line 1107 of file uabstractclient.cc.
Referenced by getDefaultClient(), setDefaultClient(), and urbi::USyncClient::USyncClient().
impl::RemoteUContextImpl* urbi::defaultContext [static] |
Definition at line 45 of file main.cc.
Referenced by initialize().
Definition at line 409 of file uvalue-common.cc.
const std::string urbi::externalModuleTag = "__ExternalMessage__" [static] |
Definition at line 35 of file uexternal.hh.
Referenced by initialize(), urbi::impl::RemoteUContextImpl::onTimer(), urbi::impl::RemoteUObjectImpl::onUpdate(), urbi::impl::RemoteUContextImpl::RemoteUContextImpl(), urbi::impl::RemoteUVarImpl::request(), and transmitRemoteWrite().
static const char * urbi::formats [static] |
{
"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.
UCallbackID urbi::nextId [static] |
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().