matecomponent-types

matecomponent-types

Synopsis

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);

Description

Details

matecomponent_corba_object_type_register_static ()

GType               matecomponent_corba_object_type_register_static
                                                        (const gchar *name,
                                                         const CORBA_TypeCode tc,
                                                         gboolean is_matecomponent_unknown);

name :

tc :

is_matecomponent_unknown :

Returns :


MATECOMPONENT_TYPE_UNKNOWN

#define MATECOMPONENT_TYPE_UNKNOWN                         (matecomponent_unknown_get_type ())

A GType for MateComponent_Unknown object references.


MATECOMPONENT_TYPE_CORBA_ANY

#define MATECOMPONENT_TYPE_CORBA_ANY                       (matecomponent_corba_any_get_type ())

A GType for CORBA_any.


MATECOMPONENT_TYPE_CORBA_OBJECT

#define MATECOMPONENT_TYPE_CORBA_OBJECT                    (matecomponent_corba_object_get_type ())

A GType for CORBA_Object object references.


MATECOMPONENT_TYPE_CORBA_TYPECODE

#define MATECOMPONENT_TYPE_CORBA_TYPECODE                  (matecomponent_corba_typecode_get_type ())

A GType for CORBA_TypeCode.


MATECOMPONENT_TYPE_CORBA_EXCEPTION

#define MATECOMPONENT_TYPE_CORBA_EXCEPTION                 (matecomponent_corba_exception_get_type ())

A GType for CORBA_Environment.


MATECOMPONENT_TYPE_STATIC_CORBA_EXCEPTION

#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).


MATECOMPONENT_TYPE_STATIC_UNKNOWN

#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).


MATECOMPONENT_TYPE_STATIC_CORBA_ANY

#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).


MATECOMPONENT_TYPE_STATIC_CORBA_OBJECT

#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).


MATECOMPONENT_TYPE_STATIC_CORBA_TYPECODE

#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).


MATECOMPONENT_VALUE_HOLDS_UNKNOWN()

#define MATECOMPONENT_VALUE_HOLDS_UNKNOWN(value)           (G_TYPE_CHECK_VALUE_TYPE ((value), MATECOMPONENT_TYPE_UNKNOWN))

Returns true if the GValue contains a MateComponent_Unknown.

value :


MATECOMPONENT_VALUE_HOLDS_CORBA_ANY()

#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.

value :


MATECOMPONENT_VALUE_HOLDS_CORBA_OBJECT()

#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.

value :


MATECOMPONENT_VALUE_HOLDS_CORBA_TYPECODE()

#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.

value :


MATECOMPONENT_VALUE_HOLDS_CORBA_EXCEPTION()

#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.

value :


matecomponent_value_get_unknown ()

MateComponent_Unknown      matecomponent_value_get_unknown            (const GValue *value);

Get the MateComponent_Unknown value from a GValue.

value :

Returns :


matecomponent_value_get_corba_any ()

MateComponentArg *         matecomponent_value_get_corba_any          (const GValue *value);

Get the CORBA_any value from a GValue.

value :

Returns :


matecomponent_value_get_corba_object ()

CORBA_Object        matecomponent_value_get_corba_object       (const GValue *value);

Get the CORBA_Object value from a GValue.

value :

Returns :


matecomponent_value_get_corba_typecode ()

CORBA_TypeCode      matecomponent_value_get_corba_typecode     (const GValue *value);

Get the CORBA_TypeCode value from a GValue.

value :

Returns :


matecomponent_value_get_corba_exception ()

const CORBA_Environment * matecomponent_value_get_corba_exception
                                                        (const GValue *value);

Get the CORBA_Environment value from a GValue.

value :

Returns :


matecomponent_value_set_unknown ()

void                matecomponent_value_set_unknown            (GValue *value,
                                                         const MateComponent_Unknown unknown);

Put a MateComponent_Unknow value in a GValue.

value :

unknown :


matecomponent_value_set_corba_any ()

void                matecomponent_value_set_corba_any          (GValue *value,
                                                         const CORBA_any *any);

Put a CORBA_any value in a GValue.

value :

any :


matecomponent_value_set_corba_object ()

void                matecomponent_value_set_corba_object       (GValue *value,
                                                         const CORBA_Object object);

Put a CORBA_Object value in a GValue.

value :

object :


matecomponent_value_set_corba_typecode ()

void                matecomponent_value_set_corba_typecode     (GValue *value,
                                                         const CORBA_TypeCode tc);

Put a CORBA_TypeCode value in a GValue.

value :

tc :


matecomponent_value_set_corba_environment ()

void                matecomponent_value_set_corba_environment  (GValue *value,
                                                         const CORBA_Environment *ev);

Put a CORBA_Environment value in a GValue.

value :

ev :


matecomponent_closure_invoke_va_list ()

void                matecomponent_closure_invoke_va_list       (GClosure *closure,
                                                         GValue *return_value,
                                                         va_list var_args);

closure :

return_value :

var_args :


matecomponent_closure_invoke ()

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);

closure :

a standard GClosure

return_type :

the type of the first va_arg argument in a set of type / arg pairs.

... :

list of type / arg pairs

matecomponent_closure_store ()

GClosure *          matecomponent_closure_store                (GClosure *closure,
                                                         GClosureMarshal default_marshal);

Does the necessary refcounting magic and returns a directly storable closure

closure :

a standard GClosure

default_marshal :

the default marshaller to use

Returns :

closure.