Skip to main content

dds_psmx_topic_init_generic

Function dds_psmx_topic_init_generic 

Source
pub unsafe extern "C" fn dds_psmx_topic_init_generic(
    psmx_topic: *mut dds_psmx_topic,
    ops: *const dds_psmx_topic_ops_t,
    psmx: *const dds_psmx,
    topic_name: *const c_char,
    type_name: *const c_char,
    data_type_props: dds_data_type_properties_t,
) -> dds_return_t
Expand description

@brief init function for topic (interface version 0) @ingroup psmx

Shall be called by de topic constructor function for a PSMX Plugin implementing interface version 0.

@param[in] psmx_topic the topic to initialize @param[in] ops vtable for this psmx_topic @param[in] psmx the PSMX instance @param[in] topic_name the topic name @param[in] type_name the DDS type name for this topic @param[in] data_type_props the data type’s properties @return a DDS return code