Panda3D
Loading...
Searching...
No Matches
asyncTaskPause.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file asyncTaskPause.cxx
10 * @author drose
11 * @date 2008-10-04
12 */
13
14#include "asyncTaskPause.h"
15
16TypeHandle AsyncTaskPause::_type_handle;
17
18/**
19 *
20 */
21AsyncTaskPause::
22AsyncTaskPause(double delay) :
23 AsyncTask("pause")
24{
25 set_delay(delay);
26}
27
28/**
29 * Override this function to do something useful for the task.
30 *
31 * This function is called with the lock *not* held.
32 */
33AsyncTask::DoneStatus AsyncTaskPause::
34do_task() {
35 return DS_pause;
36}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class represents a concrete task performed by an AsyncManager.
Definition asyncTask.h:32
TypeHandle is the identifier used to differentiate C++ class types.
Definition typeHandle.h:81