http://bugs.orocos.org/show_bug.cgi?id=979
Summary: Add TaskContext factory for corba transport.
Product: Toolchain
Version: 2.5.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: paul [dot] chavent [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
When we use the corba transport for, eg, the gui part, we only need few methods
:
#include <rtt/transports/corba/TaskContextProxy.hpp> ... RTT::corba::TaskContextProxy::InitOrb(argc, argv); ... RTT::corba::TaskContextProxy::Create(m_root_proxy_name); ... RTT::corba::TaskContextProxy::DestroyOrb(); ...
The problem is that we need to link the app with omniorb because of static
instances hidden behind rtt/transports/corba/TaskContextProxy.hpp
(omniORB4/finalCleanup.hpp for instance).
This is due to recent changes in gcc. See :
https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
I would like to be independent of the corba implementation and only link to
rtt-corba lib.
The http://www.orocos.org/forum/orocos/orocos-users/error-compiling thread on
the user ml, is similar to my problem, but my ${OROCOS-RTT_CORBA_LIBRARIES}
doesn't contain omniorb lib (which is normal imho).
I would like to submit you a patch that adds a "factory" (a bit confusing with
the design pattern...), and that encapsulate the TaskContextProxy...
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [..] ...
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979
[Bug 979] Add TaskContext factory for corba transport.
http://bugs.orocos.org/show_bug.cgi?id=979