Hedgehog  0.0.0
A library to generate hybrid pipeline workflow systems
hh::AbstractScheduler Class Referenceabstract

Abstract Hedgehog Scheduler interface, define per graph how the threads are bound to the nodes. More...

#include "abstract_scheduler.h"

Inheritance diagram for hh::AbstractScheduler:
Inheritance graph
Collaboration diagram for hh::AbstractScheduler:
Collaboration graph

Public Member Functions

 AbstractScheduler ()=default
 Default constructor.
 
virtual ~AbstractScheduler ()=default
 Default destructor.
 
virtual std::unique_ptr< AbstractSchedulercreate () const =0
 Virtual constructor interface. More...
 
virtual void spawnThreads (std::vector< std::shared_ptr< core::CoreNode >> &)=0
 Spawn the threads for the specific graph.
 
virtual void joinAll ()=0
 Join all the graph's thread.
 

Detailed Description

Abstract Hedgehog Scheduler interface, define per graph how the threads are bound to the nodes.

Definition at line 31 of file abstract_scheduler.h.

Member Function Documentation

◆ create()

virtual std::unique_ptr<AbstractScheduler> hh::AbstractScheduler::create ( ) const
pure virtual

Virtual constructor interface.

Returns
A new instance of AbstractScheduler

Implemented in hh::DefaultScheduler.


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