Compute Library
 22.11
ISchedulerUser Class Referenceabstract

Scheduler user interface. More...

#include <SchedulerTimer.h>

Public Member Functions

virtual ~ISchedulerUser ()=default
 Default Destructor. More...
 
virtual void intercept_scheduler (std::unique_ptr< IScheduler > interceptor)=0
 Intercept the scheduler used by. More...
 
virtual void restore_scheduler ()=0
 Restore the original scheduler. More...
 
virtual ISchedulerscheduler ()=0
 Real scheduler accessor. More...
 

Detailed Description

Scheduler user interface.

Definition at line 42 of file SchedulerTimer.h.

Constructor & Destructor Documentation

◆ ~ISchedulerUser()

virtual ~ISchedulerUser ( )
virtualdefault

Default Destructor.

Member Function Documentation

◆ intercept_scheduler()

virtual void intercept_scheduler ( std::unique_ptr< IScheduler interceptor)
pure virtual

Intercept the scheduler used by.

Parameters
interceptorIntercept the scheduler used by the scheduler user.

Implemented in ContextSchedulerUser.

Referenced by SchedulerClock< output_timestamps >::test_start().

◆ restore_scheduler()

virtual void restore_scheduler ( )
pure virtual

Restore the original scheduler.

Implemented in ContextSchedulerUser.

Referenced by SchedulerClock< output_timestamps >::test_stop().

◆ scheduler()

virtual IScheduler* scheduler ( )
pure virtual

Real scheduler accessor.

Returns
The real scheduler

Implemented in ContextSchedulerUser.

Referenced by SchedulerClock< output_timestamps >::test_start().


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