| Libmatecomponent Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GType matecomponent_corba_object_type_register_static (const gchar *name,const CORBA_TypeCode tc,gboolean is_matecomponent_unknown); #define MATECOMPONENT_TYPE_UNKNOWN #define MATECOMPONENT_TYPE_CORBA_ANY #define MATECOMPONENT_TYPE_CORBA_OBJECT #define MATECOMPONENT_TYPE_CORBA_TYPECODE #define MATECOMPONENT_TYPE_CORBA_EXCEPTION #define MATECOMPONENT_TYPE_STATIC_CORBA_EXCEPTION #define MATECOMPONENT_TYPE_STATIC_UNKNOWN #define MATECOMPONENT_TYPE_STATIC_CORBA_ANY #define MATECOMPONENT_TYPE_STATIC_CORBA_OBJECT #define MATECOMPONENT_TYPE_STATIC_CORBA_TYPECODE #define MATECOMPONENT_VALUE_HOLDS_UNKNOWN (value) #define MATECOMPONENT_VALUE_HOLDS_CORBA_ANY (value) #define MATECOMPONENT_VALUE_HOLDS_CORBA_OBJECT (value) #define MATECOMPONENT_VALUE_HOLDS_CORBA_TYPECODE (value) #define MATECOMPONENT_VALUE_HOLDS_CORBA_EXCEPTION (value) MateComponent_Unknown matecomponent_value_get_unknown (const GValue *value); MateComponentArg * matecomponent_value_get_corba_any (const GValue *value); CORBA_Object matecomponent_value_get_corba_object (const GValue *value); CORBA_TypeCode matecomponent_value_get_corba_typecode (const GValue *value); const CORBA_Environment * matecomponent_value_get_corba_exception (const GValue *value); void matecomponent_value_set_unknown (GValue *value,const MateComponent_Unknown unknown); void matecomponent_value_set_corba_any (GValue *value,const CORBA_any *any); void matecomponent_value_set_corba_object (GValue *value,const CORBA_Object object); void matecomponent_value_set_corba_typecode (GValue *value,const CORBA_TypeCode tc); void matecomponent_value_set_corba_environment (GValue *value,const CORBA_Environment *ev); void matecomponent_closure_invoke_va_list (GClosure *closure,GValue *return_value,va_list var_args); void matecomponent_closure_invoke (GClosure *closure,GType return_type,...); GClosure * matecomponent_closure_store (GClosure *closure,GClosureMarshal default_marshal);
GType matecomponent_corba_object_type_register_static (const gchar *name,const CORBA_TypeCode tc,gboolean is_matecomponent_unknown);
|
|
|
|
|
|
Returns : |
#define MATECOMPONENT_TYPE_UNKNOWN (matecomponent_unknown_get_type ())
A GType for MateComponent_Unknown object references.
#define MATECOMPONENT_TYPE_CORBA_ANY (matecomponent_corba_any_get_type ())
A GType for CORBA_any.
#define MATECOMPONENT_TYPE_CORBA_OBJECT (matecomponent_corba_object_get_type ())
A GType for CORBA_Object object references.
#define MATECOMPONENT_TYPE_CORBA_TYPECODE (matecomponent_corba_typecode_get_type ())
A GType for CORBA_TypeCode.
#define MATECOMPONENT_TYPE_CORBA_EXCEPTION (matecomponent_corba_exception_get_type ())
A GType for CORBA_Environment.
#define MATECOMPONENT_TYPE_STATIC_CORBA_EXCEPTION (matecomponent_corba_exception_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
A GType for CORBA_Environment with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).
#define MATECOMPONENT_TYPE_STATIC_UNKNOWN (matecomponent_unknown_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
A GType for MateComponent_Unknown object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).
#define MATECOMPONENT_TYPE_STATIC_CORBA_ANY (matecomponent_corba_any_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
A GType for CORBA_any with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).
#define MATECOMPONENT_TYPE_STATIC_CORBA_OBJECT (matecomponent_corba_object_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
A GType for CORBA_Object object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).
#define MATECOMPONENT_TYPE_STATIC_CORBA_TYPECODE (matecomponent_corba_typecode_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
A GType for CORBA_TypeCode object references with static scope (see G_SIGNAL_TYPE_STATIC_SCOPE).
#define MATECOMPONENT_VALUE_HOLDS_UNKNOWN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_UNKNOWN))
Returns true if the GValue contains a MateComponent_Unknown.
|
#define MATECOMPONENT_VALUE_HOLDS_CORBA_ANY(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_CORBA_ANY))
Returns true if the GValue contains a CORBA_any.
|
#define MATECOMPONENT_VALUE_HOLDS_CORBA_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_CORBA_OBJECT))
Returns true if the GValue contains a CORBA_Object.
|
#define MATECOMPONENT_VALUE_HOLDS_CORBA_TYPECODE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_CORBA_TYPECODE))
Returns true if the GValue contains a CORBA_TypeCode.
|
#define MATECOMPONENT_VALUE_HOLDS_CORBA_EXCEPTION(value) (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_CORBA_EXCEPTION))
Returns true if the GValue contains a CORBA_Environment.
|
MateComponent_Unknown matecomponent_value_get_unknown (const GValue *value);
Get the MateComponent_Unknown value from a GValue.
|
|
Returns : |
MateComponentArg * matecomponent_value_get_corba_any (const GValue *value);
Get the CORBA_any value from a GValue.
|
|
Returns : |
CORBA_Object matecomponent_value_get_corba_object (const GValue *value);
Get the CORBA_Object value from a GValue.
|
|
Returns : |
CORBA_TypeCode matecomponent_value_get_corba_typecode (const GValue *value);
Get the CORBA_TypeCode value from a GValue.
|
|
Returns : |
const CORBA_Environment * matecomponent_value_get_corba_exception
(const GValue *value);
Get the CORBA_Environment value from a GValue.
|
|
Returns : |
void matecomponent_value_set_unknown (GValue *value,const MateComponent_Unknown unknown);
Put a MateComponent_Unknow value in a GValue.
|
|
|
void matecomponent_value_set_corba_any (GValue *value,const CORBA_any *any);
Put a CORBA_any value in a GValue.
|
|
|
void matecomponent_value_set_corba_object (GValue *value,const CORBA_Object object);
Put a CORBA_Object value in a GValue.
|
|
|
void matecomponent_value_set_corba_typecode (GValue *value,const CORBA_TypeCode tc);
Put a CORBA_TypeCode value in a GValue.
|
|
|
void matecomponent_value_set_corba_environment (GValue *value,const CORBA_Environment *ev);
Put a CORBA_Environment value in a GValue.
|
|
|
void matecomponent_closure_invoke_va_list (GClosure *closure,GValue *return_value,va_list var_args);
|
|
|
|
|
void matecomponent_closure_invoke (GClosure *closure,GType return_type,...);
Invokes the closure with the arguments.
Examples:
1 |
matecomponent_closure_invoke (closure, G_TYPE_NONE, G_TYPE_INT, first_arg, 0); |
1 2 |
glong retval; matecomponent_closure_invoke (closure, G_TYPE_LONG, & retval, 0); |
|
a standard GClosure |
|
the type of the first va_arg argument in a set of type / arg pairs. |
|
list of type / arg pairs |
GClosure * matecomponent_closure_store (GClosure *closure,GClosureMarshal default_marshal);
Does the necessary refcounting magic and returns a directly storable closure
|
a standard GClosure |
|
the default marshaller to use |
Returns : |
closure.
|