i6engine  1.0
i6e::core::Scheduler< ClockUpdater >::Job Struct Reference

this struct represents a single timer event More...

#include <D:/Projekte/i6engine/libs/i6engine-core/include/i6engine/core/clock/Scheduler.h>

Public Member Functions

 Job (const boost::function< bool(void)> &f, uint64_t t, JobPriorities p, uint64_t d, uint64_t i=UINT64_MAX)
 constructor of the timer More...
 
bool operator< (const Job &other) const
 operator for lower than, needed for priority_queue More...
 

Public Attributes

boost::function< bool(void)> func
 method called by this timer More...
 
uint64_t time
 time this job will be scheduled More...
 
JobPriorities priority
 priority of this job More...
 
uint64_t interval
 interval in which this job is repeated, LONG_MAX if only once More...
 
uint64_t id
 id of this job More...
 

Detailed Description

template<class ClockUpdater>
struct i6e::core::Scheduler< ClockUpdater >::Job

this struct represents a single timer event

Definition at line 48 of file Scheduler.h.

Constructor & Destructor Documentation

template<class ClockUpdater>
i6e::core::Scheduler< ClockUpdater >::Job::Job ( const boost::function< bool(void)> &  f,
uint64_t  t,
JobPriorities  p,
uint64_t  d,
uint64_t  i = UINT64_MAX 
)
inline

constructor of the timer

Definition at line 52 of file Scheduler.h.

Member Function Documentation

template<class ClockUpdater>
bool i6e::core::Scheduler< ClockUpdater >::Job::operator< ( const Job other) const
inline

operator for lower than, needed for priority_queue

Definition at line 83 of file Scheduler.h.

Member Data Documentation

template<class ClockUpdater>
boost::function<bool(void)> i6e::core::Scheduler< ClockUpdater >::Job::func

method called by this timer

Definition at line 58 of file Scheduler.h.

template<class ClockUpdater>
uint64_t i6e::core::Scheduler< ClockUpdater >::Job::id

id of this job

Definition at line 78 of file Scheduler.h.

template<class ClockUpdater>
uint64_t i6e::core::Scheduler< ClockUpdater >::Job::interval

interval in which this job is repeated, LONG_MAX if only once

Definition at line 73 of file Scheduler.h.

template<class ClockUpdater>
JobPriorities i6e::core::Scheduler< ClockUpdater >::Job::priority

priority of this job

Definition at line 68 of file Scheduler.h.

template<class ClockUpdater>
uint64_t i6e::core::Scheduler< ClockUpdater >::Job::time

time this job will be scheduled

Definition at line 63 of file Scheduler.h.


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