FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
IBlocksRegistryDelegate.h
Go to the documentation of this file.
1#ifndef IBLOCKS_REGISTRY_DELEGATE_H
2#define IBLOCKS_REGISTRY_DELEGATE_H
3
4#include <memory>
5#include <unordered_map>
6#include <unordered_set>
7#include <vector>
8
10
21 public:
23 virtual ~IBlocksRegistryDelegate() = default;
24
25 // disable copy semantics
28
29 // disable move semantics
32
37 virtual const std::vector<std::shared_ptr<business_logic::elements::blocks::BaseBlock>>&
38 getBlocks() const = 0;
39
44 virtual const std::unordered_map<
46 std::unordered_set<business_logic::elements::structures::BlocksConnectionSide>>&
48 };
49
50} // namespace business_logic::calculations::delegate
51#endif // IBLOCKS_REGISTRY_DELEGATE_H
The delegate for the blocks registry, allowing to get connections and blocks.
IBlocksRegistryDelegate & operator=(IBlocksRegistryDelegate &&)=delete
IBlocksRegistryDelegate(const 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.
IBlocksRegistryDelegate & operator=(const IBlocksRegistryDelegate &)=delete
Calculations delegates, used for other classes to access an exposed subset of functionalities from th...