Panda3D
 All Classes Functions Variables Enumerations
dataGraphTraverser.I
1 // Filename: dataGraphTraverser.I
2 // Created by: drose (11Mar02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: DataGraphTraverser::get_current_thread
18 // Access: Public
19 // Description: Returns the currently-executing thread object, as
20 // passed to the DataGraphTraverser constructor.
21 ////////////////////////////////////////////////////////////////////
24  return _current_thread;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: DataGraphTraverser::CollectedData::Constructor
29 // Access: Public
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE DataGraphTraverser::CollectedData::
33 CollectedData() :
34  _num_parents(0)
35 {
36 }
A thread; that is, a lightweight process.
Definition: thread.h:51
Thread * get_current_thread() const
Returns the currently-executing thread object, as passed to the DataGraphTraverser constructor...