Trait ICapeFlowsheetMonitoringImpl

Source
pub trait ICapeFlowsheetMonitoringImpl: ICapeFlowsheetMonitoring {
    type T: ICapeInterfaceImpl + ICapeFlowsheetMonitoringImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeFlowsheetMonitoring_VTable = _;

    // Required method
    fn as_interface_pointer(&mut self) -> *mut ICapeInterface;

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeFlowsheetMonitoringImpl + ICapeInterfaceImpl>(
        u: &mut Timpl,
    ) { ... }
    extern "C" fn raw_get_stream_collection(
        me: *mut c_void,
        _type: CAPEOPEN_1_2_CapeStreamType,
        stream_collection: *mut *mut CAPEOPEN_1_2_ICapeCollection,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_unit_operation_collection(
        me: *mut c_void,
        unit_operation_collection: *mut *mut CAPEOPEN_1_2_ICapeCollection,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_solution_status(
        me: *mut c_void,
        solution_status: *mut CAPEOPEN_1_2_CapeSolutionStatus,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_val_status(
        me: *mut c_void,
        validation_status: *mut CAPEOPEN_1_2_CapeValidationStatus,
    ) -> CapeResult { ... }
    extern "C" fn raw_register_for_events(
        me: *mut c_void,
        component: *mut ICapeInterface,
        events: *mut ICapeArrayEnumeration,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_supported_events(
        me: *mut c_void,
        supported_events: *mut ICapeArrayEnumeration,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§