Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

python - DDS Opensplice: How to deserialize data with sequences

I am using ADLINK's OpenSplice and their Python API. I cannot seem to find good documentation or a class reference. I have serialized DDS data saved to files. I'd like to use this data to rebuild the class

import ddsutil
cl=ddsutil.get_dds_classes_from_idl(idlfile,typename).topic_data_class()
cl._deserialize(list(seq_data))

This works fine in most cases, however when there is a sequence type in the IDL, it fails to populate the data in the sequence/list.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...