AERA
Public Member Functions | Public Attributes | List of all members
r_exec::InjectionJob Class Reference

#include <time_job.h>

Inheritance diagram for r_exec::InjectionJob:
r_exec::TimeJob core::_Object

Public Member Functions

 InjectionJob (View *v, Timestamp target_time, bool is_from_io_device)
 
bool update (Timestamp &next_target) override
 
void report (int64 lag) const
 
- Public Member Functions inherited from r_exec::TimeJob
virtual bool is_alive () const
 
virtual void report (std::chrono::microseconds lag) const
 
uint32 get_job_id () const
 
- Public Member Functions inherited from core::_Object
void incRef ()
 
virtual void decRef ()
 

Public Attributes

P< Viewview_
 
bool is_from_io_device_
 
- Public Attributes inherited from r_exec::TimeJob
Timestamp target_time_
 

Additional Inherited Members

- Protected Member Functions inherited from r_exec::TimeJob
 TimeJob (Timestamp target_time)
 
- Protected Attributes inherited from core::_Object
std::atomic_int32_t refCount_
 

Detailed Description

InjectionJob extends TimeJob to inject a View at a later time.

Definition at line 162 of file time_job.h.

Constructor & Destructor Documentation

◆ InjectionJob()

r_exec::InjectionJob::InjectionJob ( View v,
Timestamp  target_time,
bool  is_from_io_device 
)

Create an InjectionJob to call Mem::Get()->inject(view) at the target_time.

Parameters
vThe View for calling inject.
target_timeThe target time for the TimeJob.
is_from_io_deviceTrue if this is called from inject_from_io_device(). This is only needed so that this will log the I/O device inject.

Definition at line 190 of file time_job.cpp.


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