[Rock-dev] adding boost::shared_pointer and boost::weak_pointer to rtt/rock?
Sylvain Joyeux
sylvain.joyeux at dfki.de
Mon Sep 9 13:42:41 CEST 2013
On 09/09/2013 01:03 PM, Matthias Goldhoorn wrote:
> "Moin moin",
>
> What would be needed to add some of the boost shared_pointer structures
> to rock/rtt?
> special boost::shared_pointer and boost::weak_pointer?
You most probably don't want to do that. boost::shared_pointer and
boost::weak_pointer have bad multi-threading semantics.
What do you actually want to achieve ?
> How is the transport of the smart_ptr currently handled?, what happen if
> the same object is send twice trough an RTT port over the boarders of a
> application (or machine) (e.G. CORB//mqueues)?. Is there a tracking of
> object identification/id? or will be the object simply represented twice
> on the receiving machine?
There are no tracking of object identification. If you send the same
object twice, you'll get it twice.
Again, what is the actual situation / use case / problem you are trying
to solve ?
--
Sylvain Joyeux (Dr.Ing.)
Senior Researcher
Space & Security Robotics
Underwater Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list