Hedgehog  0.0.0
A library to generate hybrid pipeline workflow systems
hh::behavior::SwitchRule< GraphInput > Class Template Referenceabstract

Behavior definition for dispatching data to a Graph managed by an AbstractExecutionPipeline. More...

#include "switch_rule.h"

Inheritance diagram for hh::behavior::SwitchRule< GraphInput >:
Inheritance graph
Collaboration diagram for hh::behavior::SwitchRule< GraphInput >:
Collaboration graph

Public Member Functions

virtual bool sendToGraph (std::shared_ptr< GraphInput > &data, size_t const &graphId)=0
 Switch rule to determine if data should be sent to the graph graphId managed by an AbstractExecutionPipeline. More...
 

Detailed Description

template<class GraphInput>
class hh::behavior::SwitchRule< GraphInput >

Behavior definition for dispatching data to a Graph managed by an AbstractExecutionPipeline.

Template Parameters
GraphInputInput data type

Definition at line 30 of file switch_rule.h.

Member Function Documentation

◆ sendToGraph()

template<class GraphInput>
virtual bool hh::behavior::SwitchRule< GraphInput >::sendToGraph ( std::shared_ptr< GraphInput > &  data,
size_t const &  graphId 
)
pure virtual

Switch rule to determine if data should be sent to the graph graphId managed by an AbstractExecutionPipeline.

Parameters
dataData to be sent to Graph graphId
graphIdGraph Id
Returns
True if the data should be sent to the Graph graphId, else False

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