Panda3D
pStatCollectorForward.I
1 // Filename: pStatCollectorForward.I
2 // Created by: drose (30Oct06)
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: PStatCollectorForward::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE PStatCollectorForward::
22 PStatCollectorForward(const PStatCollector &col)
23 #ifdef DO_PSTATS
24  : _col(col)
25 #endif // DO_PSTATS
26 {
27 }
28 
A lightweight class that represents a single element that may be timed and/or counted via stats...