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

The delegate for the blocks registry, allowing to get connections and blocks. More...

#include <IBlocksRegistryDelegate.h>

+ Inheritance diagram for business_logic::calculations::delegate::IBlocksRegistryDelegate:
+ Collaboration diagram for business_logic::calculations::delegate::IBlocksRegistryDelegate:

Public Member Functions

 IBlocksRegistryDelegate ()=default
 
virtual ~IBlocksRegistryDelegate ()=default
 
 IBlocksRegistryDelegate (const IBlocksRegistryDelegate &)=delete
 
IBlocksRegistryDelegateoperator= (const IBlocksRegistryDelegate &)=delete
 
 IBlocksRegistryDelegate (IBlocksRegistryDelegate &&)=delete
 
IBlocksRegistryDelegateoperator= (IBlocksRegistryDelegate &&)=delete
 
virtual const std::vector< std::shared_ptr< business_logic::elements::blocks::BaseBlock > > & getBlocks () const =0
 Gets the blocks.
 
virtual const std::unordered_map< business_logic::elements::structures::BlocksConnectionSide, std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > > & getConnectionsRegistry () const =0
 Gets the connections registry.
 

Detailed Description

The delegate for the blocks registry, allowing to get connections and blocks.

Definition at line 20 of file IBlocksRegistryDelegate.h.

Constructor & Destructor Documentation

◆ IBlocksRegistryDelegate() [1/3]

business_logic::calculations::delegate::IBlocksRegistryDelegate::IBlocksRegistryDelegate ( )
default

◆ ~IBlocksRegistryDelegate()

virtual business_logic::calculations::delegate::IBlocksRegistryDelegate::~IBlocksRegistryDelegate ( )
virtualdefault

◆ IBlocksRegistryDelegate() [2/3]

business_logic::calculations::delegate::IBlocksRegistryDelegate::IBlocksRegistryDelegate ( const IBlocksRegistryDelegate )
delete

◆ IBlocksRegistryDelegate() [3/3]

business_logic::calculations::delegate::IBlocksRegistryDelegate::IBlocksRegistryDelegate ( IBlocksRegistryDelegate &&  )
delete

Member Function Documentation

◆ getBlocks()

virtual const std::vector< std::shared_ptr< business_logic::elements::blocks::BaseBlock > > & business_logic::calculations::delegate::IBlocksRegistryDelegate::getBlocks ( ) const
pure virtual

Gets the blocks.

Returns
The blocks

Implemented in business_logic::BlocksManager.

Referenced by business_logic::calculations::BlocksCalculator::calculateValuesFlow().

+ Here is the caller graph for this function:

◆ getConnectionsRegistry()

virtual const std::unordered_map< business_logic::elements::structures::BlocksConnectionSide, std::unordered_set< business_logic::elements::structures::BlocksConnectionSide > > & business_logic::calculations::delegate::IBlocksRegistryDelegate::getConnectionsRegistry ( ) const
pure virtual

Gets the connections registry.

Returns
The connections registry

Implemented in business_logic::BlocksManager.

Referenced by business_logic::calculations::BlocksCalculator::calculateBlockValues(), and business_logic::calculations::BlocksCalculator::hasCycle().

+ Here is the caller graph for this function:

◆ operator=() [1/2]

IBlocksRegistryDelegate & business_logic::calculations::delegate::IBlocksRegistryDelegate::operator= ( const IBlocksRegistryDelegate )
delete

◆ operator=() [2/2]

IBlocksRegistryDelegate & business_logic::calculations::delegate::IBlocksRegistryDelegate::operator= ( IBlocksRegistryDelegate &&  )
delete

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