|
FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
|
Delegate that manages the lifecycles of blocks. More...
#include <IBlockLifecycleManagerDelegate.h>
Inheritance diagram for business_logic::delegate::IBlockLifecycleManagerDelegate:
Collaboration diagram for business_logic::delegate::IBlockLifecycleManagerDelegate:Public Member Functions | |
| virtual | ~IBlockLifecycleManagerDelegate ()=default |
| virtual void | onPortsConnected (const business_logic::elements::structures::BlocksConnectionSide &source, const business_logic::elements::structures::BlocksConnectionSide &dest)=0 |
| Invoked when a connection is made between two ports + blocks (sides) | |
| virtual bool | hasConnectionBetween (const business_logic::elements::structures::BlocksConnectionSide &source, const business_logic::elements::structures::BlocksConnectionSide &dest) const =0 |
| Checks if there is a connection between two entities. | |
| virtual bool | isInputConnected (const business_logic::elements::structures::BlocksConnectionSide &side) const =0 |
| Checks if the input port is connected to anything. | |
| virtual void | onBlockDeleted (const business_logic::elements::blocks::BaseBlock *block)=0 |
| Called when a block is deleted. | |
Delegate that manages the lifecycles of blocks.
Definition at line 18 of file IBlockLifecycleManagerDelegate.h.
|
virtualdefault |
|
pure virtual |
Checks if there is a connection between two entities.
| source | The source side of the connection |
| dest | The destination side of the connection |
Implemented in business_logic::BlocksManager.
Referenced by business_logic::input::ConnectPortsInteraction::handleUserInteractedWith().
Here is the caller graph for this function:
|
pure virtual |
Checks if the input port is connected to anything.
| side | The side to check |
Implemented in business_logic::BlocksManager.
Referenced by business_logic::elements::blocks::MonitorBlock::getValueToRenderAboveBlock(), and business_logic::input::ConnectPortsInteraction::handleUserInteractedWith().
Here is the caller graph for this function:
|
pure virtual |
Called when a block is deleted.
| block | The block that was deleted |
Implemented in business_logic::BlocksManager.
Referenced by business_logic::elements::blocks::BaseBlock::~BaseBlock().
Here is the caller graph for this function:
|
pure virtual |
Invoked when a connection is made between two ports + blocks (sides)
| source | The source side of the connection |
| dest | The destination side of the connection |
Implemented in business_logic::BlocksManager.
Referenced by business_logic::input::ConnectPortsInteraction::handleUserInteractedWith().
Here is the caller graph for this function: