pub struct CapeFlowsheetMonitoring {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeFlowsheetMonitoring,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeFlowsheetMonitoringImplementations§
Source§impl CapeFlowsheetMonitoring
impl CapeFlowsheetMonitoring
pub fn get_stream_collection( &self, _type: CapeStreamType, ) -> Result<CapeCollection<CapeStream>, COBIAError>
pub fn get_unit_operation_collection( &self, ) -> Result<CapeCollection<CapeUnit>, COBIAError>
pub fn get_solution_status(&self) -> Result<CapeSolutionStatus, COBIAError>
pub fn get_val_status(&self) -> Result<CapeValidationStatus, COBIAError>
pub fn register_for_events<TypeOfEvents: CapeArrayEnumerationProviderIn>( &self, component: &CapeObject, events: &TypeOfEvents, ) -> Result<(), COBIAError>
pub fn get_supported_events<TypeOfSupportedEvents: CapeArrayEnumerationProviderOut>( &self, supported_events: &mut TypeOfSupportedEvents, ) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeFlowsheetMonitoring
impl CapeSmartPointer for CapeFlowsheetMonitoring
type Interface = _CAPEOPEN_1_2_ICapeFlowsheetMonitoring
Source§fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
fn as_cape_interface_pointer(&self) -> *mut ICapeInterface
Get the ICapeInterface Read more
Source§fn get_interface_id() -> &'static CapeUUID
fn get_interface_id() -> &'static CapeUUID
Get the interface ID Read more
Source§fn from_object<T: CapeSmartPointer>(
smart_pointer: &T,
) -> Result<Self, COBIAError>
fn from_object<T: CapeSmartPointer>( smart_pointer: &T, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from another object Read more
Source§fn from_interface_pointer(interface: *mut Self::Interface) -> Self
fn from_interface_pointer(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type Read more
Source§fn attach(interface: *mut Self::Interface) -> Self
fn attach(interface: *mut Self::Interface) -> Self
Get an interface wrapper instance from an interface pointer of the wrapped type, without adding a reference Read more
Source§fn detach(self) -> *mut Self::Interface
fn detach(self) -> *mut Self::Interface
Return an interface pointer and release ownership, without decreasing a reference Read more
Source§fn from_cape_interface_pointer(
interface: *mut ICapeInterface,
) -> Result<Self, COBIAError>
fn from_cape_interface_pointer( interface: *mut ICapeInterface, ) -> Result<Self, COBIAError>
Get an interface wrapper instance from any interface pointer Read more
Source§impl Clone for CapeFlowsheetMonitoring
impl Clone for CapeFlowsheetMonitoring
Auto Trait Implementations§
impl Freeze for CapeFlowsheetMonitoring
impl RefUnwindSafe for CapeFlowsheetMonitoring
impl !Send for CapeFlowsheetMonitoring
impl !Sync for CapeFlowsheetMonitoring
impl Unpin for CapeFlowsheetMonitoring
impl UnwindSafe for CapeFlowsheetMonitoring
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more