4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>BonoboRunningContext</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="Libbonobo Reference Manual">
8
8
<link rel="up" href="general.html" title="General">
9
9
<link rel="prev" href="libbonobo-bonobo-main.html" title="bonobo-main">
28
28
<th width="100%" align="center">Libbonobo Reference Manual</th>
29
29
<td><a accesskey="n" href="libbonobo-bonobo-shutdown.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2558850" class="shortcut">Top</a>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3041570" class="shortcut">Top</a>
33
<a href="#id2558945" class="shortcut">Description</a></nobr></td></tr>
33
<a href="#id3041665" class="shortcut">Description</a></nobr></td></tr>
35
35
<div class="refentry" lang="en">
36
36
<a name="libbonobo-bonobo-running-context"></a><div class="titlepage"></div>
37
37
<div class="refnamediv"><table width="100%"><tr>
40
<a name="id2558850"></a><span class="refentrytitle">BonoboRunningContext</span>
40
<a name="id3041570"></a><span class="refentrytitle">BonoboRunningContext</span>
42
42
<p>BonoboRunningContext — a live object tracker</p>
52
<a href="libbonobo-bonobo-running-context.html#BonoboRunningContext">BonoboRunningContext</a>;
53
<a href="libbonobo-bonobo-running-context.html#BonoboRunningContextClass">BonoboRunningContextClass</a>;
54
<a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* <a href="libbonobo-bonobo-running-context.html#bonobo-running-context-new">bonobo_running_context_new</a> (void);
55
void <a href="libbonobo-bonobo-running-context.html#bonobo-running-context-ignore-object">bonobo_running_context_ignore_object</a>
52
<a class="link" href="libbonobo-bonobo-running-context.html#BonoboRunningContext">BonoboRunningContext</a>;
53
<a class="link" href="libbonobo-bonobo-running-context.html#BonoboRunningContextClass">BonoboRunningContextClass</a>;
54
<a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* <a class="link" href="libbonobo-bonobo-running-context.html#bonobo-running-context-new">bonobo_running_context_new</a> (void);
55
void <a class="link" href="libbonobo-bonobo-running-context.html#bonobo-running-context-ignore-object">bonobo_running_context_ignore_object</a>
56
56
(CORBA_Object object);
57
void <a href="libbonobo-bonobo-running-context.html#bonobo-running-context-at-exit-unref">bonobo_running_context_at_exit_unref</a>
57
void <a class="link" href="libbonobo-bonobo-running-context.html#bonobo-running-context-at-exit-unref">bonobo_running_context_at_exit_unref</a>
58
58
(CORBA_Object object);
63
63
<div class="refsect1" lang="en">
64
<a name="id2558945"></a><h2>Description</h2>
64
<a name="id3041665"></a><h2>Description</h2>
66
<a href="libbonobo-bonobo-running-context.html#BonoboRunningContext"><span class="type">BonoboRunningContext</span></a> implements the
66
<a class="link" href="libbonobo-bonobo-running-context.html#BonoboRunningContext"><span class="type">BonoboRunningContext</span></a> implements the
67
67
<code class="classname">Bonobo::RunningContext</code> IDL interface,
68
depicted in <a href="libbonobo-bonobo-running-context.html#running-context-img" title="Figure 1. The Bonobo::RunningContext interface">Figure 1, “The Bonobo::RunningContext interface”</a>.
68
depicted in <a class="xref" href="libbonobo-bonobo-running-context.html#running-context-img" title="Figure 1. The Bonobo::RunningContext interface">Figure 1, “The Bonobo::RunningContext interface”</a>.
70
70
<div class="figure">
71
71
<a name="running-context-img"></a><p class="title"><b>Figure 1. The Bonobo::RunningContext interface</b></p>
77
77
order to know when it is safe to quit from the main loop.
80
<a href="libbonobo-bonobo-running-context.html#BonoboRunningContext"><span class="type">BonoboRunningContext</span></a> is a singleton. There is at most one
81
instance running at all times. All <a href="libbonobo-bonobo-object.html#BonoboObject"><span class="type">BonoboObject</span></a>'s are
80
<a class="link" href="libbonobo-bonobo-running-context.html#BonoboRunningContext"><span class="type">BonoboRunningContext</span></a> is a singleton. There is at most one
81
instance running at all times. All <a class="link" href="libbonobo-bonobo-object.html#BonoboObject"><span class="type">BonoboObject</span></a>'s are
82
82
automatically registered with the running context as part of their
83
83
normal initialization procedure.
90
90
<div class="refsect1" lang="en">
91
<a name="id2559039"></a><h2>Details</h2>
91
<a name="id3041760"></a><h2>Details</h2>
92
92
<div class="refsect2" lang="en">
93
<a name="id2559050"></a><h3>
93
<a name="id3041770"></a><h3>
94
94
<a name="BonoboRunningContext"></a>BonoboRunningContext</h3>
95
<a class="indexterm" name="id2559062"></a><pre class="programlisting">typedef struct {
95
<a class="indexterm" name="id3041783"></a><pre class="programlisting">typedef struct {
96
96
BonoboObject parent;
98
98
BonoboRunningContextPrivate *priv;
106
106
<div class="refsect2" lang="en">
107
<a name="id2559080"></a><h3>
107
<a name="id3041800"></a><h3>
108
108
<a name="BonoboRunningContextClass"></a>BonoboRunningContextClass</h3>
109
<a class="indexterm" name="id2559092"></a><pre class="programlisting">typedef struct {
109
<a class="indexterm" name="id3041813"></a><pre class="programlisting">typedef struct {
110
110
BonoboObjectClass parent;
112
112
POA_Bonobo_RunningContext__epv epv;
122
122
<div class="refsect2" lang="en">
123
<a name="id2559110"></a><h3>
123
<a name="id3041831"></a><h3>
124
124
<a name="bonobo-running-context-new"></a>bonobo_running_context_new ()</h3>
125
<a class="indexterm" name="id2559124"></a><pre class="programlisting"><a href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_running_context_new (void);</pre>
125
<a class="indexterm" name="id3041844"></a><pre class="programlisting"><a class="link" href="libbonobo-bonobo-object.html#BonoboObject">BonoboObject</a>* bonobo_running_context_new (void);</pre>
129
129
<div class="variablelist"><table border="0">
130
130
<col align="left" valign="top">
132
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
132
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
141
141
<div class="refsect2" lang="en">
142
<a name="id2559160"></a><h3>
142
<a name="id3041880"></a><h3>
143
143
<a name="bonobo-running-context-ignore-object"></a>bonobo_running_context_ignore_object ()</h3>
144
<a class="indexterm" name="id2559173"></a><pre class="programlisting">void bonobo_running_context_ignore_object
144
<a class="indexterm" name="id3041893"></a><pre class="programlisting">void bonobo_running_context_ignore_object
145
145
(CORBA_Object object);</pre>
149
149
<div class="variablelist"><table border="0">
150
150
<col align="left" valign="top">
152
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
152
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
161
161
<div class="refsect2" lang="en">
162
<a name="id2559221"></a><h3>
162
<a name="id3041941"></a><h3>
163
163
<a name="bonobo-running-context-at-exit-unref"></a>bonobo_running_context_at_exit_unref ()</h3>
164
<a class="indexterm" name="id2559235"></a><pre class="programlisting">void bonobo_running_context_at_exit_unref
164
<a class="indexterm" name="id3041955"></a><pre class="programlisting">void bonobo_running_context_at_exit_unref
165
165
(CORBA_Object object);</pre>
169
169
<div class="variablelist"><table border="0">
170
170
<col align="left" valign="top">
172
<td><span class="term"><em class="parameter"><code>object</code></em> :</span></td>
172
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
181
181
<div class="refsect1" lang="en">
182
<a name="id2559284"></a><h2>See Also</h2>
182
<a name="id3042004"></a><h2>See Also</h2>
184
<a href="libbonobo-bonobo-generic-factory.html" title="BonoboGenericFactory"><a name="id2585832"></a><span class="refentrytitle">BonoboGenericFactory</span>(3)</a>
184
<a class="xref" href="libbonobo-bonobo-generic-factory.html" title="BonoboGenericFactory"><a name="id3068552"></a><span class="refentrytitle">BonoboGenericFactory</span>(3)</a>