gepetto.corbaserver.client Namespace Reference

Classes

class  _GhostGraphicalInterface
 
class  Client
 
class  CorbaError
 

Functions

def gui_client (window_name=None, dont_raise=False, ghost=False, url=None, host=None, port=None)
 

Detailed Description

Provide a client for CORBA services which initialize CORBA automatically and
create client to wanted HPP services.

Function Documentation

◆ gui_client()

def gepetto.corbaserver.client.gui_client (   window_name = None,
  dont_raise = False,
  ghost = False,
  url = None,
  host = None,
  port = None 
)
Initialize CORBA and create default clients.
:param window_name: If provided, creates a window with this name if it does not exist.
:param dont_raise: If True, will not raise if connection failed. It returns None instead.
:param ghost: If True and dont_raise is True and the connection failed, an object with
              the same API as the client is returned. This is most useful when you don't rely
              on values returned by the GUI.
:param url: URL in the IOR, corbaloc, corbalocs, and corbanames formats.
            For a remote corba server, use
            url = "corbaloc:iiop:<host>:<port>/NameService".
            If None, url is initialized with param host, or alternatively with _getIIOPurl
:param host: if not None, url is set to = "corbaloc:iiop:" + str(host) + "/NameService"

:return: a client to the GUI.