scripting::TimeScheduler::ScheduleEntry Struct Reference

List of all members.

Public Member Functions

bool operator< (const ScheduleEntry &other) const

Public Attributes

HSQOBJECT thread_ref
 weak reference to the squirrel vm object
float wakeup_time
 time when the thread should be woken up

Detailed Description

Definition at line 40 of file time_scheduler.hpp.


Member Function Documentation

bool scripting::TimeScheduler::ScheduleEntry::operator< ( const ScheduleEntry other  )  const [inline]

Definition at line 46 of file time_scheduler.hpp.

References wakeup_time.

00047     {
00048       // we need the smallest value on top
00049       return wakeup_time > other.wakeup_time;
00050     }


Member Data Documentation

HSQOBJECT scripting::TimeScheduler::ScheduleEntry::thread_ref

weak reference to the squirrel vm object

Definition at line 42 of file time_scheduler.hpp.

Referenced by scripting::TimeScheduler::schedule_thread().

float scripting::TimeScheduler::ScheduleEntry::wakeup_time

time when the thread should be woken up

Definition at line 44 of file time_scheduler.hpp.

Referenced by operator<(), and scripting::TimeScheduler::schedule_thread().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 9 03:38:40 2014 for SuperTux by  doxygen 1.5.1