BonoboObject

Name

BonoboObject -- Base object for wrapping Bonobo::Unknown derived objects.

Synopsis



typedef     BonoboObjectServant;
typedef     BonoboObject;
typedef     BonoboObjectClass;
BonoboObject* bonobo_object_construct       (BonoboObject *object,
                                             CORBA_Object corba_object);
BonoboObject* bonobo_object_new_from_servant
                                            (void *servant);
BonoboObject* bonobo_object_from_servant    (PortableServer_Servant servant);
void        bonobo_object_bind_to_servant   (BonoboObject *object,
                                             void *servant);
PortableServer_Servant bonobo_object_get_servant
                                            (BonoboObject *object);
POA_Bonobo_Unknown__epv* bonobo_object_get_epv
                                            (void);
Bonobo_Unknown bonobo_object_activate_servant
                                            (BonoboObject *object,
                                             void *servant);
Bonobo_Unknown bonobo_object_activate_servant_full
                                            (BonoboObject *object,
                                             void *servant,
                                             gpointer shlib_id);
void        bonobo_object_add_interface     (BonoboObject *object,
                                             BonoboObject *newobj);
BonoboObject* bonobo_object_query_local_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_query_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_corba_objref   (BonoboObject *object);
Bonobo_Unknown bonobo_object_dup_ref        (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_release_unref     (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_ref               (BonoboObject *object);
void        bonobo_object_unref             (BonoboObject *object);
void        bonobo_object_idle_unref        (BonoboObject *object);
void        bonobo_object_init              (void);
void        bonobo_object_trace_refs        (BonoboObject *object,
                                             const char *fn,
                                             int line,
                                             gboolean ref);
void        bonobo_object_dump_interfaces   (BonoboObject *object);
void        bonobo_object_check_env         (BonoboObject *object,
                                             CORBA_Object corba_object,
                                             CORBA_Environment *ev);
void        bonobo_object_list_unref_all    (GList **list);
void        bonobo_object_slist_unref_all   (GSList **list);
#define     BONOBO_OBJREF                   (o)
#define     BONOBO_OBJECT_CHECK             (o,c,e)
gboolean    bonobo_unknown_ping             (Bonobo_Unknown object);

Description

BonoboObject is the base object in Bonobo for wrapping CORBA servers as Gtk+ objects. HOWEVER, since it's use is complicated, it is left in bonobo for the benefit of Nautilus' binary compatibility. It is strongly recommended that BonoboXObject be used for all new CORBA server implementations.

Again if you are looking to implement a CORBA interface you want to see BonoboXObject.

The Bonobo::Unknown interface (wrapped by BonoboObject) is the foundation for the component system: it provides life cycle management for objects as well as service discovery.

The Bonobo interfaces are all based on the Bonobo::Unknown interface. This interface is very simple and provides two basic services: object lifetime management and object functionality-discovery. This interface only contains three methods, here it is:
  module Bonobo {
      interface Unknown {
          void void ref();
          void void unref();
          Object query_interface (in string repoid);
      };
  };
  

The ref() and unref() methods are used to control the lifetime of an object. The query_interface method is used to discover optional functionality provided by the object implementation.

The lifetime management is based on reference counting: wcRIGHT" VALIGN="TOP" >Returns : TRUE if the interface is available else FALSE.


bonobo_object_client_query_interface ()

Bonobo_Unknown bonobo_object_client_query_interface
                                            (BonoboObjectClient *object,
                                             const char *interface_desc,
                                             CORBA_Environment *opt_ev);

Queries the object to see if it implements the interface described by interface_desc. Basically a thin Bonobo_Unknown::query_interface wrapper.

object : object to query interface of
interface_desc : interface description
opt_ev : optional exception environment, or NULL
Returns : A valid Bonobo_Unknown reference or CORBA_OBJECT_NIL if anything untoward happens.


bonobo_object_client_ref ()

void        bonobo_object_client_ref        (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Increments the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment


bonobo_object_client_unref ()

void        bonobo_object_client_unref      (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Decrements the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment

See Also

BonoboMoniker BonoboObject

./usr/share/doc/libbonobo-dev/html/bonobo/bonobo-bonobo-object.html0100644000000000000000000013540107456137543024243 0ustar rootrootBonoboObject

BonoboObject

Name

BonoboObject -- Base object for wrapping Bonobo::Unknown derived objects.

Synopsis



typedef     BonoboObjectServant;
typedef     BonoboObject;
typedef     BonoboObjectClass;
BonoboObject* bonobo_object_construct       (BonoboObject *object,
                                             CORBA_Object corba_object);
BonoboObject* bonobo_object_new_from_servant
                                            (void *servant);
BonoboObject* bonobo_object_from_servant    (PortableServer_Servant servant);
void        bonobo_object_bind_to_servant   (BonoboObject *object,
                                             void *servant);
PortableServer_Servant bonobo_object_get_servant
                                            (BonoboObject *object);
POA_Bonobo_Unknown__epv* bonobo_object_get_epv
                                            (void);
Bonobo_Unknown bonobo_object_activate_servant
                                            (BonoboObject *object,
                                             void *servant);
Bonobo_Unknown bonobo_object_activate_servant_full
                                            (BonoboObject *object,
                                             void *servant,
                                             gpointer shlib_id);
void        bonobo_object_add_interface     (BonoboObject *object,
                                             BonoboObject *newobj);
BonoboObject* bonobo_object_query_local_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_query_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_corba_objref   (BonoboObject *object);
Bonobo_Unknown bonobo_object_dup_ref        (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_release_unref     (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_ref               (BonoboObject *object);
void        bonobo_object_unref             (BonoboObject *object);
void        bonobo_object_idle_unref        (BonoboObject *object);
void        bonobo_object_init              (void);
void        bonobo_object_trace_refs        (BonoboObject *object,
                                             const char *fn,
                                             int line,
                                             gboolean ref);
void        bonobo_object_dump_interfaces   (BonoboObject *object);
void        bonobo_object_check_env         (BonoboObject *object,
                                             CORBA_Object corba_object,
                                             CORBA_Environment *ev);
void        bonobo_object_list_unref_all    (GList **list);
void        bonobo_object_slist_unref_all   (GSList **list);
#define     BONOBO_OBJREF                   (o)
#define     BONOBO_OBJECT_CHECK             (o,c,e)
gboolean    bonobo_unknown_ping             (Bonobo_Unknown object);

Description

BonoboObject is the base object in Bonobo for wrapping CORBA servers as Gtk+ objects. HOWEVER, since it's use is complicated, it is left in bonobo for the benefit of Nautilus' binary compatibility. It is strongly recommended that BonoboXObject be used for all new CORBA server implementations.

Again if you are looking to implement a CORBA interface you want to see BonoboXObject.

The Bonobo::Unknown interface (wrapped by BonoboObject) is the foundation for the component system: it provides life cycle management for objects as well as service discovery.

The Bonobo interfaces are all based on the Bonobo::Unknown interface. This interface is very simple and provides two basic services: object lifetime management and object functionality-discovery. This interface only contains three methods, here it is:
  module Bonobo {
      interface Unknown {
          void void ref();
          void void unref();
          Object query_interface (in string repoid);
      };
  };
  

The ref() and unref() methods are used to control the lifetime of an object. The query_interface method is used to discover optional functionality provided by the object implementation.

The lifetime management is based on reference counting: wcRIGHT" VALIGN="TOP" >Returns : TRUE if the interface is available else FALSE.


bonobo_object_client_query_interface ()

Bonobo_Unknown bonobo_object_client_query_interface
                                            (BonoboObjectClient *object,
                                             const char *interface_desc,
                                             CORBA_Environment *opt_ev);

Queries the object to see if it implements the interface described by interface_desc. Basically a thin Bonobo_Unknown::query_interface wrapper.

object : object to query interface of
interface_desc : interface description
opt_ev : optional exception environment, or NULL
Returns : A valid Bonobo_Unknown reference or CORBA_OBJECT_NIL if anything untoward happens.


bonobo_object_client_ref ()

void        bonobo_object_client_ref        (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Increments the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment


bonobo_object_client_unref ()

void        bonobo_object_client_unref      (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Decrements the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment

See Also

BonoboMoniker BonoboObject

./usr/share/doc/libbonobo-dev/html/bonobo/bonobo-bonobo-object.html0100644000000000000000000013540107456137543024243 0ustar rootrootBonoboObject

BonoboObject

Name

BonoboObject -- Base object for wrapping Bonobo::Unknown derived objects.

Synopsis



typedef     BonoboObjectServant;
typedef     BonoboObject;
typedef     BonoboObjectClass;
BonoboObject* bonobo_object_construct       (BonoboObject *object,
                                             CORBA_Object corba_object);
BonoboObject* bonobo_object_new_from_servant
                                            (void *servant);
BonoboObject* bonobo_object_from_servant    (PortableServer_Servant servant);
void        bonobo_object_bind_to_servant   (BonoboObject *object,
                                             void *servant);
PortableServer_Servant bonobo_object_get_servant
                                            (BonoboObject *object);
POA_Bonobo_Unknown__epv* bonobo_object_get_epv
                                            (void);
Bonobo_Unknown bonobo_object_activate_servant
                                            (BonoboObject *object,
                                             void *servant);
Bonobo_Unknown bonobo_object_activate_servant_full
                                            (BonoboObject *object,
                                             void *servant,
                                             gpointer shlib_id);
void        bonobo_object_add_interface     (BonoboObject *object,
                                             BonoboObject *newobj);
BonoboObject* bonobo_object_query_local_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_query_interface
                                            (BonoboObject *object,
                                             const char *repo_id);
Bonobo_Unknown bonobo_object_corba_objref   (BonoboObject *object);
Bonobo_Unknown bonobo_object_dup_ref        (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_release_unref     (Bonobo_Unknown object,
                                             CORBA_Environment *ev);
void        bonobo_object_ref               (BonoboObject *object);
void        bonobo_object_unref             (BonoboObject *object);
void        bonobo_object_idle_unref        (BonoboObject *object);
void        bonobo_object_init              (void);
void        bonobo_object_trace_refs        (BonoboObject *object,
                                             const char *fn,
                                             int line,
                                             gboolean ref);
void        bonobo_object_dump_interfaces   (BonoboObject *object);
void        bonobo_object_check_env         (BonoboObject *object,
                                             CORBA_Object corba_object,
                                             CORBA_Environment *ev);
void        bonobo_object_list_unref_all    (GList **list);
void        bonobo_object_slist_unref_all   (GSList **list);
#define     BONOBO_OBJREF                   (o)
#define     BONOBO_OBJECT_CHECK             (o,c,e)
gboolean    bonobo_unknown_ping             (Bonobo_Unknown object);

Description

BonoboObject is the base object in Bonobo for wrapping CORBA servers as Gtk+ objects. HOWEVER, since it's use is complicated, it is left in bonobo for the benefit of Nautilus' binary compatibility. It is strongly recommended that BonoboXObject be used for all new CORBA server implementations.

Again if you are looking to implement a CORBA interface you want to see BonoboXObject.

The Bonobo::Unknown interface (wrapped by BonoboObject) is the foundation for the component system: it provides life cycle management for objects as well as service discovery.

The Bonobo interfaces are all based on the Bonobo::Unknown interface. This interface is very simple and provides two basic services: object lifetime management and object functionality-discovery. This interface only contains three methods, here it is:
  module Bonobo {
      interface Unknown {
          void void ref();
          void void unref();
          Object query_interface (in string repoid);
      };
  };
  

The ref() and unref() methods are used to control the lifetime of an object. The query_interface method is used to discover optional functionality provided by the object implementation.

The lifetime management is based on reference counting: wcRIGHT" VALIGN="TOP" >Returns : TRUE if the interface is available else FALSE.


bonobo_object_client_query_interface ()

Bonobo_Unknown bonobo_object_client_query_interface
                                            (BonoboObjectClient *object,
                                             const char *interface_desc,
                                             CORBA_Environment *opt_ev);

Queries the object to see if it implements the interface described by interface_desc. Basically a thin Bonobo_Unknown::query_interface wrapper.

object : object to query interface of
interface_desc : interface description
opt_ev : optional exception environment, or NULL
Returns : A valid Bonobo_Unknown reference or CORBA_OBJECT_NIL if anything untoward happens.


bonobo_object_client_ref ()

void        bonobo_object_client_ref        (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Increments the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment


bonobo_object_client_unref ()

void        bonobo_object_client_unref      (BonoboObjectClient *object_client,
                                             BonoboObject *opt_exception_obj);

Decrements the Bonobo ref count on the remote object.

object_client : the object client
opt_exception_obj : optional CORBA exception environment

See Also

BonoboMoniker BonoboObject