replicode
Public Member Functions | Public Attributes | List of all members
r_exec::MonitoringJob< M > Class Template Reference

#include <time_job.h>

Inheritance diagram for r_exec::MonitoringJob< M >:
Inheritance graph
Collaboration diagram for r_exec::MonitoringJob< M >:
Collaboration graph

Public Member Functions

 MonitoringJob (M *monitor, uint64_t deadline)
 
bool update ()
 
virtual bool shouldRunAgain () const
 
bool is_alive () const
 
void report (int64_t lag) const
 
- Public Member Functions inherited from core::_Object
virtual ~_Object ()
 
void incRef ()
 
virtual void decRef ()
 

Public Attributes

P< M > monitor
 
- Public Attributes inherited from r_exec::TimeJob
uint64_t target_time
 

Additional Inherited Members

- Protected Member Functions inherited from r_exec::TimeJob
 TimeJob (uint64_t target_time)
 
- Protected Member Functions inherited from core::_Object
 _Object ()
 
- Protected Attributes inherited from core::_Object
std::atomic_int_fast64_t refCount
 

Constructor & Destructor Documentation

template<class M>
r_exec::MonitoringJob< M >::MonitoringJob ( M *  monitor,
uint64_t  deadline 
)
inline

Member Function Documentation

template<class M>
bool r_exec::MonitoringJob< M >::is_alive ( ) const
inlinevirtual

Reimplemented from r_exec::TimeJob.

template<class M>
void r_exec::MonitoringJob< M >::report ( int64_t  lag) const
inlinevirtual

Reimplemented from r_exec::TimeJob.

Here is the call graph for this function:

template<class M>
virtual bool r_exec::MonitoringJob< M >::shouldRunAgain ( ) const
inlinevirtual

Reimplemented from r_exec::TimeJob.

template<class M>
bool r_exec::MonitoringJob< M >::update ( )
inlinevirtual

Implements r_exec::TimeJob.

Member Data Documentation

template<class M>
P<M> r_exec::MonitoringJob< M >::monitor

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