Grok 20.3.2
grk::SchedulerExcalibur Class Reference

abstract class to graph and execute T1 tasks for windowed tile More...

#include <SchedulerExcalibur.h>

Inheritance diagram for grk::SchedulerExcalibur:
grk::CodecScheduler FlowComponent grk::CompressSchedulerExcalibur grk::DecompressSchedulerExcalibur

Public Member Functions

 SchedulerExcalibur (uint16_t numComps)
 Constructs a SchedulerExcalibur.
virtual ~SchedulerExcalibur ()
 Destroys a SchedulerExcalibur.
Public Member Functions inherited from grk::CodecScheduler
 CodecScheduler (uint16_t numComps)
 Contructs a CodecScheduler.
virtual ~CodecScheduler ()
 Destroys a CodecScheduler.
virtual bool scheduleT1 (ITileProcessor *proc)=0
 Schedules all T1 tasks for a ITileProcessor.
void run (void)
 Runs tf::Executor.
bool wait (void)
 Waits for tf::Executor to complete.
virtual void release (void)=0
 Releases Taskflow resources.
Public Member Functions inherited from FlowComponent
void addTo (tf::Taskflow &composition)
 Composes this FlowComponent's tf::Taskflow with another tf::Taskflow.
void precede (FlowComponent &successor)
 Schedule this FlowComponent before another FlowComponent.
void precede (tf::Task &successor)
 Schedule this Taskflow before another FlowComponent.
tf::Task & getCompositionTask (void)
void conditional_precede (FlowComponent *root, FlowComponent *successor, std::function< int()> condition_lambda)
 Conditionally schedule successor based on condition_lambda.
FlowComponentname (const std::string &name)
 Gets name of composition task.
tf::Task & nextTask ()
 Gets next task placeholder for componentFlow_.

Additional Inherited Members

Protected Member Functions inherited from grk::CodecScheduler
void releaseCoders (void)
Protected Attributes inherited from grk::CodecScheduler
std::atomic_bool success_
 atomic tracking of compress/decompress success
uint16_t numcomps_
 number of components
std::vector< t1::ICoder * > coders_
 pool of ICoder
tf::Future< void > runFuture_
 tf::Future<void> resulting from running scheduler

Detailed Description

abstract class to graph and execute T1 tasks for windowed tile

Task scheduling will be performed by derived classes

Constructor & Destructor Documentation

◆ SchedulerExcalibur()

grk::SchedulerExcalibur::SchedulerExcalibur ( uint16_t numComps)
explicit

◆ ~SchedulerExcalibur()

grk::SchedulerExcalibur::~SchedulerExcalibur ( )
virtual

Destroys a SchedulerExcalibur.


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