adding boost::shared_pointer and boost::weak_pointer to rtt/rock?

Matthias Goldhoorn <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]>
"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?

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?

e.G.

smart_ptr<foo> p1;
smart_ptr<foo> p2;
smart_ptr<foo> p3;

data_structure ds;
ds.foo = p1;
ds.foo.bla = p2;

_port.send(ds);
ds.foo.bla = p3;
_port.send(ds);

Will there then on the receiver side 2 instances of the under laying 
object of p1 or only one?

Matthias


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   [email protected]

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.