1#ifndef IBLOCKS_REGISTRY_DELEGATE_H
2#define IBLOCKS_REGISTRY_DELEGATE_H
5#include <unordered_map>
6#include <unordered_set>
37 virtual const std::vector<std::shared_ptr<business_logic::elements::blocks::BaseBlock>>&
44 virtual const std::unordered_map<
46 std::unordered_set<business_logic::elements::structures::BlocksConnectionSide>>&
The delegate for the blocks registry, allowing to get connections and blocks.
virtual ~IBlocksRegistryDelegate()=default
IBlocksRegistryDelegate & operator=(IBlocksRegistryDelegate &&)=delete
IBlocksRegistryDelegate()=default
IBlocksRegistryDelegate(const IBlocksRegistryDelegate &)=delete
virtual const std::vector< std::shared_ptr< business_logic::elements::blocks::BaseBlock > > & getBlocks() const =0
Gets the blocks.
IBlocksRegistryDelegate(IBlocksRegistryDelegate &&)=delete
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.
IBlocksRegistryDelegate & operator=(const IBlocksRegistryDelegate &)=delete
Calculations delegates, used for other classes to access an exposed subset of functionalities from th...
A side of a connection between two ports.