Skip to main content

cpp_interface_items_with

Function cpp_interface_items_with 

Source
pub fn cpp_interface_items_with(
    ast: &Ast,
    mapping: ServiceMapping,
) -> Result<Vec<Decl>, BindingError>
Expand description

cpp_interface_items for the given service mapping.

ServiceMapping::Enhanced writes the topic types of DDS-RPC 1.0 §7.5.1.2 — the @Choice @Autoid Request and Reply structures and the In, Out and Result structures — their PL_CDR2 codec, the interface classes and the function-call classes over the structures (${I}Client, ${I}Service); the Basic mapping’s Call union is not written.

§Errors

As cpp_interface_items.