Function RosMsgParser::ParseIDL
Defined in File idl_parser.hpp
Function Documentation
-
MessageSchema::Ptr RosMsgParser::ParseIDL(const std::string &topic_name, const ROSType &root_type, const std::string &idl_schema)
Parse a DDS IDL schema string and build a MessageSchema.
- Parameters:
topic_name – Name used as the root of the field tree
root_type – The message type to use as root (e.g., “AsensusMessaging/ArmState”)
idl_schema – Complete IDL text (all #include’d content must be concatenated)
- Returns:
Populated MessageSchema ready for deserialization