[omniORB] Module question

Haarek Ryeng Haarek.Ryeng@datarespons.no
Mon, 19 Nov 2001 20:01:52 +0100


why doesn't omniidl produce a POA_Echo class out of:
module NDS
{
interface Echo{
string echostring();
};
};
???

Instead omniidl produces:
------------------------------------
_CORBA_MODULE POA_NDS
_CORBA_MODULE_BEG

  class Echo :
    public virtual NDS::_impl_Echo,
    public virtual PortableServer::ServantBase
  {
  public:
    virtual ~Echo();

    inline NDS::Echo_ptr _this() {
      return (NDS::Echo_ptr) _do_this(NDS::Echo::_PD_repoId);
    }
  };

_CORBA_MODULE_END
------------------------------------
Is the mapping different inside a module? When I move the Echo interface outside the module the POA_Echo class is produced. (I'm using the omniidl.exe (21. june 2001) provided with the 304
distribution).

--
Haarek Ryeng
Senior Software Development Engineer
Data Respons AS, Sandviksvn. 26,N-1323 HOEVIK, Norway.
Tel: +47 67112071 Mob: +47 90196734

   Embedded Computers & Realtime Professionals
             www.datarespons.no