Panda3D
auxSceneData.cxx
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 auxSceneData.cxx
10  * @author drose
11  * @date 2004-09-27
12  */
13 
14 #include "auxSceneData.h"
15 #include "indent.h"
16 
17 TypeHandle AuxSceneData::_type_handle;
18 
19 /**
20  *
21  */
22 void AuxSceneData::
23 output(std::ostream &out) const {
24  out << get_type() << " expires " << get_expiration_time();
25 }
26 
27 /**
28  *
29  */
30 void AuxSceneData::
31 write(std::ostream &out, int indent_level) const {
32  indent(out, indent_level) << *this << "\n";
33 }
double get_expiration_time() const
Returns the frame_time at which this AuxSceneData object is currently scheduled to be removed from th...
Definition: auxSceneData.I:67
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition: indent.cxx:20
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.