pub trait ICapeFlowsheetMonitoringEventSink {
// Required methods
fn unit_operation_added(&mut self, unit: CapeUnit) -> Result<(), COBIAError>;
fn unit_operation_removed(
&mut self,
unit: CapeUnit,
) -> Result<(), COBIAError>;
fn unit_operation_renamed(
&mut self,
unit: CapeUnit,
old_name: &CapeStringIn<'_>,
) -> Result<(), COBIAError>;
fn stream_added(
&mut self,
stream: CapeStream,
_type: CapeStreamType,
) -> Result<(), COBIAError>;
fn stream_removed(
&mut self,
stream: CapeStream,
_type: CapeStreamType,
) -> Result<(), COBIAError>;
fn stream_renamed(
&mut self,
stream: CapeStream,
_type: CapeStreamType,
old_name: &CapeStringIn<'_>,
) -> Result<(), COBIAError>;
fn connection_changed(
&mut self,
stream: CapeStream,
_type: CapeStreamType,
port: CapeUnitPort,
unit: CapeUnit,
) -> Result<(), COBIAError>;
fn flowsheet_solution_status_changed(
&mut self,
solution_status: CapeSolutionStatus,
) -> Result<(), COBIAError>;
fn flowsheet_validation_state_changed(
&mut self,
validation_status: CapeValidationStatus,
) -> Result<(), COBIAError>;
fn next_time_step(&mut self) -> Result<(), COBIAError>;
}Expand description
ICapeFlowsheetMonitoringEventSink
ICapeFlowsheetMonitoringEventSink interface