URBI - UObject Component Architecture

UObject Component Architecture

The UObject component architecture allows developers to interface any Java/C++ object within Urbi, making selected methods and attributes visible in urbiscript, while in fact being compiled code. Special notifiers can be set on any of the object's attributes to notify the C++ side of any change on these attributes on the urbiscript/Urbi side.

UObject uses C++ templates to transparently map any requested method to an interface machinery that takes care of the type checking.

A UObject can be used in plugged mode if it is directly linked to Urbi at compile time or with dynamic loading. In that case, the C++ object shares the Urbi memory directly, resulting in efficient integration. This is typically used for time critical components like motor or sensor drivers. The same UObject can also be used without modifications as a remote component. In that case, it will become an autonomous program to be executed with the IP address of the Urbi server as a parameter. In both cases, the object will transparently appear in urbiscript as a native urbiscript object.

Read more about this topic:  URBI

Famous quotes containing the words component and/or architecture:

    ... no one knows anything about a strike until he has seen it break down into its component parts of human beings.
    Mary Heaton Vorse (1874–1966)

    Art is a jealous mistress, and, if a man have a genius for painting, poetry, music, architecture or philosophy, he makes a bad husband and an ill provider.
    Ralph Waldo Emerson (1803–1882)