pub struct CapeFlowsheetMonitoringEventSink {
pub(crate) interface: *mut CAPEOPEN_1_2_ICapeFlowsheetMonitoringEventSink,
}Fields§
§interface: *mut CAPEOPEN_1_2_ICapeFlowsheetMonitoringEventSinkImplementations§
Source§impl CapeFlowsheetMonitoringEventSink
impl CapeFlowsheetMonitoringEventSink
pub fn unit_operation_added(&self, unit: &CapeUnit) -> Result<(), COBIAError>
pub fn unit_operation_removed(&self, unit: &CapeUnit) -> Result<(), COBIAError>
pub fn unit_operation_renamed<TypeOfOldName: CapeStringProviderIn>( &self, unit: &CapeUnit, old_name: &TypeOfOldName, ) -> Result<(), COBIAError>
pub fn stream_added( &self, stream: &CapeStream, _type: CapeStreamType, ) -> Result<(), COBIAError>
pub fn stream_removed( &self, stream: &CapeStream, _type: CapeStreamType, ) -> Result<(), COBIAError>
pub fn stream_renamed<TypeOfOldName: CapeStringProviderIn>( &self, stream: &CapeStream, _type: CapeStreamType, old_name: &TypeOfOldName, ) -> Result<(), COBIAError>
pub fn connection_changed( &self, stream: &CapeStream, _type: CapeStreamType, port: &CapeUnitPort, unit: &CapeUnit, ) -> Result<(), COBIAError>
pub fn flowsheet_solution_status_changed( &self, solution_status: CapeSolutionStatus, ) -> Result<(), COBIAError>
pub fn flowsheet_validation_state_changed( &self, validation_status: CapeValidationStatus, ) -> Result<(), COBIAError>
pub fn next_time_step(&self) -> Result<(), COBIAError>
Trait Implementations§
Source§impl CapeSmartPointer for CapeFlowsheetMonitoringEventSink
impl CapeSmartPointer for CapeFlowsheetMonitoringEventSink
type Interface = _CAPEOPEN_1_2_ICapeFlowsheetMonitoringEventSink
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
Auto Trait Implementations§
impl Freeze for CapeFlowsheetMonitoringEventSink
impl RefUnwindSafe for CapeFlowsheetMonitoringEventSink
impl !Send for CapeFlowsheetMonitoringEventSink
impl !Sync for CapeFlowsheetMonitoringEventSink
impl Unpin for CapeFlowsheetMonitoringEventSink
impl UnwindSafe for CapeFlowsheetMonitoringEventSink
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