Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions
AsyncTaskPause Class Reference

A special kind of task that simple returns DS_pause, to pause for a specified number of seconds and then finish. More...

#include "asyncTaskPause.h"

Inheritance diagram for AsyncTaskPause:
AsyncTask AsyncTaskBase TypedReferenceCount Namable TypedObject ReferenceCount MemoryBase MemoryBase MemoryBase

List of all members.

Public Member Functions

 AsyncTaskPause (double delay)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Protected Member Functions

virtual DoneStatus do_task ()
 Override this function to do something useful for the task.

Detailed Description

A special kind of task that simple returns DS_pause, to pause for a specified number of seconds and then finish.

It's intended to be used within an AsyncTaskSequence.

Definition at line 31 of file asyncTaskPause.h.


Member Function Documentation

AsyncTask::DoneStatus AsyncTaskPause::do_task ( ) [protected, virtual]

Override this function to do something useful for the task.

This function is called with the lock *not* held.

Reimplemented from AsyncTask.

Definition at line 40 of file asyncTaskPause.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations