OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PipelineHandler.h
Go to the documentation of this file.
1#pragma once
2#include <list>
3
4#include "EntityBlock.h"
6#include "GraphNode.h"
7#include "BlockHandler.h"
8//#include "Pipeline.h"
9//
11{
12public:
13 void RunAll(const std::list < std::shared_ptr<GraphNode>>& rootNodes, const std::map<ot::UID, std::shared_ptr<GraphNode>>& graphNodesByBlockID, std::map<ot::UID, std::shared_ptr<EntityBlock>>& allBlockEntitiesByBlockID);
14
15private:
16 std::map<std::shared_ptr<GraphNode>, std::shared_ptr<BlockHandler>> _blockHandlerByGraphNode;
17
18 void initiate(const std::map<ot::UID, std::shared_ptr<GraphNode>>& graphNodesByBlockID, std::map<ot::UID, std::shared_ptr<EntityBlock>>& allBlockEntitiesByBlockID);
19 std::shared_ptr<BlockHandler> createBlockHandler(std::shared_ptr<EntityBlock> blockEntity);
20};
Common methods for all central service handler classes.
Definition BusinessLogicHandler.h:16
Definition PipelineHandler.h:11
void RunAll(const std::list< std::shared_ptr< GraphNode > > &rootNodes, const std::map< ot::UID, std::shared_ptr< GraphNode > > &graphNodesByBlockID, std::map< ot::UID, std::shared_ptr< EntityBlock > > &allBlockEntitiesByBlockID)
Definition PipelineHandler.cpp:20
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27