[Rock-dev] Questions Regarding Typelib

Janosch Machowinski Janosch.Machowinski at dfki.de
Thu Jun 5 13:05:49 CEST 2014


Hey,
I got some question, regarding how typelib works.

Here is the stuff I found out, correct me if this is wrong:

It loads a type description, either from the installed TLB files,
or from a log stream. From this a Typelib::Type is generated.

To store or load a type, one needs to create a Typelib::Value
A typlib value is a unpacked version of the Type, plus the type description

dump() packs the value into a data ream, and load() unpacks it from a 
data stream.

Here is my first question, how can I load non POD types. I suppose,
I must supply a preinitialized type as target Pointer ?

Is there a way of doing this anonymously ?

How do I check (in c++) if the local type and the stream type are the same ?
I suppose I load the system tlb and check it against the stream tlb, is 
there
already a function for this ?

Greetings
     Janosch

-- 
  Dipl. Inf. Janosch Machowinski
  SAR- & Sicherheitsrobotik

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 1
  28359 Bremen, Germany
  
  Zentrale: +49 421 178 45-6611
  
  Besuchsadresse der Nebengeschäftstelle:
  Robert-Hooke-Straße 5
  28359 Bremen, Germany
  
  Tel.:    +49 421 178 45-6614
  Empfang: +49 421 178 45-6600
  Fax:     +49 421 178 45-4150
  E-Mail:  jmachowinski at informatik.uni-bremen.de

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



More information about the Rock-dev mailing list