Janosch Machowinski
2014-06-05 11:05:49 UTC
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
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