job Class Reference

List of all members.

Static Public Member Functions

static mixed terminate (mixed jobid)
static mixed prio_cmp (mixed a, mixed b)
static mixed status (mixed job_id)
 status of the given job (see coroutine.status)
static mixed create (mixed job_fun, mixed callback_fun, mixed priority)
static mixed create_low_prio (mixed priority, mixed job_fun, mixed callback_fun)
 this job is only executed if there is enough time left in the frame
static mixed internal_handle_resume_error (mixed v, mixed status, mixed r)
static mixed wakeup (mixed jobid)
static mixed bind_viability (mixed jobid, mixed object)
static mixed wait (mixed timeout_in_ms)


Detailed Description

Definition at line 6409 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed job::terminate ( mixed  jobid  )  [inline, static]

Definition at line 6411 of file lua_pseudo_code.cpp.

static mixed job::prio_cmp ( mixed  a,
mixed  b 
) [inline, static]

Definition at line 6413 of file lua_pseudo_code.cpp.

static mixed job::status ( mixed  job_id  )  [inline, static]

status of the given job (see coroutine.status)

Definition at line 6416 of file lua_pseudo_code.cpp.

static mixed job::create ( mixed  job_fun,
mixed  callback_fun,
mixed  priority 
) [inline, static]

creates and runs a function as a job and returns the job_id higher priority == more important job if priority == nil then the job runs every frame otherwise only if there is enough time left in the current frame

Definition at line 6422 of file lua_pseudo_code.cpp.

static mixed job::create_low_prio ( mixed  priority,
mixed  job_fun,
mixed  callback_fun 
) [inline, static]

this job is only executed if there is enough time left in the frame

Definition at line 6425 of file lua_pseudo_code.cpp.

static mixed job::internal_handle_resume_error ( mixed  v,
mixed  status,
mixed  r 
) [inline, static]

Definition at line 6427 of file lua_pseudo_code.cpp.

static mixed job::wakeup ( mixed  jobid  )  [inline, static]

Definition at line 6429 of file lua_pseudo_code.cpp.

static mixed job::bind_viability ( mixed  jobid,
mixed  object 
) [inline, static]

the job gets executed as long as the given object is alive use this with jobs that depends on object and should get killed if object is not alive anymore

Definition at line 6434 of file lua_pseudo_code.cpp.

static mixed job::wait ( mixed  timeout_in_ms  )  [inline, static]

Definition at line 6436 of file lua_pseudo_code.cpp.


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

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6