Panda3D
recorderHeader.I
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 recorderHeader.I
10  * @author drose
11  * @date 2004-01-29
12  */
13 
14 /**
15  *
16  */
17 INLINE RecorderHeader::
18 RecorderHeader() {
19  time(&_start_time);
20  _random_seed = (int)_start_time;
21 }
22 
23 /**
24  *
25  */
26 INLINE RecorderHeader::
27 RecorderHeader(const RecorderHeader &copy) :
28  _start_time(copy._start_time),
29  _random_seed(copy._random_seed)
30 {
31 }
32 
33 /**
34  *
35  */
36 INLINE void RecorderHeader::
37 operator = (const RecorderHeader &copy) {
38  _start_time = copy._start_time;
39  _random_seed = copy._random_seed;
40 }
41 
42 /**
43  *
44  */
45 INLINE RecorderHeader::
46 ~RecorderHeader() {
47 }
This object contains the header information written out at the beginning of a recorded session file.