Trait ICapeFlowsheetMonitoringComponentImpl

Source
pub trait ICapeFlowsheetMonitoringComponentImpl: ICapeFlowsheetMonitoringComponent {
    type T: ICapeInterfaceImpl + ICapeFlowsheetMonitoringComponentImpl;

    const VTABLE: CAPEOPEN_1_2_ICapeFlowsheetMonitoringComponent_VTable = _;

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

    // Provided methods
    fn init_interface() -> ICapeInterface { ... }
    fn init<Timpl: ICapeFlowsheetMonitoringComponentImpl + ICapeInterfaceImpl>(
        u: &mut Timpl,
    ) { ... }
    extern "C" fn raw_monitor(me: *mut c_void) -> CapeResult { ... }
    extern "C" fn raw_validate(
        me: *mut c_void,
        message: *mut ICapeString,
        is_valid: *mut CapeBoolean,
    ) -> CapeResult { ... }
    extern "C" fn raw_get_val_status(
        me: *mut c_void,
        validation_status: *mut CAPEOPEN_1_2_CapeValidationStatus,
    ) -> CapeResult { ... }
}

Provided Associated Constants§

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn init_interface() -> ICapeInterface

prepare CAPEOPEN_1_2_ICapeFlowsheetMonitoringComponent interface and return as generic ICapeInterface pointer

Source

fn init<Timpl: ICapeFlowsheetMonitoringComponentImpl + ICapeInterfaceImpl>( u: &mut Timpl, )

Source

extern "C" fn raw_monitor(me: *mut c_void) -> CapeResult

Source

extern "C" fn raw_validate( me: *mut c_void, message: *mut ICapeString, is_valid: *mut CapeBoolean, ) -> CapeResult

Source

extern "C" fn raw_get_val_status( me: *mut c_void, validation_status: *mut CAPEOPEN_1_2_CapeValidationStatus, ) -> CapeResult

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§