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