Panda3D
 All Classes Functions Variables Enumerations
pStatViewLevel.I
1 // Filename: pStatViewLevel.I
2 // Created by: drose (19Jul00)
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: PStatViewLevel::get_collector
18 // Access: Public
19 // Description: Returns the Collector index associated with this
20 // level.
21 ////////////////////////////////////////////////////////////////////
22 INLINE int PStatViewLevel::
23 get_collector() const {
24  return _collector;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: PStatViewLevel::get_value_alone
29 // Access: Public
30 // Description: Returns the total level value (or elapsed time value)
31 // for this Collector, not including any values
32 // accounted for by its child Collectors.
33 ////////////////////////////////////////////////////////////////////
34 INLINE double PStatViewLevel::
35 get_value_alone() const {
36  return _value_alone;
37 }
double get_value_alone() const
Returns the total level value (or elapsed time value) for this Collector, not including any values ac...
int get_collector() const
Returns the Collector index associated with this level.