[omniORB] static variable & thread
cedric charrier
cedric.charrier@detexis.thomson-csf.com
Thu, 02 Mar 2000 10:38:13 +0100
--------------DE4954B5B10B09BF8B02E52D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I try to convert a C++ application in corba application, but I've got a
problem :
I would like to know if I can define in a IDL declaration an interface
with static attribute like in C++.
In fact I want to use in the code produced by IDL compiler, a class with
static attribute. For exemple :
class try_i : public virtual _sk_try
{
try_i{ };
virtual ~try_i{ };
virtual function_try (int);
static int state_try;
};
More over how can I define in IDL declaration an interface that inherit
from omnithread ? Is-it possible ?
Thanks for yours answers.
Sincerely
Cedric Charrier
--------------DE4954B5B10B09BF8B02E52D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I try to convert a C++ application in corba application, but I've got a
problem :
<br>I would like to know if I can define in a IDL declaration an interface
with <b>static</b> attribute like in C++.
<br>In fact I want to use in the code produced by IDL compiler, a class
with static attribute. For exemple :
<p><font face="Courier New,Courier">class try_i : public virtual _sk_try</font>
<br><font face="Courier New,Courier">{</font>
<br><font face="Courier New,Courier"> try_i{ };</font>
<br><font face="Courier New,Courier"> virtual ~try_i{
};</font>
<br><font face="Courier New,Courier"> virtual function_try
(int);</font>
<br><font face="Courier New,Courier"> <b>static int state_try;</b></font>
<br><font face="Courier New,Courier">};</font>
<p>More over how can I define in IDL declaration an interface that inherit
from <b>omnithread </b>? Is-it possible ?
<br>Thanks for yours answers.
<p>Sincerely
<br>
<p>Cedric Charrier
<br> </html>
--------------DE4954B5B10B09BF8B02E52D--