FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
business_logic::delegate::INewBlockChoiceDelegate Class Referenceabstract

Delegate that is notified when a new block is chosen to be added to the canvas. More...

#include <INewBlockChoiceDelegate.h>

+ Inheritance diagram for business_logic::delegate::INewBlockChoiceDelegate:
+ Collaboration diagram for business_logic::delegate::INewBlockChoiceDelegate:

Public Member Functions

virtual ~INewBlockChoiceDelegate ()=default
 
virtual void onNewBlockChoice (const business_logic::elements::blocks::BlockType &blockType)=0
 Called when a new block is chosen.
 

Detailed Description

Delegate that is notified when a new block is chosen to be added to the canvas.

Definition at line 10 of file INewBlockChoiceDelegate.h.

Constructor & Destructor Documentation

◆ ~INewBlockChoiceDelegate()

virtual business_logic::delegate::INewBlockChoiceDelegate::~INewBlockChoiceDelegate ( )
virtualdefault

Member Function Documentation

◆ onNewBlockChoice()

virtual void business_logic::delegate::INewBlockChoiceDelegate::onNewBlockChoice ( const business_logic::elements::blocks::BlockType blockType)
pure virtual

Called when a new block is chosen.

Parameters
blockTypeThe type of the block that was chosen

Implemented in business_logic::BlocksManager.


The documentation for this class was generated from the following file: