Hedgehog  3.1.0
A library to generate hybrid pipeline workflow systems
Loading...
Searching...
No Matches
hh::core::abstraction::ExecuteAbstraction< Input > Class Template Reference

Core execute abstraction, interface to user-defined execution. More...

#include "execute_abstraction.h"

Inheritance diagram for hh::core::abstraction::ExecuteAbstraction< Input >:
Inheritance graph
Collaboration diagram for hh::core::abstraction::ExecuteAbstraction< Input >:
Collaboration graph

Public Member Functions

 ExecuteAbstraction (std::shared_ptr< implementor::ImplementorExecute< Input > > concreteExecute)
 Constructor using a user-defined execution.
 
virtual ~ExecuteAbstraction ()=default
 Default destructor.
 
void callExecute (std::shared_ptr< Input > data)
 Interface for calling user-defined execution.
 

Private Attributes

std::shared_ptr< implementor::ImplementorExecute< Input > > const concreteExecute_ = nullptr
 Pointer to user-defined execution.
 

Detailed Description

template<class Input>
class hh::core::abstraction::ExecuteAbstraction< Input >

Core execute abstraction, interface to user-defined execution.

Template Parameters
InputType of data used to do the computation

Definition at line 37 of file execute_abstraction.h.

Constructor & Destructor Documentation

◆ ExecuteAbstraction()

template<class Input >
hh::core::abstraction::ExecuteAbstraction< Input >::ExecuteAbstraction ( std::shared_ptr< implementor::ImplementorExecute< Input > >  concreteExecute)
inlineexplicit

Constructor using a user-defined execution.

Parameters
concreteExecuteUser-defined execution

Definition at line 45 of file execute_abstraction.h.

◆ ~ExecuteAbstraction()

template<class Input >
virtual hh::core::abstraction::ExecuteAbstraction< Input >::~ExecuteAbstraction ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ callExecute()

template<class Input >
void hh::core::abstraction::ExecuteAbstraction< Input >::callExecute ( std::shared_ptr< Input >  data)
inline

Interface for calling user-defined execution.

Parameters
dataData used to do the computation

Definition at line 53 of file execute_abstraction.h.

Here is the caller graph for this function:

Member Data Documentation

◆ concreteExecute_

template<class Input >
std::shared_ptr<implementor::ImplementorExecute<Input> > const hh::core::abstraction::ExecuteAbstraction< Input >::concreteExecute_ = nullptr
private

Pointer to user-defined execution.

Definition at line 40 of file execute_abstraction.h.